Page "Production Journal"

ID 5510
Namespace: Microsoft.Manufacturing.Journal

Properties

Name Value
Caption Production Journal
DataCaptionExpression GetCaption()
InsertAllowed False
PageType Worksheet
SourceTable Table Microsoft.Inventory.Journal."Item Journal Line"

Methods

Setup

procedure Setup(TemplateName: Code[10], BatchName: Code[10], ProductionOrder: Record "Production Order", ProdLineNo: Integer, PostDate: Date)

Parameters

Name Type Description
TemplateName Code[10]
BatchName Code[10]
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"
ProdLineNo Integer
PostDate Date

SetFilterGroup

procedure SetFilterGroup()

SetFlushingFilter

procedure SetFlushingFilter()

Events

OnAfterSetFilterGroup

[IntegrationEvent(False,False)]
local procedure OnAfterSetFilterGroup(var ItemJournalLine: Record "Item Journal Line", ProductionOrder: Record "Production Order", ProdOrderLineNo: Integer)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"
ProdOrderLineNo Integer

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var ItemJournalLine: Record "Item Journal Line", var ShortcutDimCode: array[8] of Code[20], DimIndex: Integer)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ShortcutDimCode array[8] of Code[20]
DimIndex Integer

OnBeforeCalcActualConsumpQty

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcActualConsumpQty(ProdOrderComponent: Record "Prod. Order Component", Item: Record Item, var ActualConsumpQty: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
ProdOrderComponent Table Microsoft.Manufacturing.Document."Prod. Order Component"
Item Table Microsoft.Inventory.Item.Item
ActualConsumpQty Decimal
IsHandled Boolean

OnBeforePostingDateOnAfterValidate

[IntegrationEvent(False,False)]
local procedure OnBeforePostingDateOnAfterValidate(var ItemJournalLine: Record "Item Journal Line", PostingDate: Date, xPostingDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
PostingDate Date
xPostingDate Date
IsHandled Boolean

See also