Report "Standard Sales - Draft Invoice"

ID 1303
Namespace: Microsoft.Sales.Document

Properties

Name Value
Caption Draft Invoice
DefaultRenderingLayout StandardSalesDraftInvoice.docx
PreviewMode PrintLayout
WordMergeDataItem Header

Events

OnAfterSalesPostGetSalesLines

[IntegrationEvent(False,False)]
local procedure OnAfterSalesPostGetSalesLines(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"

OnHeaderOnAfterGetRecordOnAfterUpdateVATOnLines

[IntegrationEvent(False,False)]
local procedure OnHeaderOnAfterGetRecordOnAfterUpdateVATOnLines(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line", var VATAmountLine: Record "VAT Amount Line")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"
VATAmountLine Table Microsoft.Finance.VAT.Calculation."VAT Amount Line"

OnLineOnAfterGetRecordOnAfterCalcTotals

[IntegrationEvent(False,False)]
local procedure OnLineOnAfterGetRecordOnAfterCalcTotals(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line", var VATBaseAmount: Decimal, var VATAmount: Decimal, var TotalAmountInclVAT: Decimal)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"
VATBaseAmount Decimal
VATAmount Decimal
TotalAmountInclVAT Decimal

OnBeforeFormatLineValues

[IntegrationEvent(False,False)]
local procedure OnBeforeFormatLineValues(SalesLine: Record "Sales Line", var FormattedQuantity: Text, var FormattedUnitPrice: Text, var FormattedVATPercentage: Text, var FormattedLineAmount: Text, var IsHandled: Boolean)

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
FormattedQuantity Text
FormattedUnitPrice Text
FormattedVATPercentage Text
FormattedLineAmount Text
IsHandled Boolean

OnInitReportForGlobalVariable

[IntegrationEvent(False,False)]
local procedure OnInitReportForGlobalVariable(var IsHandled: Boolean, var LegalOfficeTxt: Text, var LegalOfficeLbl: Text, var CustomGiroTxt: Text, var CustomGiroLbl: Text, var LegalStatementLbl: Text)

Parameters

Name Type Description
IsHandled Boolean
LegalOfficeTxt Text
LegalOfficeLbl Text
CustomGiroTxt Text
CustomGiroLbl Text
LegalStatementLbl Text

See also