Codeunit 6103 E-Document Subscribers

E-Document Core, Microsoft.eServices.EDocument

src/Apps/W1/EDocument/App/src/Processing/EDocumentSubscribers.Codeunit.al60 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

HandleOnRegisterCopilotCapability line 62, local

  1. 66callsCodeunit 6231 E-Document MLLM Handler RegisterCopilotCapabilityIfNeeded

OnAfterValidateDraftPageVendorNo line 72, local

  1. 76callsLogAfterValidate

OnAfterValidateDraftPageAppliesToVendorInvNo line 80, local

  1. 84callsLogAfterValidate

OnAfterValidateDraftPageDiscount line 88, local

  1. 92callsLogAfterValidate

OnAfterValidateDraftPageVAT line 96, local

  1. 100callsLogAfterValidate

OnAfterValidateDraftPageLineType line 104, local

  1. 108callsLogAfterValidate

OnAfterValidateDraftPageNo line 112, local

  1. 116callsLogAfterValidate

OnAfterValidateDraftPageItemReferenceNo line 120, local

  1. 124callsLogAfterValidate

OnAfterValidateDraftPageUnitOfMeasure line 128, local

  1. 132callsLogAfterValidate

OnAfterValidateDraftPageVariantCode line 136, local

  1. 140callsLogAfterValidate

OnAfterValidateDraftPageQuantity line 144, local

  1. 148callsLogAfterValidate

OnAfterValidateDraftPageDirectUnitCost line 152, local

  1. 156callsLogAfterValidate

OnAfterValidateDraftPageTotalDiscount line 160, local

  1. 164callsLogAfterValidate

OnAfterValidateDraftPageDeferralCode line 168, local

  1. 172callsLogAfterValidate

OnAfterValidateDraftPageShortcutDim1 line 176, local

  1. 180callsLogAfterValidate

OnAfterValidateDraftPageShortcutDim2 line 184, local

  1. 188callsLogAfterValidate

OnBeforeReleaseSalesDoc line 195, local

  1. 197callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnBeforeReleasePurchaseDoc line 201, local

  1. 203callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnBeforeReleaseServiceDoc line 207, local

  1. 209callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnAfterReleasePurchaseDoc line 213, local

  1. 226callsCodeunit 6148 E-Document Helper IsElectronicDocument
  2. 229callsCreateEDocumentFromPostedDocument

OnAfterCheckAndUpdateSales line 235, local

  1. 237callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnAfterCheckAndUpdatePurch line 241, local

  1. 243callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnAfterInitializeService line 247, local

  1. 249callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnBeforeIssueFinChargeMemo line 253, local

  1. 255callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnBeforeIssueReminder line 259, local

  1. 261callsCodeunit 6108 E-Document Processing RunEDocumentCheck

OnAfterPostSalesDoc line 267, local

  1. 275callsAllowCreateEDocument
  2. 280callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  3. 285callsCreateEDocumentFromPostedDocument
  4. 288callsCreateEDocumentFromPostedDocument
  5. 292callsCreateEDocumentFromPostedDocument

OnAfterPostPurchaseDoc line 297, local

  1. 306callsPointEDocumentToPostedDocument
  2. 307callsIsEligibleForSelfBilling
  3. 308callsCreateSelfBilledEDocument
  4. 312callsPointEDocumentToPostedDocument
  5. 313callsIsEligibleForSelfBilling
  6. 314callsCreateSelfBilledEDocument

CreateSelfBilledEDocument line 318, local

  1. 323callsAllowCreateEDocument
  2. 327callsCodeunit 6108 E-Document Processing GetDocSendingProfileForDocRef
  3. 328callsCreateEDocumentFromPostedDocument

IsEligibleForSelfBilling line 336

  1. 340callsHasSelfBillingParticipants

IsEligibleForSelfBilling line 348

  1. 350callsCodeunit 6108 E-Document Processing IsSelfBilledCreditMemo
  2. 352callsHasSelfBillingParticipants

HasSelfBillingParticipants line 355, local

  1. 361callsCodeunit 6170 Service Participant GetParticipantIdCount
  2. 363callsCodeunit 6170 Service Participant GetParticipantIdCount

CreateEDocumentFromPostedTransferShipment line 369, local

  1. 373callsAllowCreateEDocument
  2. 379callsCodeunit 6108 E-Document Processing GetDocSendingProfileForTransferShipment
  3. 382callsCreateEDocumentFromPostedDocument

OnAfterPostWhseActivityCompleted line 388, local

  1. 402callsAllowCreateEDocument
  2. 408callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  3. 409callsCreateEDocumentFromPostedDocument
  4. 414callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  5. 415callsCreateEDocumentFromPostedDocument
  6. 420callsCodeunit 6108 E-Document Processing GetDocSendingProfileForTransferShipment
  7. 421callsCreateEDocumentFromPostedDocument

OnShouldDocumentTotalAmountsBeChecked line 426, local

  1. 434callsTable 6121 E-Document GetEDocumentService

OnCanDocumentTotalAmountsBeEditable line 438, local

  1. 446callsTable 6121 E-Document IsSourceDocumentStructured

OnAfterPostServiceDoc line 450, local

  1. 456callsAllowCreateEDocument
  2. 462callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  3. 467callsCreateEDocumentFromPostedDocument
  4. 470callsCreateEDocumentFromPostedDocument

OnAfterIssueFinChargeMemo line 474, local

  1. 479callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  2. 485callsCreateEDocumentFromPostedDocument

OnAfterIssueReminder line 489, local

  1. 494callsCodeunit 6108 E-Document Processing GetDocSendingProfileForCust
  2. 500callsCreateEDocumentFromPostedDocument

OnAfterPostGLAcc line 512, local

  1. 520validatesTable 6121 E-Document Document Record ID
  2. 524writesTable 6121 E-Document Modify

OnAfterVendLedgEntryInsert line 530, local

  1. 542validatesTable 6121 E-Document Document Record ID
  2. 545writesTable 6121 E-Document Modify

OnAfterDeleteEventGenJournalLine line 550, local

  1. 573callsCodeunit 6108 E-Document Processing ModifyServiceStatus
  2. 576callsCodeunit 6108 E-Document Processing ModifyEDocumentStatus
  3. 581writesTable 6121 E-Document Modify

OnBeforeOnDeletePurchaseHeader line 585, local

  1. 597callsCodeunit 27 Confirm Management GetResponseOrDefault
  2. 602callsCodeunit 6140 E-Doc. Import ProcessIncomingEDocument

OnDeleteOnBeforeArchiveSalesDocumentSalesHeader line 608, local

  1. 620callsCodeunit 27 Confirm Management GetResponseOrDefault
  2. 625callsCodeunit 6140 E-Doc. Import ProcessIncomingEDocument

ClassifyDataSensitivity line 631, local

  1. 635callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  2. 636callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  3. 637callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  4. 638callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  5. 639callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  6. 642callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  7. 645callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  8. 646callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  9. 647callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  10. 648callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  11. 649callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  12. 650callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  13. 651callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  14. 652callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  15. 653callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  16. 654callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  17. 655callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  18. 656callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  19. 657callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  20. 658callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  21. 659callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  22. 660callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  23. 661callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  24. 662callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  25. 663callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  26. 666callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  27. 669callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  28. 670callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  29. 671callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  30. 672callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  31. 675callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  32. 678callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  33. 679callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  34. 680callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal

OnBeforeValidateElectronicFormats line 687, local

  1. 693callsVerifyCorrectFlowSetupOnProfile

OnAfterSendEDocument line 708, local

  1. 717callsTable 6121 E-Document IsEDocumentCreatedForRecord
  2. 718callsCreateEDocumentFromPostedDocument

OnAfterSendToEMailEDocument line 726, local

  1. 737callsTable 6121 E-Document IsEDocumentCreatedForRecord
  2. 738callsCreateEDocumentFromPostedDocument
  3. 740callsCodeunit 6108 E-Document Processing ProcessEDocumentAsEmail

OnAfterSendVendorEDocument line 762, local

  1. 773callsCreateRemittanceAdviceFromJournalLines
  2. 775callsCreateRemittanceAdviceFromPostedPayments

CreateRemittanceAdviceFromJournalLines line 779, local

  1. 797callsPaymentGroupProcessed
  2. 798callsCodeunit 6530 E-Doc. Remittance Advice Mgt. FindGroupAnchor
  3. 799callsCodeunit 6531 E-Doc. Remit. Advice Export ExportFromJournalLine

PaymentGroupProcessed line 803, local

  1. 814writesTable 81 Gen. Journal Line Insert

CreateRemittanceAdviceFromPostedPayments line 818, local

  1. 834callsCodeunit 6531 E-Doc. Remit. Advice Export ExportFromPostedPayment

RemoveEDocumentLinkFromPurchaseDocument line 866, local

  1. 879validatesTable 38 Purchase Header E-Document Link
  2. 880writesTable 38 Purchase Header Modify

VerifyCorrectFlowSetupOnProfile line 884, local

  1. 889validatesTable 60 Document Sending Profile Electronic Service Flow

UpdateToPostedPurchaseEDocument line 896, local

  1. 905validatesTable 6121 E-Document Document Record ID
  2. 910writesTable 6121 E-Document Modify(true)
  3. 912callsCodeunit 6134 E-Doc. Integration Management RunOnAfterUpdateToPostedPurchaseEDocument
  4. 914callsCodeunit 6132 E-Document Log GetLastServiceFromLog
  5. 915callsCodeunit 6131 E-Document Log Helper InsertLog

CreateEDocumentFromPostedDocument line 925

  1. 927callsCodeunit 6108 E-Document Processing GetTypeFromSourceDocument

CreateEDocumentFromPostedDocument line 949

  1. 957callsCodeunit 10 Type Helper CopyRecVariantToRecRef
  2. 965callsCodeunit 6102 E-Doc. Export CreateEDocument

PointEDocumentToPostedDocument line 968, local

  1. 972callsIsEDocumentLinkedToPurchaseDocument
  2. 974callsUpdateToPostedPurchaseEDocument
  3. 975callsRemoveEDocumentLinkFromPurchaseDocument

AllowCreateEDocument line 984, local

  1. 997callsCodeunit 8711 Telemetry LogMessage

LogAfterValidate line 1001, local

  1. 1014callsCodeunit 6122 E-Doc. Imp. Session Telemetry GetEDocSystemIdTok
  2. 1014callsCodeunit 6122 E-Doc. Imp. Session Telemetry CreateSystemIdText
  3. 1016callsCodeunit 6122 E-Doc. Imp. Session Telemetry GetEDocLineSystemIdTok
  4. 1016callsCodeunit 6122 E-Doc. Imp. Session Telemetry CreateSystemIdText
  5. 1017callsCodeunit 8711 Telemetry LogMessage

OnAfterReleaseSalesDoc line 1021, local

  1. 1036callsTable 6121 E-Document GetEDocumentService
  2. 1041callsCodeunit 6433 E-Doc. Message Mgt. CreateResponseMessage