Invoice new
Revision as of 08:35, 2 January 2018 by Nguyenduyan (talk | contribs)
Invoice_new
Syntax
Invoice_new (string invoiceName, number parentResourceId, number eraningUserRId, DateTime invoiceDate, DateTime dueDate, number templateInvoiceRId);
Arguments
string invoiceName
number parentResourceId
number eraningUserRId
DateTime invoiceDate
DateTime dueDate
number templateInvoiceRId
Return type
Array of Invoice object
Index |
Data type |
Value |
INVOICE_RESOURCE_ID |
||
INVOICE_PART |
||
INVOICE_PARENT_RESOURCE_ID |
||
INVOICE_TEMPLATE_RESOURCE_ID |
||
INVOICE_SUBMITTED |
||
INVOICE_REVENUE_TYPE |
||
INVOICE_CUSTOMER_RESOURCE_ID |
||
INVOICE_REPRESENTATIVE_RESOURCE_ID |
||
INVOICE_ADDRESSED_TO | ||
INVOICE_EARNER | ||
INVOICE_REFERENCE | ||
INVOICE_INVOICE_DATE | ||
INVOICE_DUE_DATE | ||
INVOICE_PAID_DATE | ||
INVOICE_SUBMITTED_DATE | ||
INVOICE_LEDGER | ||
INVOICE_TOTAL | ||
PROPERTY_COUNT |
Example
//{30,0,test,11088827,2111,False,1,0,0,Empty,10768810,,{2018,1,2,0,0,0,0,1,65},{2018,1,2,0,0,0,0,1,65},{1,1,1,0,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},{},0}