codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 5402 "Unit of Measure Management"

Base Application · Microsoft.Foundation.UOM

Across versions

  1. BC23-24present
  2. BC253 procedures added
  3. BC261 procedures changed
  4. BC27-30unchanged

Neighbourhood 145 connected objects and pages

Table 39 "Purchase Line" (calls, 10 links)Purchase LineTable 7302 "Bin Content" (calls, 9 links)Bin ContentTable 901 "Assembly Line" (calls, 9 links)Codeunit 6500 "Item Tracking Management" (calls, 8 links)Item Tracking ManagementCodeunit 7312 "Create Pick" (calls, 8 links)Codeunit 6620 "Copy Document Mgt." (calls, 7 links)Copy Document Mgt.Table 5407 "Prod. Order Component" (calls, 7 links)Table 5870 "BOM Buffer" (calls, 7 links)BOM BufferCodeunit 5812 "Calculate Standard Cost" (calls, 6 links)Codeunit 5870 "Calculate BOM Tree" (calls, 6 links)Calculate BOM TreeTable 5902 "Service Line" (calls, 6 links)Service LineCodeunit 1019 "Job-Explode BOM" (calls, 5 links)Job-Explode BOMCodeunit 63 "Sales-Explode BOM" (calls, 5 links)Sales-Explode BOMCodeunit 80 "Sales-Post" (calls, 5 links)Codeunit 900 "Assembly-Post" (calls, 5 links)Assembly-PostPage 5510 "Production Journal" (calls, 5 links)Production JournalTable 246 "Requisition Line" (calls, 5 links)Requisition LineCodeunit 90 "Purch.-Post" (calls, 4 links)Codeunit 912 "Calculate Assembly Cost" (calls, 4 links)Calculate Assembly CostTable 7321 "Warehouse Shipment Line" (calls, 4 links)Codeunit 1026 "Job Link Usage" (calls, 3 links)Job Link UsageCodeunit 20441 "Qlty. Disp. Purchase Return" (calls, 3 links)Codeunit 22 "Item Jnl.-Post Line" (calls, 3 links)Codeunit 5407 "Prod. Order Status Management" (calls, 3 links)Codeunit 5510 "Production Journal Mgt" (calls, 3 links)Codeunit 5805 "Item Charge Assgnt. (Purch.)" (calls, 3 links)Codeunit 5807 "Item Charge Assgnt. (Sales)" (calls, 3 links)Codeunit 73 "Purch.-Explode BOM" (calls, 3 links)Codeunit 7307 "Whse.-Activity-Register" (calls, 3 links)Codeunit 99000773 "Calculate Prod. Order" (calls, 3 links)Codeunit 99000774 "Calculate Routing Line" (calls, 3 links)Codeunit 99000781 "Mfg. Calculate BOM Tree" (calls, 3 links)Codeunit 99000822 "Mfg. Item Jnl.-Post Line" (calls, 3 links)Codeunit 99000845 "Reservation Management" (calls, 3 links)Codeunit 99000854 "Inventory Profile Offsetting" (calls, 3 links)Codeunit 99000891 "Mfg. Item Tracking Mgt." (calls, 3 links)Report 4810 "Intrastat Report Get Lines" (calls, 3 links)Table 210 "Job Journal Line" (calls, 3 links)Table 37 "Sales Line" (calls, 3 links)Table 5741 "Transfer Line" (calls, 3 links)

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.Foundation.UOM · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
SingleInstance true

Events published

  • OnAfterCalcBaseQtyPerUnitOfMeasure(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal; var QtyRounded: Decimal) (integration)
  • OnAfterCalcQtyFromBasePerUnitOfMeasure(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal; var QtyRounded: Decimal) (integration)
  • OnAfterRoundToItemRndPrecision(Qty: Decimal; ItemRndPrecision: Decimal; var Result: Decimal) (integration)
  • OnBeforeGetQtyPerUnitOfMeasure(Item: Record Item; UnitOfMeasureCode: Code[10]; var QtyPerUnitOfMeasure: Decimal; var IsHandled: Boolean) (integration)
  • OnBeforeGetResQtyPerUnitOfMeasure(Resource: Record Resource; ResUnitOfMeasureCode: Code[10]; var QtyPerUnitOfMeasure: Decimal; var IsHandled: Boolean) (integration)
  • OnBeforeCubageRndPrecision(var RoundingPrecision: Decimal) (integration)
  • OnBeforeQtyRndPrecision(var RoundingPrecision: Decimal) (integration)
  • OnBeforeTimeRndPrecision(var RoundingPrecision: Decimal) (integration)
  • OnBeforeWeightRndPrecision(var RoundingPrecision: Decimal) (integration)

Event subscriptions

  • ClearItemUnitOfMeasureRec subscribes to Table “Item Unit of Measure” OnBeforeModifyEvent
  • ClearResourceUnitOfMeasureRec subscribes to Table “Resource Unit of Measure” OnBeforeModifyEvent

Procedures

  • GetQtyPerUnitOfMeasure(Item: Record Item; UnitOfMeasureCode: Code[10]): Decimal
  • GetQtyRoundingPrecision(Item: Record Item; UnitOfMeasureCode: Code[10]): Decimal
  • GetResQtyPerUnitOfMeasure(Resource: Record Resource; UnitOfMeasureCode: Code[10]): Decimal
  • CalcBaseQty(Qty: Decimal; QtyPerUOM: Decimal): Decimal
  • CalcBaseQty(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal): Decimal
  • CalcBaseQty(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal; QtyRndingPrecision: Decimal): Decimal
  • CalcBaseQty(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal; QtyRndingPrecision: Decimal; BasedOnField: Text; FromFieldName: Text; ToFieldName: Text): Decimal
  • CalcQtyFromBase(QtyBase: Decimal; QtyPerUOM: Decimal): Decimal
  • CalcQtyFromBase(ItemNo: Code[20]; VariantCode: Code[10]; UOMCode: Code[10]; QtyBase: Decimal; QtyPerUOM: Decimal): Decimal
  • RoundQty(Qty: Decimal): Decimal + BC25
  • RoundQty(Qty: Decimal; QtyRndingPrecision: Decimal): Decimal + BC25
  • RoundQty(Qty: Decimal; QtyRndingPrecision: Decimal; Direction: Text): Decimal + BC25
  • RoundAndValidateQty(Qty: Decimal; QtyRndingPrecision: Decimal; FieldName: Text): Decimal
  • ValidateQtyIsBalanced(TotalQty: Decimal; TotalQtyBase: Decimal; QtyToHandle: Decimal; QtyToHandleBase: Decimal; QtyHandled: Decimal; QtyHandledBase: Decimal) Δ BC26
  • RoundToItemRndPrecision(Qty: Decimal; ItemRndPrecision: Decimal): Decimal
  • QtyRndPrecision(): Decimal
  • CubageRndPrecision(): Decimal
  • TimeRndPrecision(): Decimal
  • WeightRndPrecision(): Decimal

Triggers

OnRun

Called by

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.

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: "Unit of Measure Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources