Source AL, 458 lines
src/Layers/W1/BaseApp/Utilities/FormatDocument.Codeunit.allines 18 to 33 of 458, Copyright (c) Microsoft Corporation. MIT
codeunit 368 "Format Document"{ trigger OnRun() begin end; var GLSetup: Record "General Ledger Setup"; AutoFormat: Codeunit "Auto Format"; PurchaserTxt: Label 'Purchaser'; SalespersonTxt: Label 'Salesperson'; TotalTxt: Label 'Total %1', Comment = '%1 = Currency Code'; TotalInclVATTxt: Label 'Total %1 Incl. VAT', Comment = '%1 = Currency Code'; TotalExclVATTxt: Label 'Total %1 Excl. VAT', Comment = '%1 = Currency Code';
All 458 lines
Events 12 in 29
| [IntegrationEvent] OnAfterSetSalesLine(var SalesLine: Record "Sales Line"; var FormattedQuantity: Text; var FormattedUnitPrice: Text; var FormattedVATPercentage: Text; var FormattedLineAmount: Text) | 17-29 |
| [IntegrationEvent] OnAfterSetSalesInvoiceLine(var SalesInvoiceLine: Record "Sales Invoice Line"; var FormattedQuantity: Text; var FormattedUnitPrice: Text; var FormattedVATPercentage: Text; var FormattedLineAmount: Text) | 17-29 |
| [IntegrationEvent] OnAfterSetSalesCrMemoLine(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var FormattedQuantity: Text; var FormattedUnitPrice: Text; var FormattedVATPercentage: Text; var FormattedLineAmount: Text) | 17-29 |
| [IntegrationEvent] OnBeforeSetLogoPosition(var LogoPosition: Option "No Logo",Left,Center,Right; var CompanyInfo1: Record "Company Information"; var CompanyInfo2: Record "Company Information"; var CompanyInfo3: Record "Company Information"; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeSetSalesLine(var SalesLine: Record "Sales Line") | 17-29 |
| [IntegrationEvent] OnBeforeSetSalesInvoiceLine(var SalesInvoiceLine: Record "Sales Invoice Line") | 17-29 |
| [IntegrationEvent] OnBeforeSetSalesCrMemoLine(var SalesCrMemoLine: Record "Sales Cr.Memo Line") | 17-29 |
All 13 events in 17-29
Public procedures 18 in 29
| GetRecordFiltersWithCaptions(RecVariant: Variant): Text | 17-29 |
| GetCOPYText(): Text[30] | 17-29 |
| ParseComment(Comment: Text[80]; var Description: Text[100]; var Description2: Text[100]) | 17-29 |
| SetTotalLabels(CurrencyCode: Code[10]; var TotalText: Text[50]; var TotalInclVATText: Text[50]; var TotalExclVATText: Text[50]) | 17-29 |
| SetLogoPosition(LogoPosition: Option "No Logo",Left,Center,Right; var CompanyInfo1: Record "Company Information"; var CompanyInfo2: Record "Company Information"; var CompanyInfo3: Record "Company Information") | 17-29 |
| SetPaymentMethod(var PaymentMethod: Record "Payment Method"; Code: Code[10]; LanguageCode: Code[10]) | 17-29 |
All 18 procedures
Changes 3 in 25
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 2 | | | | |
|---|
| Events | | | 5 | | | | | | 1 | | | | |
|---|
| HideDocumentLine(HideLinesWithZeroQuantity: Boolean; RecordVariant: Variant; QuantityFieldId: Integer): Boolean | new in 25 |
| added |
| IsLineWithZeroQuantity(RecordVariant: Variant; QuantityFieldId: Integer): Boolean | new in 25 |
| added |
| [IntegrationEvent] OnAfterHideDocumentLine(HideLinesWithZeroQuantity: Boolean; RecordVariant: Variant; QuantityFieldId: Integer; var HideLine: Boolean) | new in 25 |
| added |
All 8 changes in 17-29