on 11-06-2013 9:11 AM
hello friends,
User created a quantity contract for a party.With reference to contract sales order created and all the data copied from contract to order with sold to party in uneditable mode.Now user deleted all the line item in the sales order and sold to party become editable and user change the sold to party and again enter the line items in order.
How to stop this??
Reagrds
Hello,
using Sales Order's user exit, for instance USEREXIT_CHECK_VBAK, you can try to check that if the Sold-to-Party of the Sales order is different from the Sold-To-party of the contract, an error message is issued. Since the latter is created with reference to the former, you should have on-line all the data required. You can control that also with the USEREXIT_SAVE_DOCUMENT_PREPARE.
Best regards,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If standard routine 001 is assigned at header level in VTAA for the field "Copying requirements", I dont think, this is possible even if users deletes the line item. Check any user exit is causing the issue.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
Are you trying to control the user from deleting the line item from Sales Order or editing the Sold to Party?
We could restrict this by setting authorization to user.
Regards,
Sharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.