Report "Whse.-Source - Create Document"

ID 7305
Namespace: Microsoft.Warehouse.Request

Properties

Name Value
Caption Whse.-Source - Create Document
Permissions TableData "Whse. Item Tracking Line" = rm
ProcessingOnly True

Methods

SetPostedWhseReceiptLine

procedure SetPostedWhseReceiptLine(var PostedWhseReceiptLine2: Record "Posted Whse. Receipt Line", AssignedID2: Code[50])

Parameters

Name Type Description
PostedWhseReceiptLine2 Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
AssignedID2 Code[50]

SetWhseWkshLine

procedure SetWhseWkshLine(var WhseWkshLine2: Record "Whse. Worksheet Line")

Parameters

Name Type Description
WhseWkshLine2 Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

SetWhseInternalPickLine

procedure SetWhseInternalPickLine(var WhseInternalPickLine2: Record "Whse. Internal Pick Line", AssignedID2: Code[50])

Parameters

Name Type Description
WhseInternalPickLine2 Table Microsoft.Warehouse.InternalDocument."Whse. Internal Pick Line"
AssignedID2 Code[50]

SetWhseInternalPutAway

procedure SetWhseInternalPutAway(var WhseInternalPutAwayHeader2: Record "Whse. Internal Put-away Header")

Parameters

Name Type Description
WhseInternalPutAwayHeader2 Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Header"

SetAssemblyOrder

procedure SetAssemblyOrder(var AssemblyHeader2: Record "Assembly Header")

Parameters

Name Type Description
AssemblyHeader2 Table Microsoft.Assembly.Document."Assembly Header"

SetJob

procedure SetJob(var Job2: Record Job)

Parameters

Name Type Description
Job2 Table Microsoft.Projects.Project.Job.Job

GetActivityHeader

procedure GetActivityHeader(var WhseActivityHeader: Record "Warehouse Activity Header", TypeToFilter: Option)

Parameters

Name Type Description
WhseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
TypeToFilter Option

GetResultMessage

procedure GetResultMessage(WhseDocType: Option): Boolean

Parameters

Name Type Description
WhseDocType Option

Returns

Type Description
Boolean

SetHideValidationDialog

procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)

Parameters

Name Type Description
NewHideValidationDialog Boolean

Initialize

procedure Initialize(AssignedID2: Code[50], SortActivity2: Enum "Whse. Activity Sorting Method", PrintDoc2: Boolean, DoNotFillQtytoHandle2: Boolean, BreakbulkFilter2: Boolean)

Parameters

Name Type Description
AssignedID2 Code[50]
SortActivity2 Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"
PrintDoc2 Boolean
DoNotFillQtytoHandle2 Boolean
BreakbulkFilter2 Boolean

Initialize

procedure Initialize(AssignedID2: Code[50], SortActivity2: Enum "Whse. Activity Sorting Method", PrintDoc2: Boolean, DoNotFillQtytoHandle2: Boolean, BreakbulkFilter2: Boolean, ShowSummary2: Boolean)

Parameters

Name Type Description
AssignedID2 Code[50]
SortActivity2 Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"
PrintDoc2 Boolean
DoNotFillQtytoHandle2 Boolean
BreakbulkFilter2 Boolean
ShowSummary2 Boolean

SetQuantity

procedure SetQuantity(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line", SourceType: Integer, var QtyToHandleBase: Decimal)

Parameters

Name Type Description
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
SourceType Integer
QtyToHandleBase Decimal

UpdateWhseItemTrkgLines

procedure UpdateWhseItemTrkgLines(PostedWhseRcptLine: Record "Posted Whse. Receipt Line", SourceType: Integer, var TempWhseItemTrkgLine: Record "Whse. Item Tracking Line")

Parameters

Name Type Description
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
SourceType Integer
TempWhseItemTrkgLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"

CreatePutAwayFromDiffSource

procedure CreatePutAwayFromDiffSource(PostedWhseRcptLine: Record "Posted Whse. Receipt Line", SourceType: Integer)

Parameters

Name Type Description
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
SourceType Integer

FEFOLocation

procedure FEFOLocation(LocCode: Code[10]): Boolean

Parameters

Name Type Description
LocCode Code[10]

Returns

Type Description
Boolean

ItemTracking

procedure ItemTracking(ItemNo: Code[20]): Boolean

Parameters

Name Type Description
ItemNo Code[20]

Returns

Type Description
Boolean

Events

OnAfterCreatePutAwayDeleteBlankBinContent

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePutAwayDeleteBlankBinContent(var WarehouseActivityHeader: Record "Warehouse Activity Header")

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

OnAfterFilterWkshLine

[IntegrationEvent(False,False)]
local procedure OnAfterFilterWkshLine(var WhseWorksheetLineToFilter: Record "Whse. Worksheet Line", WhseWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
WhseWorksheetLineToFilter Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnAfterInitPostedWhseReceiptLineFromPutAway

[IntegrationEvent(False,False)]
local procedure OnAfterInitPostedWhseReceiptLineFromPutAway(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", WhseWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnAfterInitPostedWhseReceiptLineFromInternalPutAway

[IntegrationEvent(False,False)]
local procedure OnAfterInitPostedWhseReceiptLineFromInternalPutAway(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line")

Parameters

Name Type Description
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
WhseInternalPutAwayLine Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Line"

OnAfterOpenPage

[IntegrationEvent(True,False)]
local procedure OnAfterOpenPage(var Location: Record Location, var DoNotFillQtytoHandle: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
DoNotFillQtytoHandle Boolean

OnAfterPostReport

[IntegrationEvent(False,False)]
local procedure OnAfterPostReport(FirstActivityNo: Code[20], LastActivityNo: Code[20], var WarehouseActivityHeader: Record "Warehouse Activity Header", WhseSourceCreateDocument: Report "Whse.-Source - Create Document")

Parameters

Name Type Description
FirstActivityNo Code[20]
LastActivityNo Code[20]
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
WhseSourceCreateDocument Report Microsoft.Warehouse.Request."Whse.-Source - Create Document"

OnAfterPostedWhseReceiptLineOnPostDataItem

[IntegrationEvent(False,False)]
local procedure OnAfterPostedWhseReceiptLineOnPostDataItem(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")

Parameters

Name Type Description
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"

OnAfterSetAssemblyOrder

[IntegrationEvent(False,False)]
local procedure OnAfterSetAssemblyOrder(var AssemblyHeader: Record "Assembly Header", var SortActivity: Enum "Whse. Activity Sorting Method")

Parameters

Name Type Description
AssemblyHeader Table Microsoft.Assembly.Document."Assembly Header"
SortActivity Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"

OnAfterSetJob

[IntegrationEvent(False,False)]
local procedure OnAfterSetJob(var Job: Record Job, var SortActivity: Enum "Whse. Activity Sorting Method")

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
SortActivity Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"

OnAfterSetPostedWhseReceiptLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetPostedWhseReceiptLine(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", var SortActivity: Option)

Parameters

Name Type Description
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
SortActivity Option

OnAfterSetQuantity

[IntegrationEvent(False,False)]
local procedure OnAfterSetQuantity(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", WhseItemTrackingLine: Record "Whse. Item Tracking Line")

Parameters

Name Type Description
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
WhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"

OnAfterSetWhseInternalPickLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetWhseInternalPickLine(WhseInternalPickLine: Record "Whse. Internal Pick Line", var SortActivity: Option)

Parameters

Name Type Description
WhseInternalPickLine Table Microsoft.Warehouse.InternalDocument."Whse. Internal Pick Line"
SortActivity Option

OnAfterSetWhseInternalPutAway

[IntegrationEvent(False,False)]
local procedure OnAfterSetWhseInternalPutAway(WhseInternalPutAwayHeader: Record "Whse. Internal Put-away Header", var SortActivity: Option)

Parameters

Name Type Description
WhseInternalPutAwayHeader Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Header"
SortActivity Option

OnAfterSetWhseWkshLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetWhseWkshLine(WhseWorksheetLine: Record "Whse. Worksheet Line", var SortActivity: Option)

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
SortActivity Option

OnAfterWhsePutAwayWorksheetLineOnPostDataItem

[IntegrationEvent(False,False)]
local procedure OnAfterWhsePutAwayWorksheetLineOnPostDataItem(var WhseWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnBeforeProcessWhseMovWkshLines

[IntegrationEvent(False,False)]
local procedure OnBeforeProcessWhseMovWkshLines(var WhseWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnBeforeSetQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeSetQuantity(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line", SourceType: Integer, var QtyToHandleBase: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
SourceType Integer
QtyToHandleBase Decimal
IsHandled Boolean

OnBeforeSortWhseDocsForPrints

[IntegrationEvent(False,False)]
local procedure OnBeforeSortWhseDocsForPrints(WhseDoc: Option, var FirstActivityNo: Code[20], var LastActivityNo: Code[20], SortActivity: Enum "Whse. Activity Sorting Method", PrintDoc: Boolean, var HideNothingToHandleErr: Boolean)

Parameters

Name Type Description
WhseDoc Option
FirstActivityNo Code[20]
LastActivityNo Code[20]
SortActivity Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"
PrintDoc Boolean
HideNothingToHandleErr Boolean

OnBeforeTempWhseWorksheetLineMovementModify

[IntegrationEvent(False,False)]
local procedure OnBeforeTempWhseWorksheetLineMovementModify(var TempWhseWorksheetLineMovement: Record "Whse. Worksheet Line" temporary, WhseWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
TempWhseWorksheetLineMovement Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnBeforeWhseItemTrackingLineModify

[IntegrationEvent(False,False)]
local procedure OnBeforeWhseItemTrackingLineModify(var WhseItemTrackingLine: Record "Whse. Item Tracking Line", TempWhseItemTrackingLine: Record "Whse. Item Tracking Line" temporary)

Parameters

Name Type Description
WhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"
TempWhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"

OnBeforeWhsePutAwayWorksheetLineOnPreDataItem

[IntegrationEvent(False,False)]
local procedure OnBeforeWhsePutAwayWorksheetLineOnPreDataItem(var WhsePutawayWorksheetLine: Record "Whse. Worksheet Line")

Parameters

Name Type Description
WhsePutawayWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"

OnSetQuantityOnAfterWhseItemTrackingLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnSetQuantityOnAfterWhseItemTrackingLineSetFilters(var WhseItemTrackingLine: Record "Whse. Item Tracking Line", var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")

Parameters

Name Type Description
WhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"

OnPostedWhseReceiptLineOnAfterGetRecordOnBeforeGetWhseItemTrkgSetup

[IntegrationEvent(False,False)]
local procedure OnPostedWhseReceiptLineOnAfterGetRecordOnBeforeGetWhseItemTrkgSetup(WhseWorksheetLine: Record "Whse. Worksheet Line", PostedWhseRcptLine: Record "Posted Whse. Receipt Line", var IsHandled: Boolean)

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
IsHandled Boolean

OnSetQuantityOnAfterFindWhseItemTrackingLine

[IntegrationEvent(False,False)]
local procedure OnSetQuantityOnAfterFindWhseItemTrackingLine(var WhseItemTrackingLine: Record "Whse. Item Tracking Line", var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")

Parameters

Name Type Description
WhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"
PostedWhseRcptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"

OnBeforeOnPreDataItemAssemblyLine

[IntegrationEvent(False,False)]
local procedure OnBeforeOnPreDataItemAssemblyLine(var AssemblyHeader: Record "Assembly Header", HideValidationDialog: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
AssemblyHeader Table Microsoft.Assembly.Document."Assembly Header"
HideValidationDialog Boolean
IsHandled Boolean

OnBeforeCreateMovementLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateMovementLines(var WhseWorksheetLine: Record "Whse. Worksheet Line", var PickQty: Decimal, var PickQtyBase: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
PickQty Decimal
PickQtyBase Decimal
IsHandled Boolean

OnPreDataItemJobPlanningLineOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnPreDataItemJobPlanningLineOnAfterSetFilters(var JobPlanningLine: Record "Job Planning Line", Job: Record Job)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
Job Table Microsoft.Projects.Project.Job.Job

OnPostReportOnBeforeCreateWarehouseDocument

[IntegrationEvent(False,False)]
local procedure OnPostReportOnBeforeCreateWarehouseDocument(WhseSourceCreateDocument: Report "Whse.-Source - Create Document", TempWhseItemTrackingLine: Record "Whse. Item Tracking Line" temporary, var ItemTrackingManagement: Codeunit "Item Tracking Management", var CreatePick: Codeunit "Create Pick", var CreatePutAway: Codeunit "Create Put-away", WhseDoc: Option, var CreateErrorText: Text, var FirstActivityNo: Code[20], var LastActivityNo: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
WhseSourceCreateDocument Report Microsoft.Warehouse.Request."Whse.-Source - Create Document"
TempWhseItemTrackingLine Table Microsoft.Warehouse.Tracking."Whse. Item Tracking Line"
ItemTrackingManagement Codeunit Microsoft.Inventory.Tracking."Item Tracking Management"
CreatePick Codeunit Microsoft.Warehouse.Activity."Create Pick"
CreatePutAway Codeunit Microsoft.Warehouse.Activity."Create Put-away"
WhseDoc Option
CreateErrorText Text
FirstActivityNo Code[20]
LastActivityNo Code[20]
IsHandled Boolean

OnPostReportOnBeforeDeleteBlankBinContent

[IntegrationEvent(False,False)]
local procedure OnPostReportOnBeforeDeleteBlankBinContent(WhseSourceCreateDocument: Report "Whse.-Source - Create Document", var WarehouseActivityHeader: Record "Warehouse Activity Header", var WhseActivitySortingMethod: Enum "Whse. Activity Sorting Method", var IsHandled: Boolean)

Parameters

Name Type Description
WhseSourceCreateDocument Report Microsoft.Warehouse.Request."Whse.-Source - Create Document"
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
WhseActivitySortingMethod Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"
IsHandled Boolean

OnCreatePutAwayFromDiffSourceOnBeforeProcessCreatePutAway

[IntegrationEvent(False,False)]
local procedure OnCreatePutAwayFromDiffSourceOnBeforeProcessCreatePutAway(WhseSourceCreateDocument: Report "Whse.-Source - Create Document", PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", var TempPostedWhseReceiptLine: Record "Posted Whse. Receipt Line" temporary, var CreatePutAway: Codeunit "Create Put-away", var IsHandled: Boolean)

Parameters

Name Type Description
WhseSourceCreateDocument Report Microsoft.Warehouse.Request."Whse.-Source - Create Document"
PostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
TempPostedWhseReceiptLine Table Microsoft.Warehouse.History."Posted Whse. Receipt Line"
CreatePutAway Codeunit Microsoft.Warehouse.Activity."Create Put-away"
IsHandled Boolean

OnCreatePutawayFromProduction

[IntegrationEvent(False,False)]
local procedure OnCreatePutawayFromProduction(var WhsePutawayWorksheetLine: Record "Whse. Worksheet Line", SourceType: Integer, var EverythingHandled: Boolean, var QtyHandledBase: Decimal)

Parameters

Name Type Description
WhsePutawayWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
SourceType Integer
EverythingHandled Boolean
QtyHandledBase Decimal

OnAfterCreatePutawaySetValues

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePutawaySetValues(NewAssignedID: Code[50], NewSortActivity: Enum "Whse. Activity Sorting Method", NewDoNotFillQtytoHandle: Boolean, NewBreakbulkFilter: Boolean)

Parameters

Name Type Description
NewAssignedID Code[50]
NewSortActivity Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"
NewDoNotFillQtytoHandle Boolean
NewBreakbulkFilter Boolean

OnGetProductionMessageText

[IntegrationEvent(False,False)]
local procedure OnGetProductionMessageText(var CreateErrorText: Text)

Parameters

Name Type Description
CreateErrorText Text

OnAfterCreatePutawayGetWhseActivHeaderNo

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePutawayGetWhseActivHeaderNo(var FirstActivityNo: Code[20], var LastActivityNo: Code[20])

Parameters

Name Type Description
FirstActivityNo Code[20]
LastActivityNo Code[20]

See also