PlanActivityCreateProcess.createProcessPickingActivity Method [AX 2012]

Creates a picking atomic activity

public PlanActivity createProcessPickingActivity(
    ItemId _itemId, 
    InventDimId _inventDimId, 
    OnHandUpdate _onHandUpdate, 
    LeanRegisterScrap _registerScrap, 
    PlanActivityRefRecId _highLevelPlanActivityRefRecId, 
    PlanActivityRefRecId _operatePlanActivityRefRecId, 
   [LeanProdFlowActivityPickingLocation _leanProdFlowActivityPickingLocation, 
    boolean _insertNewPickingLocation])

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
The ItemId value for which the picking activity is defined.
_inventDimId
Type: InventDimId Extended Data Type
The InventDimId value from which the item must be picked.
_onHandUpdate
Type: OnHandUpdate Extended Data Type
A Boolean value that defines whether the picking activity must update on-hand inventory.
_registerScrap
Type: LeanRegisterScrap Extended Data Type
A Boolean value that defines whether the picking activity must register scrap.
_highLevelPlanActivityRefRecId
Type: PlanActivityRefRecId Extended Data Type
The record ID of the related high level process activity.
_operatePlanActivityRefRecId
Type: PlanActivityRefRecId Extended Data Type
The record ID of the related operate activity.
_leanProdFlowActivityPickingLocation
Type: LeanProdFlowActivityPickingLocation Table
A LeanProdFlowActivityPickingLocation table buffer; optional.
_insertNewPickingLocation
Type: boolean
A Boolean value that specifies whether a LeanProdFlowActivityPickingLocation has to be inserted; optional.

Return Value

Type: PlanActivity Table
The PlanActivity record that represents the picking activity.

Community Additions

ADD
Show: