VendorId Property
Reference to the vendor for this transaction.
Syntax
ANSI (Cross Platform) char* GetVendorId();
int SetVendorId(const char* lpszVendorId); Unicode (Windows) LPWSTR GetVendorId();
INT SetVendorId(LPCWSTR lpszVendorId);
@property (nonatomic,readwrite,assign,getter=vendorId,setter=setVendorId:) NSString* vendorId; - (NSString*)vendorId; - (void)setVendorId:(NSString*)newVendorId;
#define PID_PURCHASEORDER_VENDORID 59 INQB_EXTERNAL void* INQB_CALL InQB_PurchaseOrder_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_PurchaseOrder_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
The Vendor property refers to the Vendor from whom the goods or services were purchased.
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 VendorId or VendorName is required.
Data Type
String