PdcPurchaseInvoiceLine.Amount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Notes == | == Notes == | ||
Returns or sets the total amount for the invoice line. When setting this property | 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. You have to set also the quantity to complete the data input. | |||
2. if the quantity is already set, the unitprice is calculated by amount / quantity. | |||
== Code example == | == Code example == |
Revision as of 07:27, 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. You have to set also the quantity to complete the data input. 2. if the quantity is already set, the unitprice is calculated by amount / quantity.