ShipToId Property
Reference to entity to whom shipment is to be made.
Syntax
ANSI (Cross Platform) char* GetShipToId();
int SetShipToId(const char* lpszShipToId); Unicode (Windows) LPWSTR GetShipToId();
INT SetShipToId(LPCWSTR lpszShipToId);
@property (nonatomic,readwrite,assign,getter=shipToId,setter=setShipToId:) NSString* shipToId; - (NSString*)shipToId; - (void)setShipToId:(NSString*)newShipToId;
#define PID_PURCHASEORDER_SHIPTOID 52 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
A reference to an entity (a Customer, a Vendor or an Employee) to whom shipment is to be made.
If this property is left unspecified shipment will be made directly to 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.
Data Type
String