Skip to Content

Internal error (512) occurred [Message 131-183]

error.jpg

I am adding a sales order. S1G088P04 is inventory item and RVN0011 is non-inventory item. RVN0011 is service item and I have defined SAC code for it. When I add this sales order, it gives me following error -

Internal error (512) occurred [Message 131-183]

You can view the error in the attachment.

error.jpg (260.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 23, 2020 at 01:50 PM

    Hi,

    Check in the DEMO Database whether you can reproduce the error with similar Item rows.

    Also, test the issue by commenting on additional code if any in the SP_TransactionNotification Code & SP_TransactionNotice and see if still the error appears.

    Kind regards,

    Jitin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2020 at 05:37 AM

    Dear Jitin,

    Thanks for spending your valuable time in resolving my problem. The problem was created by SP_TransactionNotification. I am validating sales order. This query is creating problem,

    Declare @strGLName AS NVARCHAR(200)
    SET @strGLName=(SELECT OACT.AcctName FROM RDR1 INNER JOIN OACT ON RDR1.AcctCode=OACT.AcctCode WHERE DocEntry=@list_of_cols_val_tab_del) 
    

    What is the problem in this query ? When it executes it gives error in sales order as,

    Internal error (512) occurred [Message 131-183]

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2020 at 09:53 AM

    Hi,

    Share here the complete transaction notification for sales order to check.

    Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2020 at 04:47 AM

    Dear Nagarajan,

    Above query worked when only one item was added in sales order. When multiple items were added it gave error. So I used cursor instead of this query and the problem was resolved.

    Jitin and Nagarajan , thanks for helping me in resolving this problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.