PdcPuchaseInvoiceLineList.AddExtraLine

From External Bemet Wiki
Revision as of 08:22, 26 March 2015 by TC (talk | contribs) (Notes)
Jump to navigation Jump to search

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).