Table "Assembly Header"
ID 900
Namespace: Microsoft.Assembly.Document
Properties
Fields
| Name |
Type |
Description |
| "Document Type" |
Enum Microsoft.Assembly.Document."Assembly Document Type"
|
Specifies the type of assembly document the record represents in assemble-to-order scenarios.
|
| "No." |
Code[20]
|
Specifies the number of the involved entry or record, according to the specified number series.
|
| Description |
Text[100]
|
Specifies the description of the assembly item.
|
| "Search Description" |
Code[100]
|
|
| "Description 2" |
Text[50]
|
Specifies information in addition to the description.
|
| "Creation Date" |
Date
|
|
| "Last Date Modified" |
Date
|
|
| "Item No." |
Code[20]
|
Specifies the number of the item that is being assembled with the assembly order.
|
| "Variant Code" |
Code[10]
|
Specifies the variant of the item on the line.
|
| "Inventory Posting Group" |
Code[20]
|
|
| "Gen. Prod. Posting Group" |
Code[20]
|
|
| "Gen. Bus. Posting Group" |
Code[20]
|
Specifies the code for the General Business Posting Group that applies to the entry.
|
| Comment |
Boolean
|
|
| "Location Code" |
Code[10]
|
Specifies the location to which you want to post output of the assembly item.
|
| "Shortcut Dimension 1 Code" |
Code[20]
|
Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window.
|
| "Shortcut Dimension 2 Code" |
Code[20]
|
Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window.
|
| "Posting Date" |
Date
|
Specifies the date on which the assembly order is posted.
|
| "Due Date" |
Date
|
Specifies the date when the assembled item is due to be available for use.
|
| "Starting Date" |
Date
|
Specifies the date when the assembly order is expected to start.
|
| "Ending Date" |
Date
|
Specifies the date when the assembly order is expected to finish.
|
| "Bin Code" |
Code[20]
|
Specifies the bin the assembly item is posted to as output and from where it is taken to storage or shipped if it is assembled to a sales order.
|
| Quantity |
Decimal
|
Specifies how many units of the assembly item that you expect to assemble with the assembly order.
|
| "Quantity (Base)" |
Decimal
|
|
| "Remaining Quantity" |
Decimal
|
Specifies how many units of the assembly item remain to be posted as assembled output.
|
| "Remaining Quantity (Base)" |
Decimal
|
|
| "Assembled Quantity" |
Decimal
|
Specifies how many units of the assembly item are posted as assembled output.
|
| "Assembled Quantity (Base)" |
Decimal
|
|
| "Quantity to Assemble" |
Decimal
|
Specifies how many of the assembly item units you want to partially post. To post the full quantity on the assembly order, leave the field unchanged.
|
| "Quantity to Assemble (Base)" |
Decimal
|
|
| "Reserved Quantity" |
Decimal
|
Specifies how many units of the assembly item are reserved for this assembly order header.
|
| "Reserved Qty. (Base)" |
Decimal
|
|
| "Planning Flexibility" |
Enum Microsoft.Inventory.Tracking."Reservation Planning Flexibility"
|
Specifies whether the supply represented by the assembly order is considered by the planning system when calculating action messages.
|
| "MPS Order" |
Boolean
|
|
| "Assemble to Order" |
Boolean
|
Specifies if the assembly order is linked to a sales order, which indicates that the item is assembled to order.
|
| "Posting No." |
Code[20]
|
|
| "Unit Cost" |
Decimal
|
Specifies the cost of one unit of the item or resource on the line.
|
| "Cost Amount" |
Decimal
|
Specifies the total unit cost of the assembly order.
|
| "Rolled-up Assembly Cost" |
Decimal
|
|
| "Indirect Cost %" |
Decimal
|
Specifies the percentage of the item's last purchase cost that includes indirect costs, such as freight that is associated with the purchase of the item.
|
| "Overhead Rate" |
Decimal
|
Specifies the indirect cost of the assembly item as an absolute amount.
|
| "Unit of Measure Code" |
Code[10]
|
Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.
|
| "Qty. per Unit of Measure" |
Decimal
|
|
| "Qty. Rounding Precision" |
Decimal
|
|
| "Qty. Rounding Precision (Base)" |
Decimal
|
|
| "No. Series" |
Code[20]
|
|
| "Posting No. Series" |
Code[20]
|
|
| Status |
Option
|
Specifies if the document is open, waiting to be approved, invoiced for prepayment, or released to the next stage of processing.
|
| "Dimension Set ID" |
Integer
|
|
| "Assigned User ID" |
Code[50]
|
Specifies the ID of the user who is responsible for the document.
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemCreatedByUserName |
Text[50]
|
|
| SystemCreatedByFullName |
Text[80]
|
|
| SystemModifiedByUserName |
Text[50]
|
|
| SystemModifiedByFullName |
Text[80]
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
InitRecord
InitRemainingQty
procedure InitRemainingQty()
InitQtyToAssemble
procedure InitQtyToAssemble()
AssistEdit
procedure AssistEdit(OldAssemblyHeader: Record "Assembly Header"): Boolean
Parameters
Returns
SetHideValidationDialog
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name |
Type |
Description |
|
NewHideValidationDialog
|
Boolean |
|
DeleteAssemblyLines
procedure DeleteAssemblyLines()
ShowReservation
procedure ShowReservation()
ShowReservationEntries
procedure ShowReservationEntries(Modal: Boolean)
Parameters
| Name |
Type |
Description |
|
Modal
|
Boolean |
|
AutoReserveAsmLine
procedure AutoReserveAsmLine(AssemblyLine: Record "Assembly Line")
Parameters
SetTestReservationDateConflict
procedure SetTestReservationDateConflict(NewTestReservationDateConflict: Boolean)
Parameters
| Name |
Type |
Description |
|
NewTestReservationDateConflict
|
Boolean |
|
CreateDim
procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name |
Type |
Description |
|
DefaultDimSource
|
List of [Dictionary of [Integer, Code[20]]] |
|
ValidateShortcutDimCode
procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name |
Type |
Description |
|
FieldNumber
|
Integer |
|
|
ShortcutDimCode
|
Code[20] |
|
AssemblyOrderLineExist
procedure AssemblyOrderLineExist(): Boolean
Returns
GetRemainingQty
procedure GetRemainingQty(var RemainingQty: Decimal; var RemainingQtyBase: Decimal)
Parameters
| Name |
Type |
Description |
|
RemainingQty
|
Decimal |
|
|
RemainingQtyBase
|
Decimal |
|
GetReservationQty
procedure GetReservationQty(var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
QtyReserved
|
Decimal |
|
|
QtyReservedBase
|
Decimal |
|
|
QtyToReserve
|
Decimal |
|
|
QtyToReserveBase
|
Decimal |
|
Returns
GetSourceCaption
procedure GetSourceCaption(): Text[80]
Returns
| Type |
Description |
|
Text[80] |
|
SetReservationEntry
procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")
Parameters
SetReservationFilters
procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")
Parameters
ReservEntryExist
procedure ReservEntryExist(): Boolean
Returns
SetItemToPlanFilters
procedure SetItemToPlanFilters(var Item2: Record Item; DocumentType: Enum "Assembly Document Type")
Parameters
FindItemToPlanLines
procedure FindItemToPlanLines(var Item2: Record Item; DocumentType: Enum "Assembly Document Type"): Boolean
Parameters
Returns
ItemToPlanLinesExist
procedure ItemToPlanLinesExist(var Item2: Record Item; DocumentType: Enum "Assembly Document Type"): Boolean
Parameters
Returns
FilterLinesForReservation
procedure FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; DocumentType: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
ShowStatistics
Obsolete
This element will become obsolete from version 27.0. the statistics action is refactored to use the RunObject property
[Obsolete(the statistics action is refactored to use the RunObject property,27.0)]
procedure ShowStatistics()
UpdateUnitCost
procedure UpdateUnitCost()
SetItemFilter
procedure SetItemFilter(var Item2: Record Item)
Parameters
ShowAssemblyList
procedure ShowAssemblyList()
RoundQty
procedure RoundQty(var Qty: Decimal)
Parameters
| Name |
Type |
Description |
|
Qty
|
Decimal |
|
CalcActualCosts
procedure CalcActualCosts(var ActCost: array[5] of Decimal)
Parameters
| Name |
Type |
Description |
|
ActCost
|
array[5] of Decimal |
|
CalcStartDateFromEndDate
procedure CalcStartDateFromEndDate(EndingDate: Date): Date
Parameters
| Name |
Type |
Description |
|
EndingDate
|
Date |
|
Returns
CalcEndDateFromStartDate
procedure CalcEndDateFromStartDate(StartingDate: Date): Date
Parameters
| Name |
Type |
Description |
|
StartingDate
|
Date |
|
Returns
CalcEndDateFromDueDate
procedure CalcEndDateFromDueDate(DueDate: Date): Date
Parameters
| Name |
Type |
Description |
|
DueDate
|
Date |
|
Returns
CalcDueDateFromEndDate
procedure CalcDueDateFromEndDate(EndingDate: Date): Date
Parameters
| Name |
Type |
Description |
|
EndingDate
|
Date |
|
Returns
ValidateDates
procedure ValidateDates(FieldNumToCalculateFrom: Integer; DoNotValidateButJustAssign: Boolean)
Parameters
| Name |
Type |
Description |
|
FieldNumToCalculateFrom
|
Integer |
|
|
DoNotValidateButJustAssign
|
Boolean |
|
ValidateDueDate
procedure ValidateDueDate(NewDueDate: Date; CallValidateOnOtherDates: Boolean)
Parameters
| Name |
Type |
Description |
|
NewDueDate
|
Date |
|
|
CallValidateOnOtherDates
|
Boolean |
|
ValidateEndDate
procedure ValidateEndDate(NewEndDate: Date; CallValidateOnOtherDates: Boolean)
Parameters
| Name |
Type |
Description |
|
NewEndDate
|
Date |
|
|
CallValidateOnOtherDates
|
Boolean |
|
ValidateStartDate
procedure ValidateStartDate(NewStartDate: Date; CallValidateOnOtherDates: Boolean)
Parameters
| Name |
Type |
Description |
|
NewStartDate
|
Date |
|
|
CallValidateOnOtherDates
|
Boolean |
|
GetDefaultBin
procedure GetDefaultBin()
GetFromAssemblyBin
procedure GetFromAssemblyBin(Location: Record Location; var BinCode: Code[20]): Boolean
Parameters
Returns
ValidateBinCode
procedure ValidateBinCode(NewBinCode: Code[20])
Parameters
| Name |
Type |
Description |
|
NewBinCode
|
Code[20] |
|
CreatePick
procedure CreatePick(ShowRequestPage: Boolean; AssignedUserID: Code[50]; SortingMethod: Option; SetBreakBulkFilter: Boolean; DoNotFillQtyToHandle: Boolean; PrintDocument: Boolean)
Parameters
| Name |
Type |
Description |
|
ShowRequestPage
|
Boolean |
|
|
AssignedUserID
|
Code[50] |
|
|
SortingMethod
|
Option |
|
|
SetBreakBulkFilter
|
Boolean |
|
|
DoNotFillQtyToHandle
|
Boolean |
|
|
PrintDocument
|
Boolean |
|
CreateInvtMovement
procedure CreateInvtMovement(MakeATOInvtMvmt: Boolean; PrintDocumentForATOMvmt: Boolean; ShowErrorForATOMvmt: Boolean; var ATOMovementsCreated: Integer; var ATOTotalMovementsToBeCreated: Integer)
Parameters
| Name |
Type |
Description |
|
MakeATOInvtMvmt
|
Boolean |
|
|
PrintDocumentForATOMvmt
|
Boolean |
|
|
ShowErrorForATOMvmt
|
Boolean |
|
|
ATOMovementsCreated
|
Integer |
|
|
ATOTotalMovementsToBeCreated
|
Integer |
|
CompletelyPicked
procedure CompletelyPicked(): Boolean
Returns
IsInbound
procedure IsInbound(): Boolean
Returns
OpenItemTrackingLines
procedure OpenItemTrackingLines()
ItemExists
procedure ItemExists(ItemNo: Code[20]): Boolean
Parameters
| Name |
Type |
Description |
|
ItemNo
|
Code[20] |
|
Returns
TestStatusOpen
procedure TestStatusOpen()
SuspendStatusCheck
procedure SuspendStatusCheck(Suspend: Boolean)
Parameters
| Name |
Type |
Description |
|
Suspend
|
Boolean |
|
IsStatusCheckSuspended
procedure IsStatusCheckSuspended(): Boolean
Returns
ShowTracking
ShowAsmToOrder
procedure ShowAsmToOrder()
IsAsmToOrder
procedure IsAsmToOrder(): Boolean
Returns
CheckIsNotAsmToOrder
procedure CheckIsNotAsmToOrder()
CheckIsNotAsmToOrder
procedure CheckIsNotAsmToOrder(CallingFieldNo: Integer)
Parameters
| Name |
Type |
Description |
|
CallingFieldNo
|
Integer |
|
IsStandardCostItem
procedure IsStandardCostItem(): Boolean
Returns
ShowDueDateBeforeWorkDateMsg
procedure ShowDueDateBeforeWorkDateMsg()
AddBOMLine
procedure AddBOMLine(BOMComp: Record "BOM Component")
Parameters
UpdateWarningOnLines
procedure UpdateWarningOnLines()
SetWarningsOff
procedure SetWarningsOff()
SetWarningsOn
procedure SetWarningsOn()
CalcTotalCost
procedure CalcTotalCost(var ExpCost: array[5] of Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
ExpCost
|
array[5] of Decimal |
|
Returns
RowID1
procedure RowID1(): Text[250]
Returns
| Type |
Description |
|
Text[250] |
|
CreateDimFromDefaultDim
procedure CreateDimFromDefaultDim()
AssemblyLinesExist
procedure AssemblyLinesExist(): Boolean
Returns
ChangeGenBusPostingGroupAssemblyLines
procedure ChangeGenBusPostingGroupAssemblyLines()
GetHideValidationDialog
procedure GetHideValidationDialog(): Boolean
Returns
Events
OnAfterInitDefaultDimensionSources
[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var AssemblyHeader: Record "Assembly Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; CallingFieldNo: Integer)
Parameters
OnAfterCalcEndDateFromStartDate
[IntegrationEvent(False,False)]
local procedure OnAfterCalcEndDateFromStartDate(var AssemblyHeader: Record "Assembly Header"; var Result: Date)
Parameters
OnAfterCalcStartDateFromEndDate
[IntegrationEvent(False,False)]
local procedure OnAfterCalcStartDateFromEndDate(var AssemblyHeader: Record "Assembly Header"; var Result: Date)
Parameters
OnAfterGetNoSeriesCode
[IntegrationEvent(False,False)]
local procedure OnAfterGetNoSeriesCode(AssemblyHeader: Record "Assembly Header"; var Result: Code[20])
Parameters
OnAfterGetSKU
[IntegrationEvent(False,False)]
local procedure OnAfterGetSKU(AssemblyHeader: Record "Assembly Header"; var Result: Boolean)
Parameters
OnAfterCreateDim
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var AssemblyHeader: Record "Assembly Header"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
OnAfterFilterLinesForReservation
[IntegrationEvent(False,False)]
local procedure OnAfterFilterLinesForReservation(var AssemblyHeader: Record "Assembly Header"; ReservEntry: Record "Reservation Entry"; DocumentType: Option; AvailabilityFilter: Text; Positive: Boolean)
Parameters
OnAfterInitQtyToAssemble
[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyToAssemble(var AssemblyHeader: Record "Assembly Header"; CallingFieldNo: Integer)
Parameters
OnAfterInitRecord
[IntegrationEvent(False,False)]
local procedure OnAfterInitRecord(var AssemblyHeader: Record "Assembly Header")
Parameters
OnAfterInitRemaining
[IntegrationEvent(False,False)]
local procedure OnAfterInitRemaining(var AssemblyHeader: Record "Assembly Header"; CallingFieldNo: Integer)
Parameters
OnAfterRoundQty
[IntegrationEvent(False,False)]
local procedure OnAfterRoundQty(AssemblyHeader: Record "Assembly Header"; var Qty: Decimal)
Parameters
OnAfterSetItemToPlanFilters
[IntegrationEvent(False,False)]
local procedure OnAfterSetItemToPlanFilters(var AssemblyHeader: Record "Assembly Header"; var Item: Record Item; AssemblyDocumentType: Enum "Assembly Document Type")
Parameters
OnAfterSetReservationFilters
[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry"; AssemblyHeader: Record "Assembly Header")
Parameters
OnAfterShowDimensions
[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var AssemblyHeader: Record "Assembly Header")
Parameters
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeDoValidateDates
[IntegrationEvent(False,False)]
local procedure OnBeforeDoValidateDates(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; FieldNumToCalculateFrom: Integer; NewDueDate: Date; NewEndDate: Date; NewStartDate: Date; var ValidateConfirmed: Boolean)
Parameters
OnBeforeOpenItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnBeforeOpenItemTrackingLines(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnBeforeShowDueDateBeforeWorkDateMsg
[IntegrationEvent(False,False)]
local procedure OnBeforeShowDueDateBeforeWorkDateMsg(AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnBeforeValidateDueDate
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateDueDate(var AssemblyHeader: Record "Assembly Header"; NewDueDate: Date)
Parameters
OnBeforeReplaceLinesFromBOM
[IntegrationEvent(False,False)]
local procedure OnBeforeReplaceLinesFromBOM(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var ReturnValue: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeRunWhseSourceCreateDocument
[IntegrationEvent(False,False)]
local procedure OnBeforeRunWhseSourceCreateDocument(var AssemblyHeader: Record "Assembly Header"; ShowRequestPage: Boolean; AssignedUserID: Code[50]; SortingMethod: Option; SetBreakBulkFilter: Boolean; DoNotFillQtyToHandle: Boolean; PrintDocument: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCreateInvtMovement
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateInvtMovement(var AssemblyHeader: Record "Assembly Header"; MakeATOInvtMvmt: Boolean; PrintDocumentForATOMvmt: Boolean; ShowErrorForATOMvmt: Boolean; var ATOMovementsCreated: Integer; var ATOTotalMovementsToBeCreated: Integer; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
AssemblyHeader
|
Table Microsoft.Assembly.Document."Assembly Header" |
|
|
MakeATOInvtMvmt
|
Boolean |
|
|
PrintDocumentForATOMvmt
|
Boolean |
|
|
ShowErrorForATOMvmt
|
Boolean |
|
|
ATOMovementsCreated
|
Integer |
|
|
ATOTotalMovementsToBeCreated
|
Integer |
|
|
IsHandled
|
Boolean |
|
OnValidateItemNoOnAfterGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterGetDefaultBin(var AssemblyHeader: Record "Assembly Header"; Item: Record Item)
Parameters
OnValidateItemNoOnBeforeValidateDates
[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnBeforeValidateDates(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnValidateLocationCodeOnBeforeValidateDates
[IntegrationEvent(False,False)]
local procedure OnValidateLocationCodeOnBeforeValidateDates(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnValiateQuantityOnAfterCalcBaseQty
[IntegrationEvent(False,False)]
local procedure OnValiateQuantityOnAfterCalcBaseQty(var AssemblyHeader: Record "Assembly Header"; CurrentFieldNo: Integer)
Parameters
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
OnBeforeValidateQuantityBase
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; FieldNumber: Integer; var IsHandled: Boolean)
Parameters
OnBeforeValidateQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; FieldNumber: Integer; var IsHandled: Boolean)
Parameters
OnValidateVariantCodeOnBeforeUpdateAssemblyLines
[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnBeforeUpdateAssemblyLines(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; CurrentFieldNo: Integer; CurrentFieldNum: Integer; var IsHandled: Boolean)
Parameters
OnValidateVariantCodeOnBeforeValidateDates
[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnBeforeValidateDates(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateAssemblyLinesAndVerifyReserveQuantity
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAssemblyLinesAndVerifyReserveQuantity(var AssemblyHeader: Record "Assembly Header"; var xAssemblyHeader: Record "Assembly Header"; CallingFieldNo: Integer; CurrentFieldNum: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCalcBaseQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcBaseQty(var AssemblyHeader: Record "Assembly Header"; Qty: Decimal; FromFieldName: Text; ToFieldName: Text; var Result: Decimal; var IsHandled: Boolean)
Parameters
OnBeforeCalcStartDateFromEndDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcStartDateFromEndDate(var AssemblyHeader: Record "Assembly Header"; var Result: Date; var IsHandled: Boolean)
Parameters
OnBeforeCalcEndDateFromStartDate
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcEndDateFromStartDate(var AssemblyHeader: Record "Assembly Header")
Parameters
OnBeforeCheckIsNotAsmToOrder
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIsNotAsmToOrder(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean; xAssemblyHeader: Record "Assembly Header"; CurrentFieldNo: Integer; CallingFieldNo: Integer)
Parameters
OnBeforeShowReservation
[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnBeforeValidateDates
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateDates(var AssemblyHeader: Record "Assembly Header"; FieldNumToCalculateFrom: Integer; var DoNotValidateButJustAssign: Boolean; var IsHandled: Boolean)
Parameters
OnUpdateAllLineDimOnBeforeConfirmUpdatedDimension
[IntegrationEvent(False,False)]
local procedure OnUpdateAllLineDimOnBeforeConfirmUpdatedDimension(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
OnBeforeGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean; xAssemblyHeader: Record "Assembly Header")
Parameters
OnAfterGetDefaultBin
[IntegrationEvent(False,False)]
local procedure OnAfterGetDefaultBin(var AssemblyHeader: Record "Assembly Header")
Parameters
OnAfterRunWhseSourceCreateDocument
[IntegrationEvent(False,False)]
local procedure OnAfterRunWhseSourceCreateDocument(var AssemblyHeader: Record "Assembly Header"; ShowRequestPage: Boolean; AssignedUserID: Code[50]; SortingMethod: Option; SetBreakBulkFilter: Boolean; DoNotFillQtyToHandle: Boolean; PrintDocument: Boolean)
Parameters
OnBeforeCreateDim
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var AssemblyHeader: Record "Assembly Header"; CurrentFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)
Parameters
OnAfterValidateDates
[IntegrationEvent(False,False)]
local procedure OnAfterValidateDates(var AssemblyHeader: Record "Assembly Header"; FieldNumToCalculateFrom: Integer; var DoNotValidateButJustAssign: Boolean)
Parameters
OnBeforeAssemblyLinesExist
[IntegrationEvent(False,False)]
local procedure OnBeforeAssemblyLinesExist(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean; var Result: Boolean)
Parameters
OnBeforeChangeGenBusPostingGroupAssemblyLines
[IntegrationEvent(False,False)]
local procedure OnBeforeChangeGenBusPostingGroupAssemblyLines(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
Parameters
ChangeGenBusPostingGroupAssemblyLinesOnBeforeConfirm
[IntegrationEvent(False,False)]
local procedure ChangeGenBusPostingGroupAssemblyLinesOnBeforeConfirm(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; HideValidationDialog: Boolean; var Confirmed: Boolean; var IsHandled: Boolean)
Parameters
OnConfirmDeletionOnBeforeAssemblyLineLoop
[IntegrationEvent(False,False)]
local procedure OnConfirmDeletionOnBeforeAssemblyLineLoop(var AssemblyLine: Record "Assembly Line"; var Confirmed: Boolean)
Parameters
OnAfterSetDescriptionsFromItem
[IntegrationEvent(False,False)]
local procedure OnAfterSetDescriptionsFromItem(var AssemblyHeader: Record "Assembly Header"; Item: Record Item)
Parameters
OnValidateVariantCodeOnAfterUpdateDescriptions
[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnAfterUpdateDescriptions(var AssemblyHeader: Record "Assembly Header"; ItemVariant: Record "Item Variant")
Parameters
See also