item_adjust_relative_to Property
Pricelevel percentage is adjusted relative to this property.
Syntax
def get_item_adjust_relative_to(item_index: int) -> int: ... def set_item_adjust_relative_to(item_index: int, value: int) -> None: ...
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 item_adjust_percentage field and the price to be discounted (standard item price, item cost, or the item's current custom price) in the item_adjust_relative_to 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 item_index parameter specifies the index of the item in the array. The size of the array is controlled by the item_count property.