PdcPurchaseInvoiceHeader.TotalAmount
Jump to navigation
Jump to search
Declaration
TotalAmount as double
Description
TotalAmount, read/write.
Notes
Returns or sets the totalAmount of the purchaseinvoice. Note: The save of the purchaseinvoice fails if the sum of the lines is not equal to the totalAmount
Code example
Dim PDCInvoice as PDCEXT.IPurchaseInvoice
PDCInvoice = PDC.App.Logistics.PurchaseInvoices.New
PDCInvoice.TotalAmount = 10.0
PDCInvoice.Save
Availability
Version 5.4