PlanActivityCreate.createAtomicActivity Method [AX 2012]

Creates an atomic PlanActivity record.

public PlanActivity createAtomicActivity(
    PlanActivityType _activityType, 
   [NoYes _relateToPlan, 
    NoYes _onhandUpdate, 
    RecId _planActivityTime, 
    NoYes _feederBridge, 
    NoYes _pickUpSemiFinished, 
    NoYes _receiveSemiFinished, 
    NoYes _registerScrap, 
    RecId _wrkCtrResourceGroup, 
    LeanCycleTimeInUnit _cycleTime, 
    WMSFreightedBy _freightedBy])

Run On

Server

Parameters

_activityType
Type: PlanActivityType Enumeration
The activity type.
_relateToPlan
Type: NoYes Enumeration
A NoYes enumeration value that indicates whether a PlanPlanActivity should be created; optional.
_onhandUpdate
Type: NoYes Enumeration
The on-hand update flag; optional.
_planActivityTime
Type: RecId Extended Data Type
A foreign key to the PlanActivityTime record; optional.
_feederBridge
Type: NoYes Enumeration
A NoYes enumeration value that indicates whether the activity can be used to feed into another production flow.
_pickUpSemiFinished
Type: NoYes Enumeration
The pick up semi-finished flag; optional.
_receiveSemiFinished
Type: NoYes Enumeration
The receive semi-finished flag; optional.
_registerScrap
Type: NoYes Enumeration
_wrkCtrResourceGroup
Type: RecId Extended Data Type
The record ID of the corresponding WrkCtrResourceGroup record; optional.
_cycleTime
Type: LeanCycleTimeInUnit Extended Data Type
The activity cycle time; optional.
_freightedBy
Type: WMSFreightedBy Enumeration

Return Value

Type: PlanActivity Table
The newly created atomic PlanActivity record.

Community Additions

ADD
Show: