Error Creating Invoice in NAV with Discount

Creating a Invoice in NAV with a discount shown as a negative quanity. The insert operation fails on error:

" Prepmt. Line Ammount cannot be -20 in Sales Line Document
Type='Invoice',Document No.='ORD-01078-TKQVNB',Line No.='150000'.

Factors:
- Based on the NAV template, the integration works in all other respects.
- The error ONLY occurs when a negative is attempted. In this case, the
quantity is negative, but the price is positive.
- The same fields entered work on the same customer when entering using
the NAV client software (including negative quantities).

The Validation Rules table for Sale Line has the following entries in the Field Override Column.

5,6,5705,130,107,108,5402,90,6608,7,5403,96,42,7002,5407,22,27,15,I,23,86,
85,87,103,30,28,109,110,32,69,18,17,121,5800,5790,5791,5794,5795,10,5796,5
797,5792,52,5793,97,98,5602,5613,5612,5811,40,41,74,75,89,U

Posted by Patty F. on Feb 23 2011 2:19PM { U26 , F4 , T1828 , C5666 }

(1) Answer

Login