Difference between revisions of "Invoice new"
Nguyenduyan (talk | contribs) |
Nguyenduyan (talk | contribs) (Tag: visualeditor) |
||
Line 28: | Line 28: | ||
Array of Invoice object | Array of Invoice object | ||
− | + | {| class="tableintopic" style="border: 1px solid rgb(1, 1, 1); border-collapse: collapse" width="875" cellspacing="0" cellpadding="2" border="1" | |
− | {| class="tableintopic" style="border: 1px solid rgb(1, 1, 1); border-collapse: collapse" | + | |- valign="top" align="left" |
− | |- | + | | style="border: 1px solid rgb(1, 1, 1)" width="292" bgcolor="#c0c0c0" | |
− | | style="border: 1px solid rgb(1, 1, 1)" bgcolor="#c0c0c0 | ||
'''Index''' | '''Index''' | ||
− | | style="border: 1px solid rgb(1, 1, 1)" bgcolor="#c0c0c0 | + | | style="border: 1px solid rgb(1, 1, 1)" width="92" bgcolor="#c0c0c0" | |
'''Data type''' | '''Data type''' | ||
− | | style="border: 1px solid rgb(1, 1, 1)" bgcolor="#c0c0c0 | + | | style="border: 1px solid rgb(1, 1, 1)" width="491" bgcolor="#c0c0c0" | |
'''Value''' | '''Value''' | ||
− | |- | + | |- valign="top" align="left" |
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_RESOURCE_ID | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_PART | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_PARENT_RESOURCE_ID | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_TEMPLATE_RESOURCE_ID | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_SUBMITTED | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_REVENUE_TYPE | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_CUSTOMER_RESOURCE_ID | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- valign="top" align="left" | |
− | |||
− | |- | ||
| style="border: 1px solid rgb(1, 1, 1)" width="292" | | | style="border: 1px solid rgb(1, 1, 1)" width="292" | | ||
− | + | INVOICE_REPRESENTATIVE_RESOURCE_ID | |
| style="border: 1px solid rgb(1, 1, 1)" width="92" | | | style="border: 1px solid rgb(1, 1, 1)" width="92" | | ||
− | |||
| style="border: 1px solid rgb(1, 1, 1)" width="491" | | | style="border: 1px solid rgb(1, 1, 1)" width="491" | | ||
− | + | |- | |
− | + | |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 | ||
+ | | | ||
+ | | | ||
|} | |} | ||
Revision as of 08:35, 2 January 2018
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}