Codeunit 300 "Reservation Worksheet Mgt."
Base Application · Microsoft.Inventory.Tracking
Across versions
- BC23-24present
- BC257 events added, 6 procedures removed
- BC26-30unchanged
Neighbourhood 16 connected objects and pages
Base Application · Microsoft.Inventory.Tracking · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeCreateSourceDocumentText(var ReservationWkshLine: Record "Reservation Wksh. Line"; var LineText: Text[100])+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnBeforeCreateSourceDocumentText, Codeunit 929 “Asm. Get Demand To Reserve” OnBeforeCreateSourceDocumentText, Codeunit 99000839 “Sales Get Demand To Reserve” OnBeforeCreateSourceDocumentText, Codeunit 99000846 “Trans. Get Demand To Reserve” OnBeforeCreateSourceDocumentText, Codeunit 99000847 “Job Planning Line Get Demand” OnBeforeCreateSourceDocumentText, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnBeforeCreateSourceDocumentText
OnGetSourceDocumentLine(var ReservationWkshLine: Record "Reservation Wksh. Line"; var RecordVariant: Variant; var MaxQtyToReserve: Decimal; var MaxQtyToReserveBase: Decimal; var AvailabilityDate: Date)+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnGetSourceDocumentLine, Codeunit 929 “Asm. Get Demand To Reserve” OnGetSourceDocumentLine, Codeunit 99000839 “Sales Get Demand To Reserve” OnGetSourceDocumentLine, Codeunit 99000846 “Trans. Get Demand To Reserve” OnGetSourceDocumentLine, Codeunit 99000847 “Job Planning Line Get Demand” OnGetSourceDocumentLine, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnGetSourceDocumentLine
OnGetSourceDocumentLineQuantities(var ReservationWkshLine: Record "Reservation Wksh. Line"; var OutstandingQty: Decimal; var ReservedQty: Decimal; var ReservedFromStockQty: Decimal)+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnGetSourceDocumentLineQuantities, Codeunit 929 “Asm. Get Demand To Reserve” OnGetSourceDocumentLineQuantities, Codeunit 99000839 “Sales Get Demand To Reserve” OnGetSourceDocumentLineQuantities, Codeunit 99000846 “Trans. Get Demand To Reserve” OnGetSourceDocumentLineQuantities, Codeunit 99000847 “Job Planning Line Get Demand” OnGetSourceDocumentLineQuantities, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnGetSourceDocumentLineQuantities
OnShowSourceDocument(var ReservationWkshLine: Record "Reservation Wksh. Line")+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnShowSourceDocument, Codeunit 929 “Asm. Get Demand To Reserve” OnShowSourceDocument, Codeunit 99000839 “Sales Get Demand To Reserve” OnShowSourceDocument, Codeunit 99000846 “Trans. Get Demand To Reserve” OnShowSourceDocument, Codeunit 99000847 “Job Planning Line Get Demand” OnShowSourceDocument, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnShowSourceDocument
OnShowReservationEntries(var ReservationWkshLine: Record "Reservation Wksh. Line")+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnShowReservationEntries, Codeunit 929 “Asm. Get Demand To Reserve” OnShowReservationEntries, Codeunit 99000839 “Sales Get Demand To Reserve” OnShowReservationEntries, Codeunit 99000846 “Trans. Get Demand To Reserve” OnShowReservationEntries, Codeunit 99000847 “Job Planning Line Get Demand” OnShowReservationEntries, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnShowReservationEntries
OnShowStatistics(var ReservationWkshLine: Record "Reservation Wksh. Line")+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” OnShowStatistics, Codeunit 929 “Asm. Get Demand To Reserve” OnShowStatistics, Codeunit 99000839 “Sales Get Demand To Reserve” OnShowStatistics, Codeunit 99000846 “Trans. Get Demand To Reserve” OnShowStatistics, Codeunit 99000847 “Job Planning Line Get Demand” OnShowStatistics, Codeunit 99000858 “Mfg. Get Demand To Reserve” OnShowStatistics
OnCalculateDemandOnAfterSync(BatchName: Code[10]; var GetDemandToReserve: Report "Get Demand To Reserve")+ BC25 (integration)- subscribers: Codeunit 6485 “Serv. Get Demand To Reserve” SyncServiceOrderLines, Codeunit 929 “Asm. Get Demand To Reserve” SyncAssemblyOrderLines, Codeunit 99000839 “Sales Get Demand To Reserve” SyncSalesOrderLines, Codeunit 99000846 “Trans. Get Demand To Reserve” SyncTransferOrderLines, Codeunit 99000847 “Job Planning Line Get Demand” SyncJobPlanningLines, Codeunit 99000858 “Mfg. Get Demand To Reserve” SyncProdOrderComponents
Procedures
LookupName(var CurrentJnlBatchName: Code[10]; var ReservationWkshLine: Record "Reservation Wksh. Line")SetName(CurrentJnlBatchName: Code[10]; var ReservationWkshLine: Record "Reservation Wksh. Line")CheckName(CurrentJnlBatchName: Code[10])OpenJnl(var CurrentJnlBatchName: Code[10]; var ReservationWkshLine: Record "Reservation Wksh. Line")CalculateDemand(BatchName: Code[10])CreateSourceDocumentText(ReservationWkshLine: Record "Reservation Wksh. Line"): Text[100]GetSourceDocumentLine(ReservationWkshLine: Record "Reservation Wksh. Line"; var RecordVariant: Variant; var MaxQtyToReserve: Decimal; var MaxQtyToReserveBase: Decimal; var AvailabilityDate: Date)GetSourceDocumentLineQuantities(ReservationWkshLine: Record "Reservation Wksh. Line"; var OutstandingQty: Decimal; var ReservedQty: Decimal; var ReservedFromStockQty: Decimal)ShowSourceDocument(ReservationWkshLine: Record "Reservation Wksh. Line")ShowReservationEntries(ReservationWkshLine: Record "Reservation Wksh. Line")ShowStatistics(ReservationWkshLine: Record "Reservation Wksh. Line")GetAvailRemainingQtyOnItemLedgerEntry(var AvailableQtyBase: Decimal; var InventoryQtyBase: Decimal; var ReservedQtyBase: Decimal; var WarehouseQtyBase: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10])CarryOutAction(var ReservationWkshLine: Record "Reservation Wksh. Line")LogChanges(ReservationWkshLine: Record "Reservation Wksh. Line"; Qty: Decimal)AllocateQuantity(var ReservationWkshLine: Record "Reservation Wksh. Line")DeleteAllocation(var ReservationWkshLine: Record "Reservation Wksh. Line")AcceptSelected(var ReservationWkshLine: Record "Reservation Wksh. Line")CreateTransferOrder(var TransferHeader: Record "Transfer Header"; ReservationWkshLine: Record "Reservation Wksh. Line"; LocationFromCode: Code[10])
Plus 4 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 7314 “Warehouse Availability Mgt.” (3 calls:
GetAvailRemainingQtyOnItemLedgerEntry → CalcQtyOnOutboundBins,GetAvailRemainingQtyOnItemLedgerEntry → CalcQtyOnSpecialBinsOnLocation,GetAvailRemainingQtyOnItemLedgerEntry → GetOutboundBinsOnBasicWarehouseLocation)
Called by
- Page 305 “Reservation Worksheet” (3 calls:
CurrentWkshBatchNameOnAfterValidate → SetName,OnOpenPage → OpenJnl,SetCurrentWkshBatchName → SetName) - Report 300 “Carry Out Reservation” (2 calls:
Reserve → GetSourceDocumentLine,Reserve → LogChanges) - Codeunit 6485 “Serv. Get Demand To Reserve” (1 call:
SyncServiceOrderLines → GetAvailRemainingQtyOnItemLedgerEntry) - Codeunit 929 “Asm. Get Demand To Reserve” (1 call:
SyncAssemblyOrderLines → GetAvailRemainingQtyOnItemLedgerEntry) - Codeunit 99000839 “Sales Get Demand To Reserve” (1 call:
SyncSalesOrderLines → GetAvailRemainingQtyOnItemLedgerEntry) - Codeunit 99000846 “Trans. Get Demand To Reserve” (1 call:
SyncTransferOrderLines → GetAvailRemainingQtyOnItemLedgerEntry) - Codeunit 99000847 “Job Planning Line Get Demand” (1 call:
SyncJobPlanningLines → GetAvailRemainingQtyOnItemLedgerEntry) - Codeunit 99000858 “Mfg. Get Demand To Reserve” (1 call:
SyncProdOrderComponents → GetAvailRemainingQtyOnItemLedgerEntry) - Page 330 “Reservation Wksh. Factbox” (1 call:
OnAfterGetRecord → GetSourceDocumentLineQuantities)
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: "Reservation Worksheet Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.