PdcPurchaseInvoiceLine.Amount: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:


== Notes ==
== Notes ==
Returns or sets the total amount for the invoice line. When setting this property, set this after you've set the line's quantity! If not, the amount will be used as unitprice.
Returns or sets the total amount for the invoice line.<br>
When setting this property:<br>
1. if no quantity is set, the amount will be used as unitprice. The quantity is also set to 1.<br>
2. if the quantity is already set, the unitprice is calculated by amount / quantity.<br>


== Code example ==
== Code example ==

Latest revision as of 08:01, 21 August 2015

Declaration

Amount as double

Description

Returns or sets the invoiceline's total amount. Corresponds with database column PIL_LINE.PIL_AMOUNT.

Notes

Returns or sets the total amount for the invoice line.
When setting this property:
1. if no quantity is set, the amount will be used as unitprice. The quantity is also set to 1.
2. if the quantity is already set, the unitprice is calculated by amount / quantity.

Code example

Availability