AdjustmentNewValue Property
Line item property: New value of this adjustment.
Syntax
ANSI (Cross Platform) char* GetAdjustmentNewValue(int iAdjustmentIndex);
int SetAdjustmentNewValue(int iAdjustmentIndex, const char* lpszAdjustmentNewValue); Unicode (Windows) LPWSTR GetAdjustmentNewValue(INT iAdjustmentIndex);
INT SetAdjustmentNewValue(INT iAdjustmentIndex, LPCWSTR lpszAdjustmentNewValue);
- (NSString*)adjustmentNewValue:(int)adjustmentIndex; - (void)setAdjustmentNewValue:(int)adjustmentIndex:(NSString*)newAdjustmentNewValue;
#define PID_ADJUSTINVENTORY_ADJUSTMENTNEWVALUE 8 INQB_EXTERNAL void* INQB_CALL InQB_AdjustInventory_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_AdjustInventory_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_AdjustInventory_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
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 AdjustmentNewQuantity property may be set in conjunction with the AdjustmentNewValue property, and so long as AdjustmentNewValue is not empty, a ValueAdjustment request will be sent for this line. However, if AdjustmentNewValue is empty a QuantityAdjustment will be sent instead.
Either AdjustmentNewQuantity and/or AdjustmentNewValue must be specified for each Adjustment, or the class will fails with an error.
The default value of "" indicates that this property is not specified, and no new value will be sent.
The AdjustmentIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AdjustmentCount property.
This property is not available at design time.
Data Type
String