Codeunit 5341 CRM Int. Table. Subscriber

Base Application, Microsoft.Integration.D365Sales

Source AL, 3,330 lines

src/Layers/W1/BaseApp/Integration/D365Sales/CRMIntTableSubscriber.Codeunit.allines 37 to 52 of 3,330, Copyright (c) Microsoft Corporation. MIT

codeunit 5341 "CRM Int. Table. Subscriber"{    SingleInstance = true;    trigger OnRun()    begin    end;    var        CRMSynchHelper: Codeunit "CRM Synch. Helper";        CRMProductName: Codeunit "CRM Product Name";        CDSIntegrationImpl: Codeunit "CDS Integration Impl.";        CRMIntegrationManagement: Codeunit "CRM Integration Management";        PrepaymentMgt: Codeunit "Prepayment Mgt.";        CannotFindSyncedProductErr: Label 'Cannot find a synchronized product for %1.', Comment = '%1=product identifier';

All 3,330 lines

Events 12 in 29

[IntegrationEvent] OnBeforeUpdateCRMInvoiceBeforeInsertRecord(SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; var IsHandled: Boolean)17-29
[IntegrationEvent] OnFindNewValueForCoupledRecordPK(IntegrationTableMapping: Record "Integration Table Mapping"; SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant; var IsValueFound: Boolean)new in 19
[IntegrationEvent] OnCheckItemOrResourceIsNotBlockedOnAfterSalesInvLineLoop(SalesInvLine: Record "Sales Invoice Line")new in 20
[IntegrationEvent] OnUpdateCRMProductAfterTransferRecordFieldsOnAfterCalcItemBlocked(SourceRecordRef: RecordRef; var Blocked: Boolean)new in 20
[IntegrationEvent] OnBeforeGetSourceDestCodeOnAfterTransferRecordFields(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var AdditionalFieldsWereModified: Boolean; DestinationIsInserted: Boolean; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnHandleOnBeforeIgnoreUnchangedRecordHandled(SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnChangeSalesOrderStatusOnBeforeCompareStatus(var SalesHeader: Record "Sales Header"; var NewSalesDocumentStatus: Enum "Sales Document Status")new in 22

All 12 events

Public procedures 14 in 29

ClearCache()17-29
OnBeforeTransferRecordFields(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)17-29
OnTransferFieldData(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant; var IsValueFound: Boolean; var NeedsConversion: Boolean)17-29
OnAfterTransferRecordFields(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var AdditionalFieldsWereModified: Boolean; DestinationIsInserted: Boolean)17-29
OnBeforeInsertRecord(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)17-29
OnAfterInsertRecord(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)17-29

All 14 procedures

Changes 1 in 26

List17181920212223242526272829
Procedures2
Events1212221
[IntegrationEvent] OnAfterHandlePostFilterIgnoreRecord(SourceRecordRef: RecordRef; var IgnoreRecord: Boolean)new in 26
added

All 13 changes in 17-29