codeunitAssemblyofficial - Microsoftderived - from the source, no model text

Codeunit 900 "Assembly-Post"

Base Application · Microsoft.Assembly.Posting

Across versions

  1. BC23present
  2. BC242 procedures added, 2 events added
  3. BC25unchanged
  4. BC263 procedures added, 1 procedures removed
  5. BC271 procedures added
  6. BC281 procedures added, 1 events added
  7. BC29-30unchanged

Neighbourhood 35 connected objects and pages

Table 900 "Assembly Header" (relates to)Codeunit 6255 "Sust. Assembly Subscriber" (event subscribers, 9 links)Sust. Assembly SubscriberCodeunit 1508 "Notification Lifecycle Handler" (event subscribers, 2 links)Notification Lifecycle HandlerCodeunit 20412 "Qlty. Assembly Integration" (event subscribers)Codeunit 99000830 "Create Reserv. Entry" (calls, 8 links)Create Reserv. EntryCodeunit 22 "Item Jnl.-Post Line" (calls, 7 links)Item Jnl.-Post LineCodeunit 80 "Sales-Post" (calls, 6 links)Sales-PostCodeunit 408 "DimensionManagement" (calls, 5 links)DimensionManagementCodeunit 5402 "Unit of Measure Management" (calls, 5 links)Unit of Measure ManagementCodeunit 5817 "Undo Posting Management" (calls, 5 links)Codeunit 926 "Assembly Line-Reserve" (calls, 5 links)Assembly Line-ReserveCodeunit 5815 "Undo Sales Shipment Line" (calls, 4 links)Undo Sales Shipment LineCodeunit 6500 "Item Tracking Management" (calls, 4 links)Item Tracking ManagementCodeunit 7302 "WMS Management" (calls, 4 links)Codeunit 901 "Assembly-Post (Yes/No)" (calls, 4 links)Assembly-Post (Yes/No)Codeunit 1012 "Job Jnl.-Post Line" (calls, 3 links)Job Jnl.-Post LineCodeunit 925 "Assembly Header-Reserve" (calls, 3 links)Assembly Header-ReserveCodeunit 1380 "Batch Processing Mgt." (calls, 2 links)Batch Processing Mgt.Codeunit 19 "Gen. Jnl.-Post Preview" (calls, 2 links)Codeunit 1013 "Job Jnl.-Post Batch" (calls)Codeunit 11 "Gen. Jnl.-Check Line" (calls)Codeunit 212 "Res. Jnl.-Post Line" (calls)Codeunit 447 "Record Link Management" (calls)Codeunit 5775 "Whse. Management" (calls)Codeunit 5894 "Inventory Adjustment Handler" (calls)Codeunit 6503 "Item Tracking Doc. Management" (calls)Codeunit 7301 "Whse. Jnl.-Register Line" (calls)Codeunit 903 "Release Assembly Document" (calls)Codeunit 904 "Whse.-Assembly Release" (calls)Codeunit 9070 "Document Errors Mgt." (calls)Codeunit 911 "Pstd. Assembly - Undo (Yes/No)" (calls)Codeunit 950 "Time Sheet Management" (calls)Codeunit 9500 "Sequence No. Mgt." (calls)Codeunit 99000832 "Sales Line-Reserve" (calls)Page 456 "No. Series" (calls)

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

Properties

Property Value
TableNo Assembly Header
Permissions TableData “Posted Assembly Header” = rim, TableData “Posted Assembly Line” = rim, TableData “Item Entry Relation” = ri, TableData “G/L Entry” = r

Events published

  • OnAfterCreateItemJnlLineFromAssemblyHeader(var ItemJournalLine: Record "Item Journal Line"; AssemblyHeader: Record "Assembly Header") (integration)
  • OnAfterCreateItemJnlLineFromAssemblyLine(var ItemJournalLine: Record "Item Journal Line"; AssemblyLine: Record "Assembly Line") (integration)
  • OnAfterCreateResJnlLineFromItemJnlLine(var ResJournalLine: Record "Res. Journal Line"; ItemJournalLine: Record "Item Journal Line"; AssemblyLine: Record "Assembly Line") (integration)
  • OnAfterCreateWhseJnlLineFromItemJnlLine(var WarehouseJournalLine: Record "Warehouse Journal Line"; ItemJournalLine: Record "Item Journal Line") (integration)
  • OnAfterDeleteAssemblyDocument(var AssemblyHeader: Record "Assembly Header") (integration)
  • OnAfterFinalizePost(var AssemblyHeader: Record "Assembly Header") (integration)
  • OnAfterInitPost(var AssemblyHeader: Record "Assembly Header"; SuppressCommit: Boolean) (integration)
  • OnAfterOnRun(var AssemblyHeader: Record "Assembly Header"; SuppressCommit: Boolean) (integration)
  • OnAfterPost(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; PostedAssemblyHeader: Record "Posted Assembly Header"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var ResJnlPostLine: Codeunit "Res. Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line") (integration)
  • OnAfterPostedAssemblyLineInsert(var PostedAssemblyLine: Record "Posted Assembly Line"; AssemblyLine: Record "Assembly Line") (integration)
  • OnAfterPostedAssemblyHeaderModify(var PostedAssemblyHeader: Record "Posted Assembly Header"; AssemblyHeader: Record "Assembly Header"; ItemLedgEntryNo: Integer) (integration)
  • OnAfterRecreateAsmOrderWithUndo(var PostedAssemblyHeader: Record "Posted Assembly Header"; var AssemblyHeader: Record "Assembly Header") (integration)
  • OnAfterValidatePostingDate(var AssemblyHeader: Record "Assembly Header"; PostingDateExists: Boolean; ReplacePostingDate: Boolean) (integration)
  • OnAfterUndoInitPost(var PostedAssemblyHeader: Record "Posted Assembly Header"; var PostingDate: Date) + BC24 − BC24 (integration)
  • OnAfterUndoPost(var PostedAssemblyHeader: Record "Posted Assembly Header"; SuppressCommit: Boolean) (integration)
  • OnAfterUpdateAsmOrderWithUndo(var PostedAssemblyHeader: Record "Posted Assembly Header"; var AssemblyHeader: Record "Assembly Header") (integration)
  • OnBeforeAssemblyLineModify(var AssemblyLine: Record "Assembly Line"; QtyToConsumeBase: Decimal) (integration)
  • OnBeforeCheckWhseJnlLine(var WarehouseJournalLine: Record "Warehouse Journal Line"; ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeDeleteAssemblyDocument(AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean) (integration)
  • OnBeforeFinalizePost(var AssemblyHeader: Record "Assembly Header") (integration)
  • OnBeforeInitPost(var AssemblyHeader: Record "Assembly Header"; SuppressCommit: Boolean; var GenJnlPostPreview: Codeunit "Gen. Jnl.-Post Preview"; var PostingDate: Date; PostingDateExists: Boolean; ReplacePostingDate: Boolean) (integration)
  • OnBeforeOnRun(var AssemblyHeader: Record "Assembly Header"; SuppressCommit: Boolean) (integration)
  • OnBeforePost(var AssemblyHeader: Record "Assembly Header") (integration)
  • OnBeforePostCorrectionItemJnLine(var ItemJournalLine: Record "Item Journal Line"; var TempItemLedgEntry: Record "Item Ledger Entry" temporary) (integration)
  • OnBeforePostItemConsumption(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnBeforePostWhseJnlLine(AssemblyHeader: Record "Assembly Header"; ItemJnlLine: Record "Item Journal Line"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line"; Location: Record Location; SourceCode: Code[10]; var IsHandled: Boolean) (integration)
  • OnBeforePostedAssemblyLineInsert(var PostedAssemblyLine: Record "Posted Assembly Line"; AssemblyLine: Record "Assembly Line") (integration)
  • OnBeforePostItemConsumptionProcedure(AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; PostingNoSeries: Code[20]; QtyToConsume: Decimal; QtyToConsumeBase: Decimal; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line"; DocumentNo: Code[20]; IsCorrection: Boolean; ApplyToEntryNo: Integer; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnBeforePostItemOutputProcedure(AssemblyHeader: Record "Assembly Header"; PostingNoSeries: Code[20]; QtyToOutput: Decimal; QtyToOutputBase: Decimal; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line"; DocumentNo: Code[20]; IsCorrection: Boolean; ApplyToEntryNo: Integer; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeRecreatedAsmHeaderInsert(var AssemblyHeader: Record "Assembly Header"; PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnDeleteAssemblyDocumentOnBeforeDeleteAssemblyHeader(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line") (integration)
  • OnDeleteAssemblyDocumentOnAfterDeleteAssemblyHeader(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line") (integration)
  • OnDeleteAssemblyDocumentOnBeforeDeleteAssemblyLines(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line") (integration)
  • OnInsertHeaderItemEntryRelationOnAfterInsertItemEntryRelation(var ItemEntryRelation: Record "Item Entry Relation"; var PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnPostHeaderOnAfterPostItemOutput(var AssemblyHeader: Record "Assembly Header"; var HeaderQty: Decimal; var HeaderQtyBase: Decimal) (integration)
  • OnPostHeaderOnBeforePostItemOutput(var AssemblyHeader: Record "Assembly Header"; var HeaderQty: Decimal; var HeaderQtyBase: Decimal) (integration)
  • OnPostItemConsumptionOnAfterPostItemJnlLine(var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var AssemblyLine: Record "Assembly Line") (integration)
  • OnPostOnAfterPostedAssemblyHeaderInsert(AssemblyHeader: Record "Assembly Header"; var PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnPostOnAfterCopyComments(AssemblyHeader: Record "Assembly Header"; PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnPostOnBeforePostedAssemblyHeaderInsert(AssemblyHeader: Record "Assembly Header"; var PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnPostLinesOnAfterGetLineQtys(var LineQty: Decimal; var LineQtyBase: Decimal; var AssemblyLine: Record "Assembly Line") (integration)
  • OnPostLinesOnAfterAssemblyLineSetFilters(AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; PostedAssemblyHeader: Record "Posted Assembly Header") + BC28 (integration)
  • OnPostWhseJnlLineOnBeforeGetWhseItemTrkgSetup(ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnUndoPostHeaderOnAfterTransferFields(var AssemblyHeader: Record "Assembly Header"; PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnUndoPostLinesOnAfterTransferFields(var AssemblyLine: Record "Assembly Line"; AssemblyHeader: Record "Assembly Header"; PostedAssemblyHeader: Record "Posted Assembly Header") (integration)
  • OnUndoPostLinesOnBeforeSortPostedLines(PostedAssemblyHeader: Record "Posted Assembly Header"; var PostedAssemblyLine: Record "Posted Assembly Line") (integration)
  • OnBeforeRestoreItemTracking(var ItemLedgerEntry: Record "Item Ledger Entry"; OrderNo: Code[20]; OrderLineNo: Integer; SourceType: Integer; DocType: Option; RcptDate: Date; ShptDate: Date; var IsHandled: Boolean) (integration)
  • OnBeforeCreateWhseJnlLine(Location: Record Location; var WarehouseJournalLine: Record "Warehouse Journal Line"; AssemblyHeader: Record "Assembly Header"; ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeCheckPossibleToUndo(PostedAssemblyHeader: Record "Posted Assembly Header"; var IsHandled: Boolean) (integration)
  • OnBeforeRestoreItemTrackingOnBeforeCreateSalesAssemblyReservationEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; AssemblyHeader: Record "Assembly Header"; var ATOLink: Record "Assemble-to-Order Link"; var CreateReservEntry: Codeunit "Create Reserv. Entry"; var FromTrackingSpecification: Record "Tracking Specification"; var ReservStatus: Enum "Reservation Status"; var IsHandled: Boolean) + BC24 (integration)

Event subscriptions

  • OnBeforePostValueEntryToGL subscribes to Codeunit “Item Jnl.-Post Line” OnBeforePostValueEntryToGL
  • OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem subscribes to Codeunit “Item Jnl.-Post Line” OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem

Procedures

  • SetPostingDate(NewReplacePostingDate: Boolean; NewPostingDate: Date)
  • SetSuppressCommit(NewSuppressCommit: Boolean)
  • SetPreviewMode(NewPreviewMode: Boolean)
  • Undo(var PostedAsmHeader: Record "Posted Assembly Header"; RecreateAsmOrder: Boolean)
  • InitPostATO(var AssemblyHeader: Record "Assembly Header")
  • PostATO(var AssemblyHeader: Record "Assembly Header"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var ResJnlPostLine: Codeunit "Res. Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line")
  • FinalizePostATO(var AssemblyHeader: Record "Assembly Header")
  • UndoInitPostATO(var PostedAsmHeader: Record "Posted Assembly Header")
  • UndoPostATO(var PostedAsmHeader: Record "Posted Assembly Header"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var ResJnlPostLine: Codeunit "Res. Jnl.-Post Line"; var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line")
  • UndoFinalizePostATO(var PostedAsmHeader: Record "Posted Assembly Header")
  • UpdateBlanketATO(xBlanketOrderSalesLine: Record "Sales Line"; BlanketOrderSalesLine: Record "Sales Line")

Plus 54 local procedures.

Triggers

OnRun

Relations

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: "Assembly-Post"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources