codeunitSales & Receivablesofficial - Microsoftderived - from the source, no model text

Codeunit 7171 "Sales Info-Pane Management"

Base Application · Microsoft.Sales.Document

Across versions

  1. BC23present
  2. BC241 events changed
  3. BC25-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 5790 "Available to Promise" (calls, 7 links)Available to PromiseCodeunit 5402 "Unit of Measure Management" (calls)Unit of Measure ManagementCodeunit 99000832 "Sales Line-Reserve" (calls)Sales Line-ReservePage 30 "Item Card" (calls)Item CardPage 9087 "Sales Line FactBox" (calls)Sales Line FactBox

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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.

Called by

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.

Evidence 1 sources