Codeunit 5511 Graph Mgt - Purch. Cr. Memo
src/Layers/W1/BaseApp/Integration/Graph/GraphMgtPurchCrMemo.Codeunit.al50 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnAfterInsertPurchaseHeader line 40, local
- 42callsCheckValidRecord
- 42callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 45callsCheckUpdatesDisabled
- 48callsInsertOrModifyFromPurchaseHeader
OnAfterModifyPurchaseHeader line 52, local
- 54callsCheckValidRecord
- 54callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 57callsCheckUpdatesDisabled
- 60callsIsBackgroundPosting
- 63callsInsertOrModifyFromPurchaseHeader
OnAfterDeletePurchaseHeader line 67, local
- 71callsCheckValidRecord
- 71callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 74callsCheckUpdatesDisabled
- 77callsTransferRecordIDs
- 82writesTable 5508 Purch. Cr. Memo Entity Buffer Delete
OnAfterResetRecalculateCreditMemoDisc line 86, local
- 88callsCheckValidRecord
- 88callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 91callsCheckUpdatesDisabled
- 94callsInsertOrModifyFromPurchaseHeader
OnAfterInsertPurchaseLine line 98, local
OnAfterModifyPurchaseLine line 110, local
OnAfterDeletePurchaseLine line 122, local
OnAfterInsertPurchaseCreditMemoHeader line 148, local
- 150callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 153callsCheckUpdatesDisabled
- 156callsInsertOrModifyFromPurchaseCreditMemoHeader
OnAfterModifyPurchaseCreditMemoHeader line 160, local
- 162callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 165callsCheckUpdatesDisabled
- 168callsInsertOrModifyFromPurchaseCreditMemoHeader
OnAfterRenamePurchaseCreditMemoHeader line 172, local
- 176callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 179callsCheckUpdatesDisabled
- 185callsTable 5508 Purch. Cr. Memo Entity Buffer SetIsRenameAllowed
- 186writesTable 5508 Purch. Cr. Memo Entity Buffer Rename
OnAfterDeletePurchaseCreditMemoHeader line 190, local
- 194callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 197callsCheckUpdatesDisabled
- 203writesTable 5508 Purch. Cr. Memo Entity Buffer Delete
OnAfterCalculatePurchaseDiscountOnPurchaseHeader line 207, local
- 209callsCheckValidRecord
- 209callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 212callsCheckUpdatesDisabled
- 215callsInsertOrModifyFromPurchaseHeader
OnAfterInsertVendorLedgerEntry line 219, local
- 221callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 224callsCheckUpdatesDisabled
- 227callsSetStatusOptionFromVendorLedgerEntry
OnAfterModifyVendorLedgerEntry line 231, local
- 233callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 236callsCheckUpdatesDisabled
- 239callsSetStatusOptionFromVendorLedgerEntry
OnAfterRenameVendorLedgerEntry line 243, local
- 245callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 248callsCheckUpdatesDisabled
- 251callsSetStatusOptionFromVendorLedgerEntry
OnAfterDeleteVendorLedgerEntry line 255, local
- 257callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 260callsCheckUpdatesDisabled
- 263callsSetStatusOptionFromVendorLedgerEntry
OnAfterInsertCancelledDocument line 267, local
- 269callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 272callsCheckUpdatesDisabled
- 275callsSetStatusOptionFromCancelledDocument
OnAfterModifyCancelledDocument line 279, local
- 281callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 284callsCheckUpdatesDisabled
- 287callsSetStatusOptionFromCancelledDocument
OnAfterRenameCancelledDocument line 291, local
OnAfterDeleteCancelledDocument line 304, local
- 306callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 309callsCheckUpdatesDisabled
- 312callsSetStatusOptionFromCancelledDocument
OnBeforePurchCrMemoHeaderInsert line 316, local
- 322callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 325callsCheckUpdatesDisabled
- 346writesTable 5508 Purch. Cr. Memo Entity Buffer Delete
- 349callsTable 5508 Purch. Cr. Memo Entity Buffer GetIsRenameAllowed
- 350callsTable 5508 Purch. Cr. Memo Entity Buffer SetIsRenameAllowed
- 351writesTable 5508 Purch. Cr. Memo Entity Buffer Rename
- 352callsTable 5508 Purch. Cr. Memo Entity Buffer SetIsRenameAllowed
PropagateOnInsert line 356
- 364callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 377callsCodeunit 10 Type Helper TransferFieldsWithValidate
PropagateOnModify line 385
- 392callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 404callsCodeunit 10 Type Helper TransferFieldsWithValidate
PropagateOnDelete line 412
- 417callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 424writesTable 124 Purch. Cr. Memo Hdr. Delete(true)
- 427writesTable 38 Purchase Header Delete(true)
UpdateBufferTableRecords line 431
- 442callsInsertOrModifyFromPurchaseHeader
- 443callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 448callsInsertOrModifyFromPurchaseCreditMemoHeader
- 449callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 456writesTable 5508 Purch. Cr. Memo Entity Buffer Delete(true)
- 457callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 465writesTable 5508 Purch. Cr. Memo Entity Buffer Delete(true)
- 466callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
InsertOrModifyFromPurchaseHeader line 471, local
- 482callsSetStatusOptionFromPurchaseHeader
- 483callsAssignTotalsFromPurchaseHeader
- 484callsTable 5508 Purch. Cr. Memo Entity Buffer UpdateReferencedRecordIds
- 487writesTable 5508 Purch. Cr. Memo Entity Buffer Modify(true)
- 489writesTable 5508 Purch. Cr. Memo Entity Buffer Insert(true)
InsertOrModifyFromPurchaseCreditMemoHeader line 511, local
- 519callsGetPurchaseCrMemoHeaderId
- 522callsSetStatusOptionFromPurchaseCreditMemoHeader
- 523callsAssignTotalsFromPurchaseCreditMemoHeader
- 524callsTable 5508 Purch. Cr. Memo Entity Buffer UpdateReferencedRecordIds
- 527writesTable 5508 Purch. Cr. Memo Entity Buffer Modify(true)
- 529writesTable 5508 Purch. Cr. Memo Entity Buffer Insert(true)
SetStatusOptionFromVendorLedgerEntry line 570, local
- 574callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 584callsUpdateStatusIfChanged
SetStatusOptionFromCancelledDocument line 588, local
- 592callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 606callsUpdateStatusIfChanged
UpdateStatusIfChanged line 609, local
- 614callsCheckUpdatesDisabled
- 621callsSetStatusOptionFromPurchaseCreditMemoHeader
- 623writesTable 5508 Purch. Cr. Memo Entity Buffer Modify(true)
AssignTotalsFromPurchaseHeader line 626, local
AssignTotalsFromPurchaseCreditMemoHeader line 641, local
AssignTotalsFromPurchaseLine line 655, local
- 667callsCodeunit 57 Document Totals CalculatePurchaseTotals
AssignTotalsFromPurchaseCreditMemoLine line 675, local
- 689callsCodeunit 57 Document Totals CalculatePostedPurchCreditMemoTotals
BlankTotals line 697, local
- 704callsCheckUpdatesDisabled
- 712writesTable 5508 Purch. Cr. Memo Entity Buffer Modify
CheckValidLineRecord line 726, local
- 728callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
ModifyTotalsPurchaseLine line 737, local
- 742callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 754callsCheckUpdatesDisabled
- 760callsAssignTotalsFromPurchaseLine
- 761writesTable 5508 Purch. Cr. Memo Entity Buffer Modify(true)
TransferPurchaseCreditMemoLineAggregateToPurchaseLine line 764, local
- 772callsCodeunit 10 Type Helper TransferFieldsWithValidate
TransferRecordIDs line 777, local
- 791writesTable 5508 Purch. Cr. Memo Entity Buffer Delete(true)
- 794callsTable 5508 Purch. Cr. Memo Entity Buffer GetIsRenameAllowed
- 795callsTable 5508 Purch. Cr. Memo Entity Buffer SetIsRenameAllowed
- 796writesTable 5508 Purch. Cr. Memo Entity Buffer Rename
- 797callsTable 5508 Purch. Cr. Memo Entity Buffer SetIsRenameAllowed
- 801writesTable 124 Purch. Cr. Memo Hdr. Modify(true)
RedistributeCreditMemoDiscounts line 804
LoadLines line 820
LoadPurchaseCreditMemoLines line 837, local
- 850callsCodeunit 5477 Sales Invoice Aggregator GetIdFromDocumentIdAndSequence
- 853callsCodeunit 5529 Purch. Inv. Aggregator SetTaxGroupIdAndCode
- 860callsTable 125 Purch. Cr. Memo Line GetCurrencyCode
- 862callsTable 5478 Purch. Inv. Line Aggregate UpdateReferencedRecordIds
- 863callsUpdateLineAmountsFromPurchaseInvoiceLine
- 864callsCodeunit 5529 Purch. Inv. Aggregator SetItemVariantId
- 865writesTable 5478 Purch. Inv. Line Aggregate Insert(true)
LoadPurchaseLines line 869, local
- 878callsTransferFromPurchaseLine
- 879writesTable 5478 Purch. Inv. Line Aggregate Insert(true)
TransferFromPurchaseLine line 883, local
- 892callsCodeunit 5477 Sales Invoice Aggregator GetIdFromDocumentIdAndSequence
- 894callsCodeunit 5529 Purch. Inv. Aggregator SetTaxGroupIdAndCode
- 902callsTable 5478 Purch. Inv. Line Aggregate UpdateReferencedRecordIds
- 903callsCodeunit 5529 Purch. Inv. Aggregator UpdateLineAmountsFromPurchaseLine
- 904callsCodeunit 5529 Purch. Inv. Aggregator SetItemVariantId
PropagateInsertLine line 907
- 913callsVerifyCRUDIsPossibleForLine
- 931callsTransferPurchaseCreditMemoLineAggregateToPurchaseLine
- 932writesTable 39 Purchase Line Insert(true)
- 934callsRedistributeCreditMemoDiscounts
- 937callsTransferFromPurchaseLine
PropagateModifyLine line 940
- 945callsVerifyCRUDIsPossibleForLine
- 950callsTransferPurchaseCreditMemoLineAggregateToPurchaseLine
- 952writesTable 39 Purchase Line Modify(true)
- 954callsRedistributeCreditMemoDiscounts
- 957callsTransferFromPurchaseLine
PropagateDeleteLine line 960
- 965callsVerifyCRUDIsPossibleForLine
- 968writesTable 39 Purchase Line Delete(true)
- 969callsRedistributeCreditMemoDiscounts
UpdateLineAmountsFromPurchaseInvoiceLine line 999, local
- 1003callsTable 125 Purch. Cr. Memo Line GetLineAmountExclVAT
- 1004callsTable 125 Purch. Cr. Memo Line GetLineAmountInclVAT
- 1007callsCodeunit 5529 Purch. Inv. Aggregator UpdateInvoiceDiscountAmount
CheckUpdatesDisabled line 1018, local
- 1023callsCodeunit 5532 Disable Aggregate Table Update OnGetAggregateTablesUpdateEnabled