Codeunit 1339 Cancel Posted Sales Cr. Memo
src/Layers/W1/BaseApp/Sales/History/CancelPostedSalesCrMemo.Codeunit.al24 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 32, trigger
CancelPostedCrMemo line 72
- 79callsTestCorrectCrMemoIsAllowed
- 80runsCodeunit 1339 Cancel Posted Sales Cr. Memo
- 85raisesOnBeforeShowPostedSalesInvoiceIsHandled
- 87callsCodeunit 700 Page Management PageRun
- 94raisesOnBeforeShowSalesInvoiceIsHandled
- 96runsPage 43 Sales Invoice
CreateCopyDocument line 106, local
- 113raisesOnCreateCopyDocumentOnBeforeSalesHeaderInsert
- 114writesTable 36 Sales Header Insert(true)
- 115callsCodeunit 6620 Copy Document Mgt. SetPropertiesForInvoiceCorrection
- 116callsCodeunit 6620 Copy Document Mgt. CopySalesDocForCrMemoCancelling
- 117raisesOnAfterCreateCopyDocument
TestCorrectCrMemoIsAllowed line 124
- 129raisesOnBeforeTestCorrectCrMemoIsAllowedIsHandled
- 131callsTestIfPostingIsAllowed
- 132callsTestIfCustomerIsBlocked
- 133callsTestIfCustomerIsBlocked
- 134callsTestIfInvoiceIsCorrectedOnce
- 135callsTestIfCrMemoIsCorrectiveDoc
- 136callsTestCustomerDimension
- 137callsTestDimensionOnHeader
- 138callsTestSalesLines
- 139callsTestIfAnyFreeNumberSeries
- 140callsTestExternalDocument
- 141callsTestInventoryPostingClosed
- 144raisesOnAfterTestCorrectCrMemoIsAllowed
SetTrackInfoForCancellation line 147, local
- 154callsTable 1900 Cancelled Document InsertSalesCrMemoToInvCancelledDocument
TestDimensionOnHeader line 157, local
- 161callsCodeunit 408 DimensionManagement CheckDimIDComb
- 162callsErrorHelperHeader
TestIfAppliedCorrectly line 174, local
TestIfUnapplied line 191, local
- 196raisesOnBeforeTestIfUnappliedIsHandled
- 203callsErrorHelperHeader
TestCustomerDimension line 206, local
- 216callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 217callsErrorHelperAccount
TestSalesLines line 220, local
- 232callsIsCommentLine
- 237callsErrorHelperLine
- 241callsErrorHelperLine
- 246callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 247callsErrorHelperAccount
- 250callsTestInventoryPostingSetup
- 253callsTestGenPostingSetup
- 254callsTestCustomerPostingGroup
- 255callsTestVATPostingSetup
- 257callsCodeunit 408 DimensionManagement CheckDimIDComb
- 258callsErrorHelperLine
TestGLAccount line 263, local
- 273callsErrorHelperAccount
- 279callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 280callsErrorHelperAccount
TestIfInvoiceIsCorrectedOnce line 284, local
- 288callsTable 1900 Cancelled Document FindSalesCancelledCrMemo
- 289callsErrorHelperHeader
TestIfCrMemoIsCorrectiveDoc line 292, local
- 298raisesOnBeforeTestIfCrMemoIsCorrectiveDocIsHandled
- 302callsTable 1900 Cancelled Document FindSalesCorrectiveCrMemo
- 303callsErrorHelperHeader
TestIfPostingIsAllowed line 306, local
- 310callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed
- 311callsErrorHelperHeader
TestIfAnyFreeNumberSeries line 314, local
- 324raisesOnBeforeTestIfAnyFreeNumberSeriesIsHandled
- 331callsTryPeekNextNo
- 332callsErrorHelperHeader
- 340callsTryPeekNextNo
- 341callsErrorHelperHeader
TryPeekNextNo line 345, local
- 349callsCodeunit 310 No. Series PeekNextNo
TestGenPostingSetup line 372, local
- 382callsTestGLAccount
- 384callsTestGLAccount
- 386callsTestGLAccount
- 389callsTable 27 Item IsInventoriableType
- 390callsTestGLAccount
- 390callsTable 252 General Posting Setup GetCOGSAccount
TestCustomerPostingGroup line 394, local
- 400callsTestGLAccount
TestVATPostingSetup line 403, local
- 410callsTestGLAccount
TestInventoryPostingSetup line 414, local
- 420raisesOnBeforeTestInventoryPostingSetupIsHandled
- 426callsTestGLAccount
UnapplyEntries line 429, local
- 436callsFindCustLedgEntry
- 437callsTestIfAppliedCorrectly
- 441callsFindDetailedApplicationEntry
- 444callsCodeunit 226 CustEntry-Apply Posted Entries PostUnApplyCustomer
- 445callsTestIfUnapplied