QBRequestMode Property
Defines whether the request is made online or stored offline.
Syntax
ANSI (Cross Platform) int GetQBRequestMode();
int SetQBRequestMode(int iQBRequestMode); Unicode (Windows) INT GetQBRequestMode();
INT SetQBRequestMode(INT iQBRequestMode);
Possible Values
RM_ONLINE(0),
RM_OFFLINE(1)
@property (nonatomic,readwrite,assign,getter=QBRequestMode,setter=setQBRequestMode:) int QBRequestMode; - (int)QBRequestMode; - (void)setQBRequestMode:(int)newQBRequestMode;
Possible Values
RM_ONLINE(0),
RM_OFFLINE(1)
#define PID_DEPOSIT_QBREQUESTMODE 28 INQB_EXTERNAL void* INQB_CALL InQB_Deposit_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Deposit_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property defines the behavior of the class when calling a method. Possible values are:
0 (rmOnline - default) | The request is made normally. |
1 (rmOffline) | The request is generated but not sent, and QBRequestAggregate is populated. |
For normal communication to QuickBooks either directly or through the QBConnector application use the default online mode.
Data Type
Integer