Source AL, 617 lines
src/Apps/W1/PEPPOL/App/src/Common/PEPPOL30Common.Codeunit.allines 20 to 35 of 617, Copyright (c) Microsoft Corporation. MIT
codeunit 37218 "PEPPOL30 Common"{ InherentEntitlements = X; InherentPermissions = X; var Peppol30: Codeunit "PEPPOL30"; UnsupportedDocumentErr: Label 'The document type is not supported for PEPPOL 3.0 export.'; /// <summary> /// Converts a posted document header RecordRef to a Sales Header buffer. /// Supports Sales Invoice Header, Sales Cr.Memo Header, Service Invoice Header, and Service Cr.Memo Header. /// </summary> /// <param name="PostedRecRef">The RecordRef pointing to the posted document header.</param> /// <param name="SalesHeader">Return value: The Sales Header record populated with fields from the posted document.</param> procedure ConvertPostedHeaderToSalesHeader(var PostedRecRef: RecordRef; var SalesHeader: Record "Sales Header")
All 617 lines
Public procedures 9 in 29
| ConvertPostedHeaderToSalesHeader(var PostedRecRef: RecordRef; var SalesHeader: Record "Sales Header") | new in 28 |
| ConvertPostedLineToSalesLine(var PostedLineRecRef: RecordRef; var SalesLine: Record "Sales Line") | new in 28 |
| GetTotals(var PostedDocHeaderRecRef: RecordRef; var PostedDocLineRecRef: RecordRef; var TempVATAmtLine: Record "VAT Amount Line" temporary; var TempVATProductPostingGroup: Record "VAT Product Posting Group" temporary; PEPPOLFormat: Enum "PEPPOL 3.0 Format") | new in 28 |
| SetDocumentAttachmentFilters(var PostedDocHeaderRecRef: RecordRef; var DocumentAttachments: Record "Document Attachment") | new in 28 |
| GetInvoiceRoundingLine(PostedDocHeaderRecRef: RecordRef; var TempSalesLineRounding: Record "Sales Line" temporary; PEPPOLFormat: Enum "PEPPOL 3.0 Format") | new in 28 |
| SetFilters(var PostedDocHeaderRecRef: RecordRef; var PostedDocLineRecRef: RecordRef; TempSalesLineRounding: Record "Sales Line" temporary) | new in 28 |
All 9 procedures
Changes 3 in 29
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | | | | 3 |
|---|
| GetTotals(var PurchaseHeaderRecRef: RecordRef; var PurchaseLineRecRef: RecordRef; var TempVATAmtLine: Record "VAT Amount Line" temporary; var TempVATProductPostingGroup: Record "VAT Product Posting Group" temporary; PEPPOLPurchaseFormat: Enum "PEPPOL 3.0 Purchase") | new in 29 |
| added |
| GetInvoiceRoundingLine(PurchaseHeaderRecRef: RecordRef; var TempPurchaseLineRounding: Record "Purchase Line" temporary; PEPPOLPurchaseFormat: Enum "PEPPOL 3.0 Purchase") | new in 29 |
| added |
| SetFilters(var PurchaseHeaderRecRef: RecordRef; var PurchaseLineRecRef: RecordRef; TempPurchaseLineRounding: Record "Purchase Line" temporary) | new in 29 |
| added |
All 3 changes in 28-29