Codeunit "Purch. Inv. Aggregator"
ID 5529
Namespace: Microsoft.Integration.Entity
Properties
Name
Value
Permissions
tabledata "Purch. Inv. Header" = rimd,
tabledata "Purch. Inv. Entity Aggregate" = rimd
Methods
PropagateOnInsert
procedure PropagateOnInsert(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate", var TempFieldBuffer: Record "Field Buffer" temporary)
Parameters
PropagateOnModify
procedure PropagateOnModify(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate", var TempFieldBuffer: Record "Field Buffer" temporary)
Parameters
PropagateOnDelete
procedure PropagateOnDelete(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate")
Parameters
UpdateAggregateTableRecords
procedure UpdateAggregateTableRecords()
procedure GetPurchaseInvoiceHeaderId(var PurchInvHeader: Record "Purch. Inv. Header"): Guid
Parameters
Returns
procedure GetPurchaseInvoiceHeaderFromId(Id: Text, var PurchInvHeader: Record "Purch. Inv. Header"): Boolean
Parameters
Returns
UpdateUnitOfMeasure
procedure UpdateUnitOfMeasure(var Item: Record Item, JSONUnitOfMeasureTxt: Text)
Parameters
RedistributeInvoiceDiscounts
procedure RedistributeInvoiceDiscounts(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate")
Parameters
LoadLines
procedure LoadLines(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary, DocumentIdFilter: Text)
Parameters
PropagateInsertLine
procedure PropagateInsertLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary, var TempFieldBuffer: Record "Field Buffer" temporary)
Parameters
PropagateModifyLine
procedure PropagateModifyLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary, var TempFieldBuffer: Record "Field Buffer" temporary)
Parameters
PropagateDeleteLine
procedure PropagateDeleteLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary)
Parameters
UpdateLineAmountsFromPurchaseLine
procedure UpdateLineAmountsFromPurchaseLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary)
Parameters
SetItemVariantId
procedure SetItemVariantId(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary, ItemNo: Code[20], VariantCode: Code[20])
Parameters
UpdateInvoiceDiscountAmount
procedure UpdateInvoiceDiscountAmount(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary)
Parameters
VerifyCanUpdateUOM
procedure VerifyCanUpdateUOM(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary)
Parameters
FixInvoicesCreatedFromOrders
procedure FixInvoicesCreatedFromOrders()
SetTaxGroupIdAndCode
procedure SetTaxGroupIdAndCode(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary, TaxGroupCode: Code[20], VATProductPostingGroupCode: Code[20], VATIdentifier: Code[20])
Parameters
See also