CustomerId Property
A reference to the customer or customer job.
Syntax
ANSI (Cross Platform) char* GetCustomerId();
int SetCustomerId(const char* lpszCustomerId); Unicode (Windows) LPWSTR GetCustomerId();
INT SetCustomerId(LPCWSTR lpszCustomerId);
@property (nonatomic,readwrite,assign,getter=customerId,setter=setCustomerId:) NSString* customerId; - (NSString*)customerId; - (void)setCustomerId:(NSString*)newCustomerId;
#define PID_SALESORDER_CUSTOMERID 3 INQB_EXTERNAL void* INQB_CALL InQB_SalesOrder_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_SalesOrder_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
The Customer property indicates the Customer who has purchased goods or services from the company.
Id/Name Reference Properties
This property is used to reference an object that is already done within QuickBooks. This may be done with its Id (this property) or its full Name, for which a corresponding property is defined.
Using the Id is recommended when feasible, as the Id is guaranteed to never change once defined.
Setting the value of this property will set the corresponding Name property to an empty string.
Either CustomerId or CustomerName is required.
Data Type
String