BalType Property
The type of balance.
Syntax
ANSI (Cross Platform) int GetBalType(int iBalIndex); Unicode (Windows) INT GetBalType(INT iBalIndex);
Possible Values
BT_DOLLAR(0),
BT_PERCENT(1),
BT_NUMBER(2),
BT_OTHER(255)
- (int)balType:(int)balIndex;
Possible Values
BT_DOLLAR(0),
BT_PERCENT(1),
BT_NUMBER(2),
BT_OTHER(255)
#define PID_INVSTATEMENT_BALTYPE 7 IPWORKSOFX_EXTERNAL void* IPWORKSOFX_CALL IPWorksOFX_InvStatement_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOFX_EXTERNAL int IPWORKSOFX_CALL IPWorksOFX_InvStatement_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The type of balance. Possible values for balance types and their meanings are as follows:
btDOLLAR (0) | Dollar (BalValue formatted as DDDD.cc) |
btPERCENT (1) | percentage (BalValue formatted as XXXX.YYYY) |
btNUMBER (2) | number (BalValue formatted as is) |
ptOTHER (255) | Other |
If a balance list is present in the server response, the BalType is always present in the response for each balance listed.
The BalIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BalCount property.
This property is read-only and not available at design time.
Data Type
Integer