PdsCatchWeight Class [AX 2012]
The PdsCatchWeight class handles inventory conversions and validations for catch weight items.
| 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 Object class. (Inherited from Object.) |
| 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.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| 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.) |
| ::adjustSplitInventQty | Adjusts the quantity to be split in inventory unit based on original quantities and requested quantities to be split considering catch weight constraints. |
| ::adjustSplitQuantities | Adjusts the quantity and catch weight quantity to split in the inventory unit, based on the original quantities and requested quantities to split, and considering catch weight constraints. |
| ::convertCWQty | Converts a quantity from a catch weight unit to an inventory unit. |
| ::convertQtyToCWQty | Converts a quantity in the specified unit to a catch weight quantity. |
| ::cwQty | Converts an inventory quantity to a catch weight quantity. |
| ::cwRoundUpInventQty | Rounds up the invent quantity to the next catch weight quantity. |
| ::cwUnitAndQty | Converts an inventory quantity to a catch weight quantity. |
| ::cwUnitId | Finds the catch weight unit for the specified item ID. |
| ::inventQty | Converts a catch weight quantity to an inventory quantity or to a quantity in the specified unit. |
| ::inventQtyAdjustment | Retrieves the inventory quantity that is making a particular pair of catch weight quantity and inventory quantity fall outside the minimum and maximum range. |
| ::isTransFullVisSerialReserved | Checks whether the given transaction is reserved on a specific serial number for a full-visibility catch weight item. |
| ::maxCWQty | Calculates the maximum catch weight quantity for an inventory quantity. |
| ::maxInventQty | Calculates the maximum inventory quantity for a catch weight quantity. |
| ::minCWQty | Calculates the minimum catch weight quantity for an inventory quantity. |
| ::minInventQty | Calculate the minimum inventory quantity for a catch weight quantity. |
| ::minOverDelivery | This method calculates the max over delivery allowed for the specified item ID. |
| ::minUnderDelivery | Calculates the minimum allowed under delivery for the specified item ID. |
| ::validateInventQty | Validates whether the inventory quantity falls with the acceptable range for the item's catch weight quantity. |
| ::validateNonCWItemId | Validates that the given control, bound to an ItemId field, contains an item ID of an item that is not catch weight enabled. |
| ::validateQty | Validates whether the quantity in specified unit falls with the acceptable range for the item's catch weight quantity. |
Community Additions
ADD
Show: