ReqSplitQuantities Class [AX 2012]
The ReqSplitQuantities class distributes an amount among several groups, for example, item quantities among kanbans, while meeting the optional minimum and maximum constraints for each of them.
Syntax
class ReqSplitQuantities
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the ReqSplitQuantities class. | |
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.) | |
parmMaximum | Gets or sets the Maximum parameter. | |
parmMinimum | Gets or sets the Minimum parameter. | |
parmQuantityAfterSplit | Gets the QuantityAfterSplit parameter. | |
parmQuantityDistribution | Gets the QuantityDistribution parameter. | |
parmQuantityToSplit | Gets or sets the QuantityToSplit parameter. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
split | Determines a distribution of the QuantityToSplit parameter among a number of groups so that the mimimum and maximum values are respected inside each group quantity. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Initializes a new instance of the ReqSplitQuantities class. | |
::newMaximum | Initializes a new instance of the class, constraining it only by a maximum split quantity. | |
::newMinimum | Initializes a new instance of the class, constraining it only by a minimum split quantity. | |
::newMinimumMaximum | Initializes a new instance of the class, constraining it only by a minimum and a maximum split quantity. | |
::newStandard | Creates a new instance of the class. |
Top
Remarks
This class provides the number of groups and what amount each of them should contain while minimizing the excess of groups that are required due to minimum sizes of constraints and while minimizing the number of groups.
Inheritance Hierarchy
Object Class
ReqSplitQuantities Class