Source AL, 1,455 lines
src/Layers/W1/BaseApp/System/DataExchange/PremapIncomingPurchDoc.Codeunit.allines 23 to 38 of 1,455, Copyright (c) Microsoft Corporation. MIT
codeunit 1217 "Pre-map Incoming Purch. Doc"{ TableNo = "Data Exch."; trigger OnRun() var BuyFromVendorNo: Code[20]; PayToVendorNo: Code[20]; ParentRecNo: Integer; CurrRecNo: Integer; begin ParentRecNo := 0; FindDistinctRecordNos(TempIntegerHeaderRecords, Rec."Entry No.", DATABASE::"Purchase Header", ParentRecNo); if not TempIntegerHeaderRecords.FindSet() then exit;
All 1,455 lines
Events 4 in 29
| [IntegrationEvent] OnBeforeInsertLineForTotalDocumentAmount(EntryNo: Integer; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnFindGLAccountForLineOnBeforeFindAppropriateGLAccount(IntermediateDataImport: Record "Intermediate Data Import"; var GLAccountNo: Code[20]; EntryNo: Integer; HeaderRecordNo: Integer; RecordNo: Integer; VendorNo: Code[20]; var IsHandled: Boolean) | new in 22 |
| [IntegrationEvent] OnBeforeProcessLine(EntryNo: Integer; HeaderRecordNo: Integer; RecordNo: Integer; VendorNo: Code[20]; var IsHandled: Boolean) | new in 22 |
| [IntegrationEvent] OnAfterCorrectHeaderData(EntryNo: Integer; RecordNo: Integer; DataExch: Record "Data Exch."; var IncomingDocument: Record "Incoming Document") | new in 24 |
Public procedures 5 in 29
Changes 1 in 25
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 1 | | | | |
|---|
| Events | | | | | | 2 | | 1 | | | | | |
|---|
| CorrectHeaderField(EntryNo: Integer; TableID: Integer; FieldID: Integer; RecordNo: Integer; IncomingDocumentValue: Variant) | new in 25 |
| added |
All 4 changes in 17-29