Source AL, 324 lines
src/Layers/W1/BaseApp/Finance/Intercompany/ICNavigation.Codeunit.allines 26 to 41 of 324, Copyright (c) Microsoft Corporation. MIT
codeunit 437 "IC Navigation"{ var UnableToNavigateToSpecifiedDocumentMsg: Label 'Unable to navigate to the related document.'; /// <summary> /// Navigates to the related document from a handled IC inbox transaction. /// Opens the corresponding sales or purchase document based on transaction details. /// </summary> /// <param name="HandledICInboxTrans">Handled IC inbox transaction record containing navigation details</param> procedure NavigateToDocument(HandledICInboxTrans: Record "Handled IC Inbox Trans.") begin if HandledICInboxTrans.IsEmpty() then exit; NavigateToDocument(HandledICInboxTrans."Document No.", Enum::"IC Direction Type"::Incoming, HandledICInboxTrans."IC Partner Code", HandledICInboxTrans."Document Type", HandledICInboxTrans."IC Source Type"); end;
All 324 lines
Events 2 in 29
| [IntegrationEvent] OnNavigateToPurchaseDocumentOnDocumentTypeCaseElse(DocumentNo: Code[20]; ICDirectionType: Enum "IC Direction Type"; ICPartnerCode: Code[20]; DocumentType: Enum "IC Transaction Document Type"; var OpenDoc: Boolean) | new in 22 |
| [IntegrationEvent] OnNavigateToSalesDocumentOnAfterCheckDocumentType(DocumentNo: Code[20]; ICDirectionType: Enum "IC Direction Type"; ICPartnerCode: Code[20]; ICTransactionDocumentType: Enum "IC Transaction Document Type"; var ShouldNavigateToDoc: Boolean) | new in 22 |
Public procedures 3 in 29