Zum Inhalt

DoInvoiceFinalPrint (Opus Funktion)

Beschreibung

Führt einen definitiven Druck aus. Executes the final print and/or archive step for a list of prepared total invoices. Returns the IDs of any invoices that failed.

Argumente

Name

Typ

Beschreibung

TotalInvoiceIDs

[integer]

Array aus TotalInvoiceIDs, welche definitv gedruckt werden sollen

CompanyID

integer

ID of the company context

LocationID

integer

ID of the company context

DoPrint

integer

1 = Die Rechnung wird gedruckt und geöffnet

DoArchive

integer

1 = Die Rechnung wird in den Dokumenten der Person (SSP_Address) gespeichert

Silent

integer

1 = Es werden keine Dialoge angezeigt

Rückgabewert [integer]

TotalInvoiceIDs, welche nicht gedruckt wurden.

Beispiel

Li_Invoices := PrepareInvoice(Li_PersonProductIDArray, GetCurrentDateTime(), GetCurrentDateTime()+30, GetCurrentDateTime(), Ai_CompanyID, Ai_SeminarCenterID);
SetSSF_Invoice_i_SSD_InvoiceReportIDEntry(Li_Invoices, Li_RgVorlageID);
Li_TotalInvoices = GetSSF_Invoice_i_SSF_TotalInvoiceIDEntry(Li_Invoices);
SetSSF_TotalInvoice_i_AdmoinistrationReleaseEntry(Li_TotalInvoices, 1);
SetSSF_TotalInvoice_i_AccountingReleaseEntry(Li_TotalInvoices, 1);
DoInvoiceFinalPrint(Li_TotalInvoices, Ai_CompanyID, Ai_SeminarCenterID, 0, 1, 1);

Siehe auch

PrepareInvoice (Opus Funktion)