Codeunit 1217 Pre-map Incoming Purch. Doc

Base Application, System.IO

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

GetDocumentTypeOptionString(OptionIndex: Integer): Text[250]17-29
GetDocumentTypeOptionCaption(OptionIndex: Integer): Text[250]17-29
ConstructDocumenttypeUnknownErr(): Text17-29
FindAppropriateGLAccount(EntryNo: Integer; HeaderRecordNo: Integer; LineDescription: Text[250]; LineDirectUnitCost: Decimal; VendorNo: Code[20]): Code[20]17-29
CorrectHeaderField(EntryNo: Integer; TableID: Integer; FieldID: Integer; RecordNo: Integer; IncomingDocumentValue: Variant)new in 25

Changes 1 in 25

List17181920212223242526272829
Procedures1
Events21
CorrectHeaderField(EntryNo: Integer; TableID: Integer; FieldID: Integer; RecordNo: Integer; IncomingDocumentValue: Variant)new in 25
added

All 4 changes in 17-29