Codeunit 5529 Purch. Inv. Aggregator
src/Layers/W1/BaseApp/Integration/Entity/PurchInvAggregator.Codeunit.al54 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnAfterInsertPurchaseHeader line 47, local
- 49callsCheckValidRecord
- 49callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 52callsCheckUpdatesDisabled
- 55callsInsertOrModifyFromPurchaseHeader
OnAfterModifyPurchaseHeader line 59, local
- 61callsCheckValidRecord
- 61callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 64callsIsBackgroundPosting
- 67callsCheckUpdatesDisabled
- 70callsInsertOrModifyFromPurchaseHeader
OnAfterDeletePurchaseHeader line 74, local
- 78callsCheckValidRecord
- 78callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 81callsCheckUpdatesDisabled
- 84callsTransferRecordIDs
- 89writesTable 5477 Purch. Inv. Entity Aggregate Delete
OnAfterResetRecalculateInvoiceDisc line 93, local
- 95callsCheckValidRecord
- 95callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 98callsCheckUpdatesDisabled
- 101callsInsertOrModifyFromPurchaseHeader
OnAfterInsertPurchaseLine line 105, local
OnAfterModifyPurchaseLine line 117, local
OnAfterDeletePurchaseLine line 129, local
OnAfterInsertPurchaseInvoiceHeader line 155, local
- 157callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 160callsCheckUpdatesDisabled
- 163callsInsertOrModifyFromPurchaseInvoiceHeader
OnAfterModifyPurchaseInvoiceHeader line 167, local
- 169callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 172callsCheckUpdatesDisabled
- 175callsInsertOrModifyFromPurchaseInvoiceHeader
OnAfterRenamePurchaseInvoiceHeader line 179, local
- 183callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 186callsCheckUpdatesDisabled
- 192callsTable 5477 Purch. Inv. Entity Aggregate SetIsRenameAllowed
- 193writesTable 5477 Purch. Inv. Entity Aggregate Rename
OnAfterDeletePurchaseInvoiceHeader line 197, local
- 201callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 204callsCheckUpdatesDisabled
- 210writesTable 5477 Purch. Inv. Entity Aggregate Delete
OnAfterCalculatePurchaseDiscountOnPurchaseHeader line 214, local
- 216callsCheckValidRecord
- 216callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 219callsCheckUpdatesDisabled
- 222callsInsertOrModifyFromPurchaseHeader
OnAfterInsertVendorLedgerEntry line 226, local
- 228callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 231callsCheckUpdatesDisabled
- 234callsSetStatusOptionFromVendLedgerEntry
OnAfterModifyVendorLedgerEntry line 238, local
- 240callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 243callsCheckUpdatesDisabled
- 246callsSetStatusOptionFromVendLedgerEntry
OnAfterRenameVendorLedgerEntry line 250, local
- 252callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 255callsCheckUpdatesDisabled
- 258callsSetStatusOptionFromVendLedgerEntry
OnAfterDeleteVendorLedgerEntry line 262, local
- 264callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 267callsCheckUpdatesDisabled
- 270callsSetStatusOptionFromVendLedgerEntry
OnAfterInsertCancelledDocument line 274, local
- 276callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 279callsCheckUpdatesDisabled
- 282callsSetStatusOptionFromCancelledDocument
OnAfterModifyCancelledDocument line 286, local
- 288callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 291callsCheckUpdatesDisabled
- 294callsSetStatusOptionFromCancelledDocument
OnAfterRenameCancelledDocument line 298, local
OnAfterDeleteCancelledDocument line 311, local
- 313callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 316callsCheckUpdatesDisabled
- 319callsSetStatusOptionFromCancelledDocument
OnBeforePurchInvHeaderInsert line 323, local
- 329callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 337callsCheckUpdatesDisabled
- 353writesTable 5477 Purch. Inv. Entity Aggregate Delete
- 356callsTable 5477 Purch. Inv. Entity Aggregate GetIsRenameAllowed
- 357callsTable 5477 Purch. Inv. Entity Aggregate SetIsRenameAllowed
- 358writesTable 5477 Purch. Inv. Entity Aggregate Rename
- 359callsTable 5477 Purch. Inv. Entity Aggregate SetIsRenameAllowed
PropagateOnInsert line 363
- 370callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 383callsTransferFieldsWithValidate
- 400callsTransferFieldsWithValidate
PropagateOnModify line 408
- 414callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 426callsTransferFieldsWithValidate
- 436callsTransferFieldsWithValidate
PropagateOnDelete line 442
- 447callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 454writesTable 122 Purch. Inv. Header Delete(true)
- 457writesTable 38 Purchase Header Delete(true)
UpdateAggregateTableRecords line 461
- 472callsInsertOrModifyFromPurchaseHeader
- 473callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 478callsInsertOrModifyFromPurchaseInvoiceHeader
- 479callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 486writesTable 5477 Purch. Inv. Entity Aggregate Delete(true)
- 487callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
- 495writesTable 5477 Purch. Inv. Entity Aggregate Delete(true)
- 496callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit
InsertOrModifyFromPurchaseHeader line 501, local
- 513callsAssignTotalsFromPurchaseHeader
- 514callsTable 5477 Purch. Inv. Entity Aggregate UpdateReferencedRecordIds
- 517writesTable 5477 Purch. Inv. Entity Aggregate Modify(true)
- 519writesTable 5477 Purch. Inv. Entity Aggregate Insert(true)
InsertOrModifyFromPurchaseInvoiceHeader line 541, local
- 549callsGetPurchaseInvoiceHeaderId
- 552callsSetStatusOptionFromPurchaseInvoiceHeader
- 553callsAssignTotalsFromPurchaseInvoiceHeader
- 554callsTable 5477 Purch. Inv. Entity Aggregate UpdateReferencedRecordIds
- 557writesTable 5477 Purch. Inv. Entity Aggregate Modify(true)
- 559writesTable 5477 Purch. Inv. Entity Aggregate Insert(true)
SetStatusOptionFromVendLedgerEntry line 583, local
- 587callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 598callsUpdateStatusIfChanged
SetStatusOptionFromCancelledDocument line 602, local
- 606callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 620callsUpdateStatusIfChanged
UpdateUnitOfMeasure line 623
- 629callsCodeunit 5470 Graph Collection Mgt - Item UpdateOrCreateItemUnitOfMeasureFromSalesDocument
- 632writesTable 27 Item Modify(true)
UpdateStatusIfChanged line 635, local
- 643callsCheckUpdatesDisabled
- 648callsSetStatusOptionFromPurchaseInvoiceHeader
- 650writesTable 5477 Purch. Inv. Entity Aggregate Modify(true)
AssignTotalsFromPurchaseHeader line 653, local
AssignTotalsFromPurchaseInvoiceHeader line 668, local
AssignTotalsFromPurchaseLine line 682, local
- 694callsCodeunit 57 Document Totals CalculatePurchaseTotals
AssignTotalsFromPurchaseInvoiceLine line 702, local
- 716callsCodeunit 57 Document Totals CalculatePostedPurchInvoiceTotals
BlankTotals line 724, local
- 731callsCheckUpdatesDisabled
- 739writesTable 5477 Purch. Inv. Entity Aggregate Modify
ModifyTotalsPurchaseLine line 753, local
- 758callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
- 767callsCheckUpdatesDisabled
- 776callsAssignTotalsFromPurchaseLine
- 777writesTable 5477 Purch. Inv. Entity Aggregate Modify(true)
TransferPurchaseInvoiceLineAggregateToPurchaseLine line 780, local
TransferRecordIDs line 792, local
- 809writesTable 5477 Purch. Inv. Entity Aggregate Delete(true)
- 812callsTable 5477 Purch. Inv. Entity Aggregate GetIsRenameAllowed
- 813callsTable 5477 Purch. Inv. Entity Aggregate SetIsRenameAllowed
- 814writesTable 5477 Purch. Inv. Entity Aggregate Rename
- 815callsTable 5477 Purch. Inv. Entity Aggregate SetIsRenameAllowed
- 819writesTable 122 Purch. Inv. Header Modify(true)
TransferFieldsWithValidate line 822, local
- 829callsCodeunit 701 Data Type Management GetRecordRef
RedistributeInvoiceDiscounts line 846
LoadLines line 862
LoadPurchaseInvoiceLines line 879, local
- 891callsCodeunit 5477 Sales Invoice Aggregator GetIdFromDocumentIdAndSequence
- 901callsTable 123 Purch. Inv. Line GetCurrencyCode
- 903callsTable 5478 Purch. Inv. Line Aggregate UpdateReferencedRecordIds
- 904callsUpdateLineAmountsFromPurchaseInvoiceLine
- 905callsSetItemVariantId
- 906writesTable 5478 Purch. Inv. Line Aggregate Insert(true)
LoadPurchaseLines line 910, local
- 919callsTransferFromPurchaseLine
- 920writesTable 5478 Purch. Inv. Line Aggregate Insert(true)
TransferFromPurchaseLine line 924, local
- 932callsCodeunit 5477 Sales Invoice Aggregator GetIdFromDocumentIdAndSequence
- 934callsSetTaxGroupIdAndCode
- 942callsTable 5478 Purch. Inv. Line Aggregate UpdateReferencedRecordIds
- 943callsUpdateLineAmountsFromPurchaseLine
- 944callsSetItemVariantId
PropagateInsertLine line 947
- 953callsVerifyCRUDIsPossibleForLine
- 971callsTransferPurchaseInvoiceLineAggregateToPurchaseLine
- 972writesTable 39 Purchase Line Insert(true)
- 974callsRedistributeInvoiceDiscounts
- 977callsTransferFromPurchaseLine
PropagateModifyLine line 980
- 985callsVerifyCRUDIsPossibleForLine
- 990callsTransferPurchaseInvoiceLineAggregateToPurchaseLine
- 992writesTable 39 Purchase Line Modify(true)
- 994callsRedistributeInvoiceDiscounts
- 997callsTransferFromPurchaseLine
PropagateDeleteLine line 1000
- 1005callsVerifyCRUDIsPossibleForLine
- 1008writesTable 39 Purchase Line Delete(true)
- 1009callsRedistributeInvoiceDiscounts
CheckValidLineRecord line 1076, local
- 1081callsCodeunit 5465 Graph Mgt - General Tools IsApiEnabled
CheckUpdatesDisabled line 1098, local
- 1103callsCodeunit 5532 Disable Aggregate Table Update OnGetAggregateTablesUpdateEnabled
FixInvoicesCreatedFromOrders line 1111
- 1120writesTable 122 Purch. Inv. Header ModifyAll
- 1122callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 1122callsCodeunit 9998 Upgrade Tag Definitions GetFixAPIPurchaseInvoicesCreatedFromOrders
- 1123callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 1123callsCodeunit 9998 Upgrade Tag Definitions GetFixAPIPurchaseInvoicesCreatedFromOrders
SetTaxGroupIdAndCode line 1126
- 1133callsTable 98 General Ledger Setup UseVat