Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding negative billing

Former Member
0 Likes
350

Hi Friends,

We have two discounts one for 1.spare discount(k021), and another 2.billing discount(k022),

1.when we r maintaining spare dicount in sales order with the value more then basic price value

then netvalue becomeing negative, then system showing error "pricing error(negative).then system not allow to save sales order

2.when we r maintaining billing discount in sales order with the value more than basic value, then net value becoming negative, then system is not showing error and allow to save sales order, delivery, and billing and allow to posting to accounting with negative value.

now our requirement is system has to show error and not allow to save order in case of biilling discount (k022)also

y system is show error in case of spare discount and not in case of billing discount, where is the configuration diff, and wat changes we hav to do for billing disc condition type(k022) for not allowing negative billing

plz reply soon

Hi Friends,

We have two discounts one for 1.spare discount(k021), and another 2.billing discount(k022),

1.when we r maintaining spare dicount in sales order with the value more then basic price value

then netvalue becomeing negative, then system showing error "pricing error(negative).then system not allow to save sales order

2.when we r maintaining billing discount in sales order with the value more than basic value, then net value becoming negative, then system is not showing error and allow to save sales order, delivery, and billing and allow to posting to accounting with negative value.

now our requirement is system has to show error and not allow to save order in case of biilling discount (k022)also

y system is show error in case of spare discount and not in case of billing discount, where is the configuration diff, and wat changes we hav to do for billing disc condition type(k022) for not allowing negative billing

plz reply soon

1 REPLY 1
Read only

Former Member
0 Likes
321

Hi Venkata,

I think you need to error out explicitly for the second case by writing code in user-exit of the sales order may be in USER_EXIT_SAVE_DOCUMENT_PREPARE.

regards,

Tanmay