PdcPuchaseInvoiceLineList.AddExtraLine
Declaration
AddExtraLine(intExCostID as integer, strExCostDescr, strLinkToPos as String) as PdcPurchaseInvoiceLine. Enter the ID of the extra costs line in the FCKOST table, or its description. In case the line needs to be linked to another line in the same invoice, enter the ID.
Description
The method adds a purchase invoice line for extra costs, optionally linked to another invoice line.
Notes
When the line that the extra line is to be linked to, is also created in your script, save the invoice first to obtain the ID of the line.
Code example
Availability
Available since March 2015 (From version 5.0 onwards).