ItemServiceDate Property
Line item property: Date of service.
Syntax
ANSI (Cross Platform) char* GetItemServiceDate(int iItemIndex);
int SetItemServiceDate(int iItemIndex, const char* lpszItemServiceDate); Unicode (Windows) LPWSTR GetItemServiceDate(INT iItemIndex);
INT SetItemServiceDate(INT iItemIndex, LPCWSTR lpszItemServiceDate);
- (NSString*)itemServiceDate:(int)itemIndex; - (void)setItemServiceDate:(int)itemIndex:(NSString*)newItemServiceDate;
#define PID_ESTIMATE_ITEMSERVICEDATE 29 INQB_EXTERNAL void* INQB_CALL InQB_Estimate_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Estimate_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_Estimate_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
Line item property: Date of service.
For Items that represent a service, ItemServiceDate refers to the date of service. ItemServiceDate is only applicable for the CreditMemo, Invoice, PurchaseOrder, and SalesReceipt classs.
The standard formatting for dates is YYYY-MM-DD; i.e., September 2, 2002 is formatted as 2002-09-02. When getting the value of a date property, the date will always be in this format.
When setting the value of a date property, the formats MM-DD-YY, MM-DD-YYYY, MM/DD/YY, and MM/DD/YYYY are also acceptable. Dates in these formats will be automatically parsed and stored in YYYY-MM-DD format.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.
This property is not available at design time.
Data Type
String