ItemMarkupRate Property
The markup that will be passed on to the customer for this item on this estimate.
Syntax
ANSI (Cross Platform) char* GetItemMarkupRate(int iItemIndex);
int SetItemMarkupRate(int iItemIndex, const char* lpszItemMarkupRate); Unicode (Windows) LPWSTR GetItemMarkupRate(INT iItemIndex);
INT SetItemMarkupRate(INT iItemIndex, LPCWSTR lpszItemMarkupRate);
- (NSString*)itemMarkupRate:(int)itemIndex; - (void)setItemMarkupRate:(int)itemIndex:(NSString*)newItemMarkupRate;
#define PID_ESTIMATE_ITEMMARKUPRATE 20 INQB_EXTERNAL void* INQB_CALL InQB_Estimate_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Estimate_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_Estimate_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The markup that will be passed on to the customer for this item on this estimate. Amount, quantity, rate, and markup are related in the following way: ItemAmount = (ItemQuantity * ItemRate) + ItemMarkupRate.
If ItemMarkupRatePercent is specified instead of ItemMarkupRate, then this line item represents a percentage markup or discount, to be applied to the previous Item or Item group.
ItemMarkupRate should be formatted as a positive or negative dollar amount (including decimal). A positive value indicates a markup and a negative amount a discount.
Only one of ItemMarkupRatePercent and ItemMarkupRate may be specified. If ItemMarkupRatePercent is set, then ItemMarkupRate will be set to its default (and vice-versa). The amount should be formatted as a string in dollars.
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
String