Adjustment Type
Represents one line of an inventory adjustment.
Remarks
This type allows you to adjust the value or quantity of a single inventory item, using the AdjustInventory class.
Fields
itemId String |
Line item property: Reference to the kind of item to be adjusted. Adjustment Line items represent either quantity or value adjustments made on an inventory item. The ItemId or ItemName represent which inventory item the adjustment is acting on, and NewQuantity and NewValue properties are used to indicate how much you wish to change either the quantity or the value of the specified inventory item. ValueDifference and QuantityDifference will be filled after a successful Get or Add. |
itemName String |
Line item property: Reference to the kind of item to be adjusted. Adjustment Line items represent either quantity or value adjustments made on an inventory item. The ItemId or ItemName represent which inventory item the adjustment is acting on, and NewQuantity and NewValue properties are used to indicate how much you wish to change either the quantity or the value of the specified inventory item. ValueDifference and QuantityDifference will be filled after a successful Get or Add. |
lineId String |
Identification number of the transaction line, returned in the response. |
newQuantity String |
Line item property: The new quantity for this adjustment. When issuing an Inventory Quantity Adjustment or Value Adjustment, this is the new quantity for the inventory item indicated by ItemName and ItemId. Either NewQuantity and/or NewValue must be specified for each Adjustment, or the class will . The default value of "" indicates that this property is not specified, and no new quantity will be sent. |
newValue String |
Line item property: New value of this adjustment. The new total value of these inventory items (The new value does NOT have to equal QuantityOnHand times PurchaseCost). If this property is specified, the component will send a ValueAdjustment request for this line. The NewQuantity property may be set in conjunction with the NewValue property, and so long as NewValue is not empty, a ValueAdjustment request will be sent for this line. However, if NewValue is empty a QuantityAdjustment will be sent instead. Either NewQuantity and/or NewValue must be specified for each Adjustment, or the class will . The default value of "" indicates that this property is not specified, and no new value will be sent. |
quantityDifference String |
Line item property: The change in quantity for this adjustment. After a successful Add or Get this property will contain either a positive or negative number that shows the change in quantity for this inventory item.
|
valueDifference String |
Line item property: The change in total value for this adjustment. After a successful Add or Get, this read-only property will contain either a positive or negative number that shows a change in the total value of the entire stock of this inventory item. |
Constructors
public init()