QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

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_ITEMRECEIPT_QBREQUESTMODE 51

INQB_EXTERNAL void* INQB_CALL InQB_ItemReceipt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_ItemReceipt_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.

The use of offline mode is required when using the QBWCServer class. This allows requests to be generated and passed to QuickBooks Web Connector through the QBWCServer class.

For normal communication to QuickBooks either directly or through the QBConnector application use the default online mode.

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]