Syntax
| Menu.FinRunInvoice WorkOrderNumber, InvoiceDate [, IsCreditNote][, AllowZeroAmount][, isProForma][, CommercialDiscount][, OpenInEditor][, TemplateCode]
| ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Programmatically generates an invoice for the specified work order. WorkOrderNumber and InvoiceDate are required. The optional parameters control the invoice type, amount handling, and document behaviour.
| ||||||||||||||||||
See Also
| FinRunFacturatie (Dutch variant), FinInvoicing
| ||||||||||||||||||
Example
| Sub Main
Menu.FinRunInvoice WorkOrderNumber:=10045, InvoiceDate:=Now
End Sub
|