Codeunit 7171 "Sales Info-Pane Management"
Base Application · Microsoft.Sales.Document
Across versions
- BC23present
- BC241 events changed
- BC25-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Sales.Document · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnAfterConvertQty(Qty: Decimal; PerUoMQty: Decimal; var Result: Decimal)Δ BC24 (integration)OnAfterSetItemFilter(var Item: Record Item; SalesLine: Record "Sales Line")(integration)OnBeforeCalcAvailability(var Item: Record Item; var SalesLine: Record "Sales Line"; var AvailableQuantity: Decimal; var IsHandled: Boolean)(integration)OnBeforeCalcAvailabilityDate(var SalesLine: Record "Sales Line"; var AvailabilityDate: Date; var IsHandled: Boolean)(integration)OnBeforeGetItem(SalesLine: Record "Sales Line"; var Item: Record Item; var IsHandled: Boolean; var Result: Boolean)(integration)OnBeforeLookupItem(var SalesLine: Record "Sales Line"; Item: Record Item; var IsHandled: Boolean)(integration)OnCalcAvailableInventoryOnAfterSetItemFilter(var Item: Record Item)(integration)OnCalcScheduledReceiptOnAfterSetItemFilter(var Item: Record Item)(integration)OnCalcGrossRequirementsOnAfterSetItemFilter(var Item: Record Item)(integration)OnCalcReservedDemandOnAfterSetItemFilter(var Item: Record Item)(integration)OnCalcReservedRequirementsOnAfterSetItemFilter(var Item: Record Item)(integration)
Procedures
CalcAvailability(var SalesLine: Record "Sales Line"): Decimal: Calculates the available quantity to promise for the item on the sales line.CalcAvailabilityDate(var SalesLine: Record "Sales Line"): Date: Calculates the availability date based on the shipment date or work date.CalcAvailableInventory(var SalesLine: Record "Sales Line"): Decimal: Calculates the available inventory for the item on the sales line.CalcScheduledReceipt(var SalesLine: Record "Sales Line"): Decimal: Calculates the scheduled receipt quantity for the item on the sales line.CalcGrossRequirements(var SalesLine: Record "Sales Line"): Decimal: Calculates the gross requirement for the item on the sales line.CalcReservedRequirements(var SalesLine: Record "Sales Line"): Decimal: Calculates the reserved receipt for the item on the sales line.CalcReservedDemand(SalesLine: Record "Sales Line"): Decimal: Calculates the reserved requirement for the item on the sales line.GetQtyReservedFromStockState(SalesLine: Record "Sales Line"): Enum "Reservation From Stock": Gets the reservation from stock state for the sales line.CalcNoOfSubstitutions(var SalesLine: Record "Sales Line"): Integer: Calculates the number of item substitutes available for the sales line item.CalcNoOfSalesPrices(var SalesLine: Record "Sales Line"): Integer: Calculates the number of sales prices available for the sales line.CalcNoOfSalesLineDisc(var SalesLine: Record "Sales Line"): Integer: Calculates the number of sales line discounts available for the sales line.LookupItem(var SalesLine: Record "Sales Line"): Opens the Item Card page for the item on the sales line.ResetItemNo(): Resets the cached item number in the Available to Promise codeunit.GetItem(var SalesLine: Record "Sales Line"): Boolean: Gets the item record for the sales line.
Plus 2 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5790 “Available to Promise” (7 calls:
CalcAvailability → CalcQtyAvailableToPromise,CalcAvailableInventory → CalcAvailableInventory,CalcGrossRequirements → CalcGrossRequirement, …) - Codeunit 5402 “Unit of Measure Management” (1 call:
ConvertQty → QtyRndPrecision) - Codeunit 99000832 “Sales Line-Reserve” (1 call:
GetQtyReservedFromStockState → GetReservedQtyFromInventory) - Page 30 “Item Card” (1 call:
LookupItem → (object))
Called by
- Page 9087 “Sales Line FactBox” (1 call:
OnAfterGetRecord → ResetItemNo)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Sales Info-Pane Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.