4D Accounting SDK 2020 .NET Edition

Questions / Feedback?

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 component.

Fields

ItemId
String

Line item field: 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 fields 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 field: 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 fields 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 field: 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 component will throws an exception.

The default value of "" indicates that this field is not specified, and no new quantity will be sent.

NewValue
String

Line item field: 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 field is specified, the component will send a ValueAdjustment request for this line. The NewQuantity field may be set in conjunction with the NewValue field, 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 component will throws an exception.

The default value of "" indicates that this field is not specified, and no new value will be sent.

QuantityDifference
String

Line item field: The change in quantity for this adjustment.

After a successful Add or Get this field will contain either a positive or negative number that shows the change in quantity for this inventory item.

ValueDifference
String

Line item field: The change in total value for this adjustment.

After a successful Add or Get, this read-only field 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 Adjustment();
Public Adjustment()

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Accounting SDK 2020 .NET Edition - Version 20.0 [Build 7887]