E9.2 credit hold code on line level


We wish to setup a credit hold code by line level
Held Orders Code is set to C1 on Customer Billing Instruction Page 2.The Processing option of P4211 is also set to C1 for credit hold.
On order hold Information program, we changed the Code Type from O (order) to L (line Basis)
But orders don't go on hold
Any idea what's going on ?


Hi DNadeau,

Credit holds in standard JDE are hard coded in JDE to apply to the order header, not orderlines.

A possible workaround is to add an extra order status of say 539, then write a table trigger to check the credit limit and move the orderline to 540 status if the orderline is not going to exceed the credit limit for that customer. It would remain at 539 status on hold otherwise.