cancel
Showing results for 
Search instead for 
Did you mean: 

Credit Balance Check at Sales Order

venkateswaran_k
Active Contributor
0 Kudos

Dear All

I need to put an extra validation and Warning message apart from the Regular credit control check while Saving the Sales Order.  The Requiremetn is such that my customer having business with our multiple line of business ( Divisions).  They may be having Over credit balance in one division but for another division they may be paying regularly.  So while creating the sales order it should not stop instead it may provide appropriate message and with popup of askng user to take a decision.

So We would like to achieve this by a Exit.

Following exits were identified

  USER_CREDIT_CHECK1 ,

  USER_CREDIT_CHECK2,

  USER_CREDIT_CHECK3.

However, I am not able to get the Actual order amount that they entered at this point of exit.  So that I can compare and display appropriate message.

Is there any other exit, say at the time of Saving, I can do the same and prompt the user with message.

Kindly help

Regards,

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Shiva_Ram
Active Contributor
0 Kudos

Check with USEREXIT_REFRESH_DOCUMENT in program MV45AFZA or USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ

Regards,

0 Kudos

Can anyone explain how to do it in USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ

regards