discount calculation

i’m running nav us 3.1. i’m trying to set up discount which are fixed amount. there is a field in the sales header called invoice discount calculation to select by % or Amount. i tried to set it through our external sales order entry program but when i do a calculate discount, it is reset to %. any idea will be greatly appreciated? thanks, jane

Those (Invoice discount calculation and invoice discount value) fields are not editables, and are calculated by the program based on the customer invoice discounts, not from the invoice discounts themselves. For doing what you seem to try, you’ve to play a bit with codeunits. Regards