ItemAmount Property
Line item property: the total amount of this item.
Syntax
char* GetItemAmount(int iItemIndex);
int SetItemAmount(int iItemIndex, char* lpszItemAmount);
Default Value
""
Remarks
Line item property: the total amount of this item.
This property represents the total amount of a transaction line. If ItemRate, ItemCost and/or ItemQuantity are specified the ItemAmount will be automatically computed by QuickBooks.
Whether ItemRate or ItemCost is used will depend on the transaction type. ItemRate is available for CreditMemo, Estimate, Invoice, PurchaseOrder, SalesOrder, and SalesReceipt transactions while ItemCost is available for Bill, CCCharge, CCCredit, Check, ItemReceipt, and VendorCredit transactions.
The amount should be formatted as a string in dollars.
The size of the array is controlled by the ItemCount property.
This property is not available at design time.
Data Type
String