Codeunit 1402 Cancel Posted Purch. Cr. Memo
src/Layers/W1/BaseApp/Purchases/History/CancelPostedPurchCrMemo.Codeunit.al26 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 29, trigger
CancelPostedCrMemo line 65
ShowPostedPurchaseInvoice line 90, local
- 95raisesOnBeforeShowPostedPurchaseInvoiceIsHandled
- 99runsPage 138 Posted Purchase Invoice
ShowPurchaseInvoice line 102, local
- 107raisesOnBeforeShowPurchaseInvoiceIsHandled
- 111runsPage 51 Purchase Invoice
CreateCopyDocument line 114, local
- 121raisesOnCreateCopyDocumentOnBeforePurchHeaderInsert
- 122writesTable 38 Purchase Header Insert(true)
- 123callsCodeunit 6620 Copy Document Mgt. SetPropertiesForInvoiceCorrection
- 124callsCodeunit 6620 Copy Document Mgt. CopyPurchDocForCrMemoCancelling
- 126raisesOnAfterCreateCopyDocument
TestCorrectCrMemoIsAllowed line 129
- 131callsTestIfPostingIsAllowed
- 132callsTestIfVendorIsBlocked
- 133callsTestIfVendorIsBlocked
- 134callsTestIfInvoiceIsCorrectedOnce
- 135callsTestIfCrMemoIsCorrectiveDoc
- 136callsTestVendorDimension
- 137callsTestDimensionOnHeader
- 138callsTestPurchLines
- 139callsTestIfAnyFreeNumberSeries
- 140callsTestExternalDocument
- 141callsTestInventoryPostingClosed
- 143raisesOnAfterTestCorrectCrMemoIsAllowed
SetTrackInfoForCancellation line 146, local
- 153callsTable 1900 Cancelled Document InsertPurchCrMemoToInvCancelledDocument
TestDimensionOnHeader line 156, local
- 160callsCodeunit 408 DimensionManagement CheckDimIDComb
- 161callsErrorHelperHeader
TestIfAppliedCorrectly line 173, local
TestIfUnapplied line 190, local
- 195raisesOnBeforeTestIfUnappliedIsHandled
- 202callsErrorHelperHeader
TestVendorDimension line 205, local
- 215callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 216callsErrorHelperAccount
TestPurchLines line 219, local
- 231callsIsCommentLine
- 236callsErrorHelperLine
- 240callsErrorHelperLine
- 245callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 246callsErrorHelperAccount
- 249callsTestInventoryPostingSetup
- 252callsTestGenPostingSetup
- 253callsTestVendorPostingGroup
- 254callsTestVATPostingSetup
- 256callsCodeunit 408 DimensionManagement CheckDimIDComb
- 257callsErrorHelperLine
CheckGLAccount line 262
- 272callsErrorHelperAccount
- 278callsCodeunit 408 DimensionManagement CheckDimValuePosting
- 279callsErrorHelperAccount
TestIfInvoiceIsCorrectedOnce line 283, local
- 287callsTable 1900 Cancelled Document FindPurchCancelledCrMemo
- 288callsErrorHelperHeader
TestIfCrMemoIsCorrectiveDoc line 291, local
- 297raisesOnBeforeTestIfCrMemoIsCorrectiveDocIsHandled
- 301callsTable 1900 Cancelled Document FindPurchCorrectiveCrMemo
- 302callsErrorHelperHeader
TestIfPostingIsAllowed line 305, local
- 309callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed
- 310callsErrorHelperHeader
TestIfAnyFreeNumberSeries line 313, local
- 323raisesOnBeforeTestIfAnyFreeNumberSeriesIsHandled
- 330callsTryPeekNextNo
- 331callsErrorHelperHeader
- 339callsTryPeekNextNo
- 340callsErrorHelperHeader
TryPeekNextNo line 344, local
- 348callsCodeunit 310 No. Series PeekNextNo
TestGenPostingSetup line 371, local
- 378raisesOnBeforeTestGenPostingSetupIsHandled
- 388callsCheckGLAccount
- 390callsCheckGLAccount
- 394callsCheckGLAccount
- 398callsTable 27 Item IsInventoriableType
- 399callsCheckGLAccount
- 399callsTable 252 General Posting Setup GetCOGSAccount
TestVendorPostingGroup line 403, local
- 409callsCheckGLAccount
TestVATPostingSetup line 412, local
- 419callsCheckGLAccount
TestInventoryPostingSetup line 423, local
- 429raisesOnBeforeTestInventoryPostingSetupIsHandled
- 435callsCheckGLAccount
UnapplyEntries line 438, local
- 445callsFindVendLedgEntry
- 446callsTestIfAppliedCorrectly
- 450callsFindDetailedApplicationEntry
- 453callsCodeunit 227 VendEntry-Apply Posted Entries PostUnApplyVendor
- 454callsTestIfUnapplied