ReqEventProcessKanban Class [AX 2012]
The ReqEventProcessKanban class processes kanban requirement events.
Syntax
class ReqEventProcessKanban extends ReqEventProcess
Run On
Called
Methods
Method | Description | |
---|---|---|
addResultMap | Adds kanban record IDs to the specified map. | |
adjustMarkingAndReservations | Removes marking from event kanban and the related requirement transactions and tries to physically reserve the unmarked quantity. | |
allowReserveAvailableOnHand | Defines if this class should try to physically reserve on hand quantity on behalf of the event movement. | |
allowSaveLast | (Inherited from RunBaseBatch.) | |
batchInfo | Returns the BatchInfo class. This class is the API for the batch table. (Inherited from RunBaseBatch.) | |
bomId | Defines the BOM ID to use. | |
buffer | Retrieves the table buffer on which the class operates. | |
buildPeggingMap | Builds a map of pegged kanbans and quantities and synchronizes marking. | |
calculateEventQuantities | Returns a List object that splits the total required quantity into kanban-sized chunks. | |
cancelKanbanIfRequiredAndAllowed | Checks if cancelling the kanban is necessary and performs it if needed. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canDelete | Determines whether delete actions are allowed. (Inherited from ReqEventProcess.) | |
canDeletePeggingEvent | Determine if the pegging event can be deleted. | |
canGoBatch | Returns false (Inherited from RunBaseBatch.) | |
canGoBatchJournal | Determines whether the class is shown in the list of Journal types. (Inherited from RunBaseBatch.) | |
canInsert | Determines whether insert actions are allowed. (Inherited from ReqEventProcess.) | |
canReduceInventQty | Determines whether the quantity can be reduced. | |
canReduceInventQtyKanbanRuleLookup | Determines whether the quantity can be reduced. | |
canSwapBetweenCS | Controls whether a calledFrom class that is instantiated on the server should have its prompt executed on the client. (Inherited from RunBase.) | |
canUpdate | Determines whether update actions are allowed. (Inherited from ReqEventProcess.) | |
canUpdateKanban | Checks if cancelling the kanban is necessary and performs it if needed. | |
caption | Retrieves the description from the current class by calling the static description method of the class if there is one. (Inherited from RunBaseBatch.) | |
checkCloseDialog | Must be called in the CloseOk method of a RunBase dialog box. (Inherited from RunBase.) | |
cleanupDialog | Provides a way to clean up after a dialog box has been canceled. (Inherited from RunBase.) | |
deleteKanban | Deletes all kanbans that are related to the event, if it is possible. | |
deleteMarkInventoryTransactions | Deletes all marking between the event and a specified event kanban. | |
deletePegging | Deletes records from the ReqPeggingAssignment and ReqPegging tables. (Inherited from ReqEventProcess.) | |
deletePeggingEvent | Deletes the obsolete ReqPeggingEvent and ReqPeggingAssignment records. (Overrides the deletePeggingEvent Method.) | |
description | Gets the description of the class. (Overrides the description Method.) | |
dialog | Returns a class that contains the methods that are described by the RunBaseDialogable interface. (Inherited from RunBase.) | |
dialogClear | Clears the contents of the dialog box. (Inherited from RunBase.) | |
dialogInit | Initializes the dialog box. (Inherited from RunBase.) | |
dialogInternal | (Inherited from RunBase.) | |
dialogMake | Obtains the dialog from a RunBase class. (Inherited from RunBase.) | |
dialogPost | Executes after the dialog method has been called. (Inherited from RunBaseBatch.) | |
dialogPostInit | Called right after the RunBase.dialogInit Method method. (Inherited from RunBase.) | |
dialogPostRun | Called after the Dialog.run Method class. (Inherited from RunBase.) | |
dialogReInit | Reinitializes the dialog box. (Inherited from RunBase.) | |
dialogSelectCtrl | When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.) | |
dialogTask | When using the Dialog Class class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.) | |
dialogUpdate | Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.) | |
dialogUpdateQuery | Updates the query in the dialog box. (Inherited from RunBase.) | |
doBatch | (Inherited from RunBaseBatch.) | |
dueDateTime | Defines the due date and time of the event | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
eventDescription | Retrieves a description of the event. (Overrides the eventDescription Method.) | |
eventExists | Indicates whether the event origin exists. (Inherited from ReqEventProcess.) | |
eventRefRecId | Defines the event. (Overrides the eventRefRecId Method.) | |
getFromDialog | Assigns the dialog values to the internal variables. (Inherited from RunBaseBatch.) | |
getLast | Gets the last choice stored in the last value table. (Inherited from RunBaseBatch.) | |
getRunBase | (Inherited from RunBase.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
handleNotProcessedEvent | Performs any action required for events that are handled but not processed now. (Inherited from ReqEventProcess.) | |
id | Retrieves a string identification for the buffer. | |
inGetSaveLast | Returns true when the GetLast or SaveLast method is executed. (Inherited from RunBase.) | |
init | Initializes class variables. (Overrides the init Method.) | |
initActionMode | Initializes the action mode. (Overrides the initActionMode Method.) | |
initBatch | (Inherited from RunBaseBatch.) | |
initInventQty | Initializes the event quantity to process. | |
initInventQtyKanbanRuleLookup | Initializes the quantity that is used to look up a kanban rule. | |
initKanbanRule | Initializes a kanban rule and related table buffers. | |
initParmDefault | Initializes the internal variables. (Inherited from RunBase.) | |
initSourceRequirementParm | Initializes the source requirement parameters. | |
insertKanban | Creates one or more kanbans and links them to the pegging tables. | |
inventDimId | Defines the inventory dimension for which the event is processed. | |
inventMovement | Returns an InventMovement object of the source event. | |
inventQty | Defines the event quantity to process. (Overrides the inventQty Method.) | |
inventQtyKanbanRuleLookup | Defines the event quantity to use to look up the rule. | |
inventTransOriginId | Retrieves the inventory transaction originator of the source event. | |
isEventHandled | Determines whether the event was handled by the class. (Inherited from ReqEventProcess.) | |
isInBatch | Determines whether the RunBaseBatch is actually being run from a batch server. (Inherited from RunBaseBatch.) | |
isSwappingPrompt | Checks if the program is currently swapping from server to client. (Inherited from RunBase.) | |
itemId | Defines the item for which an event is processed. | |
kanbanEventType | Defines the kanban event type that is processed by the class. | |
kanbanHasJobWithStatusGreater | Checks if the job or any of its predecessors has a status greater than the passed one. | |
kanbanRule | Retrieves the kanban rule that is used by the class. | |
lastValueDataAreaId | (Inherited from RunBase.) | |
lastValueDesignName | (Inherited from RunBase.) | |
lastValueElementName | (Inherited from RunBase.) | |
lastValueType | (Inherited from RunBase.) | |
lastValueUserId | (Inherited from RunBase.) | |
listMarkingInventDim | Creates a list of prioritized inventory dimensions and quantities to be used for marking. | |
mapDeleteKanban | Retrieves the delete result map. | |
mapInsertedKanban | Retrieves the insert result map. | |
mapUpdatedKanban | Retrieves the update result map. | |
markInventoryTransactions | Marks or unmarks inventory transactions if it is required. | |
mustDeletePeggingEvent | Defines whether the event deletes the ReqPeggingEvent record after it is processed. (Overrides the mustDeletePeggingEvent Method.) | |
mustGoBatch | (Inherited from RunBaseBatch.) | |
mustHandleEvent | Determines whether the current event must be handled. (Overrides the mustHandleEvent Method.) | |
mustIncludeManualEvents | Determines whether the manual events must be included when events are processed. | |
mustLoadSaveQuery | Determines whether the last query must be loaded and saved when you leave the form. Called from the SysQueryForm. (Inherited from RunBase.) | |
mustMarkInventoryTransactions | Determines whether created kanbans must be marked against the source event. | |
mustProcessNow | Determines whether an event must be processed in the current execution. (Inherited from ReqEventProcess.) | |
mustProcessSynchronously | Determines whether the event must be processed synchronously. (Overrides the mustProcessSynchronously Method.) | |
mustReserveInventoryTransactions | Determines whether source event lines should be reserved. | |
mustUsePeggingEvent | Specifies whether the event uses the ReqPeggingEvent table. (Inherited from ReqEventProcess.) | |
name | Returns the name of the RunBase class. (Inherited from RunBase.) | |
new | Initializes a new instance of the RunBaseBatch class. (Inherited from RunBaseBatch.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
pack | Serializes the current instance of the RunBase class. (Inherited from RunBase.) | |
parmAcceptReceiveFinishedKanbanRule | Gets or sets the AcceptReceiveFinishedKanbanRule parameter. | |
parmAcceptReceiveSemiFinishedKanbanRule | Gets or sets the AcceptReceiveSemiFinishedKanbanRule parameter. | |
parmActionMode | Gets or sets the ActionMode parameter. (Inherited from ReqEventProcess.) | |
parmCurrentBatch | Gets or sets the CurrentBatch parameter. (Inherited from RunBaseBatch.) | |
parmExcludeKanbanRuleRefRecId | Gets or sets the ExcludeKanbanRuleRefRecId parameter. | |
parmForceProcessNow | Gets or sets the ForceProcessNow parameter. (Inherited from ReqEventProcess.) | |
parmInBatch | Gets or sets the InBatch parameter. (Inherited from RunBaseBatch.) | |
parmInteractive | Gets or sets the Interactive parameter. | |
parmLimitToLastPlanActivityRefRecId | Gets or sets the LimitToLastPlanActivityRefRecId parameter. | |
parmLimitToPKanbanRuleRefRecId | Gets or sets the LimitToPKanbanRuleRefRecId parameter. | |
parmLimitToPlanActivityDownStreamRecId | Gets or sets the LimitToPlanActivityDownStreamRecId parameter. | |
parmLimitToPlanReferenceRefRecId | Gets or sets the LimitToPlanReferenceRefRecId parameter. | |
parmMustBeAutoReserved | Gets or sets the MustBeAutoReserved parameter. | |
parmMustDeleteEvent | Gets or sets the MustDeleteEvent parameter. | |
parmProgress | Gets or sets the Progress parameter. (Inherited from RunBase.) | |
parmReqEventProcessParm | Gets or sets the ReqEventProcessParm parameter. (Overrides the parmReqEventProcessParm Method.) | |
parmSetEventDescription | Gets or sets the SetEventDescription parameter. (Inherited from ReqEventProcess.) | |
parmSkipRuleMayExistCheck | Gets or sets the SkipRuleMayExistCheck parameter. | |
peggingType | Retrieves the pegging type. | |
prepareForRun | Allows subclasses to process the dialog box immediately before the execution of the dialog box.Run method. (Inherited from RunBaseBatch.) | |
prepareProcess | Executes any code that needs to run after it was determined if the event must be handled and before the actual processing. (Overrides the prepareProcess Method.) | |
processEvent | Processes the event. (Overrides the processEvent Method.) | |
processPegging | Processes the pegging function. (Inherited from ReqEventProcess.) | |
processPeggingEvent | Processes pegging event. (Inherited from ReqEventProcess.) | |
progressHide | Hides the Progress form. (Inherited from RunBase.) | |
progressInit | Initializes the Progress object in RunBase. (Inherited from RunBase.) | |
progressKill | Kills the Progress object in RunBase. (Inherited from RunBase.) | |
prompt | Displays the dialog from the class dialog and waits for user input. (Inherited from RunBaseBatch.) | |
promptPack | Wraps a call to the RunBase.pack Method when packing in the RunBase.promptPrim Method. (Inherited from RunBaseBatch.) | |
promptUnpack | (Inherited from RunBaseBatch.) | |
putToDialog | Enables setting the fields that were just added in the RunBase.dialog Method method. This method is called from the RunBase.promptPrim Method method directly following the RunBase.dialogMake Method method. (Inherited from RunBase.) | |
qtyMarked | Determines the marked quantity. | |
qtyReserved | Gets the reserved quantity. | |
queryRun | Returns the QueryRun object, which is used by the QueryPrompt class. (Inherited from RunBase.) | |
reserveAvailableOnHand | The method attempts to physically reserve the requested quantity. | |
reserveInventoryTransactions | Reserves inventory transactions that may be required. | |
reset | Resets the class to its default state. (Inherited from RunBase.) | |
run | Processes the event. (Inherited from ReqEventProcess.) | |
runBase | Returns the RunBase itself. (Inherited from RunBase.) | |
runBaseDialogModifyType_RU | (Inherited from RunBase.) | |
runsImpersonated | Determines the runsImpersonated property for the Runbase framework. (Inherited from ReqEventProcess.) | |
saveLast | Saves the last choice by using the RunBase.pack Method. (Inherited from RunBaseBatch.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
showBatchTab | (Inherited from RunBaseBatch.) | |
showClearButton | Determines whether to add a Clear button to the dialog box. If you change the return value to true it will add the button. (Inherited from RunBase.) | |
showDefaultButton | Determines whether a Default button is to be added to the dialog box. If you change the return value to true, it will add the button. (Inherited from RunBase.) | |
showDialog | (Inherited from RunBase.) | |
showIndexFields | If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index. (Inherited from RunBase.) | |
showQuerySelectButton | (Inherited from RunBase.) | |
showQueryValues | Determines whether a Select button is to be added to the dialog box. If you change the return value to true, the button will be added. (Inherited from RunBase.) | |
sourceDocumentLineRefRecId | Defines the source document line that is causing the event. (Inherited from ReqEventProcess.) | |
sumUpInventTrans | Sums up inventory transactions of the event movement. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
unitOfMeasureRecId | Defines the unit of measure that is used to create ReqPegging and ReqPeggingAssignment records. (Overrides the unitOfMeasureRecId Method.) | |
unpack | Deserializes the packedClass parameter value to an instance of the RunBase class. (Inherited from RunBase.) | |
updateKanban | Updates event kanbans as a response to changes in the event origin. | |
updateKanbanLess | Updates event kanbans as a response to a reduction in the event origin. | |
updateKanbanMore | Updates event kanbans as a response to an increase in the event origin. | |
updateOneKanban | Updates the pegging and/or ordered quantities for a given kanban. | |
updateOneKanbanLess | Reduces the pegging and/or ordered quantities for a given kanban. | |
updateOneKanbanMore | Increases the pegging and/or ordered quantities for a given kanban. | |
updatePeggingMarkingReservation | Updates pegging, marking and reservation. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validate | (Inherited from RunBaseBatch.) | |
validateActionMode | Checks if the action mode is valid. (Inherited from ReqEventProcess.) | |
wait | Pauses a process. (Inherited from Object.) | |
writePegging | Updates records in the ReqPeggingAssignment and ReqPegging tables. (Inherited from ReqEventProcess.) | |
writePeggingEvent | Inserts records into the ReqPeggingAssignment and ReqPeggingEvent tables. (Inherited from ReqEventProcess.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::cancelKanban | Cancels a kanban if it has not been assigned and none of its jobs are in progress or completed. | |
::canHaveEventKanban | Indicates whether a given table buffer can have event kanbans. | |
::deleteSupplyPegging | Deletes the pegging supply and pegging assignment records of a kanban. | |
::main | Provides an entry point for the ReqEventProcessKanban class when it is called from a menu item. | |
::newFromBatch | Creates a new instance of a ReqEventProcessKanban object. | |
::newStandard | Creates a new instance of a ReqEventProcessKanban object. |
Top
Remarks
For example, requirement events are demands from a sales order line and could be processed by creating a kanban supply for them.
Inheritance Hierarchy
Object Class
RunBase Class
RunBaseBatch Class
ReqEventProcess Class
ReqEventProcessKanban Class
ReqEventProcessKanbanJobIssue Class
ReqEventProcessKanbanJobPickList Class
ReqEventProcessKanbanNull Class
ReqEventProcessKanbanProdBOM Class
ReqEventProcessKanbanReplenishment Class
ReqEventProcessKanbanSalesLine Class