QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

OwnerId Property

The Id of an application.

Syntax

ANSI (Cross Platform)
char* GetOwnerId();
int SetOwnerId(const char* lpszOwnerId); Unicode (Windows) LPWSTR GetOwnerId();
INT SetOwnerId(LPCWSTR lpszOwnerId);
@property (nonatomic,readwrite,assign,getter=ownerId,setter=setOwnerId:) NSString* ownerId;
- (NSString*)ownerId;
- (void)setOwnerId:(NSString*)newOwnerId;
#define PID_COMPANY_OWNERID 12

INQB_EXTERNAL void* INQB_CALL InQB_Company_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Company_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the Id of an application. It is commonly used in conjunction with the QBWCServer class to check if the application has previously communicated with the specified company file in the past.

If this property is set before calling Get, QuickBooks will return a value for FileId (if one exists). This can be compared to a known FileId value to determine if your application has previously worked with this file.

This format of this value must adhere to the GUIDTYPE defined in the QuickBooks SDK. The format is

{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
where X is a hexadecimal digit. For example:
{6B063959-81B0-4622-85D6-F548C8CCB517}

Data Type

String

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