QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ItemAdjustRelativeTo Property

Pricelevel percentage is adjusted relative to this property.

Syntax

ANSI (Cross Platform)
int GetItemAdjustRelativeTo(int iItemIndex);
int SetItemAdjustRelativeTo(int iItemIndex, int iItemAdjustRelativeTo); Unicode (Windows) INT GetItemAdjustRelativeTo(INT iItemIndex);
INT SetItemAdjustRelativeTo(INT iItemIndex, INT iItemAdjustRelativeTo);

Possible Values

A_NOT_SET(0), 
A_STANDARD_PRICE(1),
A_COST(2),
A_CURRENT_CUSTOM_PRICE(3)
- (int)itemAdjustRelativeTo:(int)itemIndex;
- (void)setItemAdjustRelativeTo:(int)itemIndex:(int)newItemAdjustRelativeTo;

Possible Values

A_NOT_SET(0), 
A_STANDARD_PRICE(1),
A_COST(2),
A_CURRENT_CUSTOM_PRICE(3)
#define PID_PRICELEVEL_ITEMADJUSTRELATIVETO 5

INQB_EXTERNAL void* INQB_CALL InQB_PriceLevel_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_PriceLevel_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_PriceLevel_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

Pricelevel percentage is adjusted relative to this property.

When you create a price level, you have the option to create it with a flat custom price (flat amount or percentage) or you could apply a price discount based on either the current custom price, the standard price of the item, or the cost of the item.

You specify the price discount in the ItemAdjustPercentage field and the price to be discounted (standard item price, item cost, or the item's current custom price) in the ItemAdjustRelativeTo field.

When you create a price level, you must specify whether it is a FixedPercentage or a per item price level. Once you create the price level, you cannot change this. Currently, only QuickBooks Premier and Enterprise support the per item price level.

The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]