Source AL, 1,183 lines
src/Layers/W1/BaseApp/Purchases/Pricing/PurchPriceCalcMgt.Codeunit.allines 24 to 39 of 1,183, Copyright (c) Microsoft Corporation. MIT
codeunit 7010 "Purch. Price Calc. Mgt."{ trigger OnRun() begin end; var GLSetup: Record "General Ledger Setup"; Item: Record Item; SKU: Record "Stockkeeping Unit"; Vend: Record Vendor; ResCost: Record "Resource Cost"; Currency: Record Currency; TempPurchPrice: Record "Purchase Price" temporary; TempPurchLineDisc: Record "Purchase Line Discount" temporary;
All 1,183 lines
Events 56 in 29
| [IntegrationEvent] OnAfterCalcBestLineDisc(var PurchaLineDisc: Record "Purchase Line Discount"; var BestPurchLineDisc: Record "Purchase Line Discount") | 17-29 |
| [IntegrationEvent] OnAfterFindJobJnlLinePrice(var JobJournalLine: Record "Job Journal Line"; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterFindJobJnlLinePriceItem(var JobJournalLine: Record "Job Journal Line") | 17-29 |
| [IntegrationEvent] OnAfterFindPurchPrice(var ToPurchPrice: Record "Purchase Price"; FromPurchasePrice: Record "Purchase Price"; VendorNo: Code[20]; ItemNo: Code[20]; VariantCode: Code[10]; UOM: Code[10]; CurrencyCode: Code[10]; StartingDate: Date; ShowAll: Boolean; Qty: Decimal; QtyPerUOM: Decimal) | 17-29 |
| [IntegrationEvent] OnAfterFindPurchLinePrice(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var PurchasePrice: Record "Purchase Price"; CalledByFieldNo: Integer; PriceInSKU: Boolean; FoundPurchPrice: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterFindPurchLineDisc(var ToPurchaseLineDiscount: Record "Purchase Line Discount"; var FromPurchaseLineDiscount: Record "Purchase Line Discount"; ItemNo: Code[20]; QuantityPerUoM: Decimal; Quantity: Decimal; ShowAll: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterFindPurchLineLineDisc(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var TempPurchLineDisc: Record "Purchase Line Discount" temporary) | 17-29 |
All 63 events in 17-29
Public procedures 29 in 29
| FindPurchLinePrice(var PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; CalledByFieldNo: Integer) | 17-29 |
| FindItemJnlLinePrice(var ItemJnlLine: Record "Item Journal Line"; CalledByFieldNo: Integer) | 17-29 |
| FindReqLinePrice(var ReqLine: Record "Requisition Line"; CalledByFieldNo: Integer) | 17-29 |
| FindPurchLineLineDisc(var PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line") | 17-29 |
| FindStdItemJnlLinePrice(var StdItemJnlLine: Record "Standard Item Journal Line"; CalledByFieldNo: Integer) | 17-29 |
| FindReqLineDisc(var ReqLine: Record "Requisition Line") | 17-29 |
All 29 procedures
Changes 6 in 28
| codeunit 7010 "Purch. Price Calc. Mgt." | 17-29 |
| no longer obsolete |
| FindResUnitCost(var ServiceLine: Record "Service Line") | 17-29 |
| marked Pending, tag 28.0: Moved to codeunit ServPriceCalcMgt |
| [IntegrationEvent] OnCalcBestDirectUnitCostOnBeforeNoPriceFound(var PurchasePrice: Record "Purchase Price"; Item: Record Item; var IsHandled: Boolean) | gone after 27 |
| gone |
| [IntegrationEvent] OnCalcBestDirectUnitCostOnBeforeNoPriceFound(var PurchasePrice: Record "Purchase Price"; Item: Record Item; var IsHandled: Boolean; var PriceInSKU: Boolean; var StockkeepingUnit: Record "Stockkeeping Unit") | new in 28 |
| added |
| [IntegrationEvent] OnCalcBestDirectUnitCostOnAfterIsInMinQty(var PurchasePrice: Record "Purchase Price"; QuantityPerUnitOfMeasure: Decimal; Quantity: Decimal; var InMinQty: Boolean) | new in 28 |
| added |
| [IntegrationEvent] OnCalcBestDirectUnitCostOnBeforeCaseStatement(var PurchasePrice: Record "Purchase Price"; var BestPurchasePrice: Record "Purchase Price"; var BestPurchPriceFound: Boolean; var IsHandled: Boolean; LineDiscPerCent: Decimal) | new in 28 |
| added |
All 24 changes in 17-29