Difference between revisions of "LedgerEntry new"
Nguyenduyan (talk | contribs) (→Return type) (Tag: visualeditor) |
Nguyenduyan (talk | contribs) (→Return type) (Tag: visualeditor-switched) |
||
Line 19: | Line 19: | ||
== Return type == | == Return type == | ||
Array of [[CGS Constants list#Ledger entry constant|Ledger Entry object]] | Array of [[CGS Constants list#Ledger entry constant|Ledger Entry object]] | ||
+ | {| class="tableintopic" style="border: 1px solid rgb(1, 1, 1); border-collapse: collapse" width="875" cellspacing="0" cellpadding="2" border="1" | ||
+ | |- valign="top" align="left" | ||
+ | | style="border: 1px solid rgb(1, 1, 1)" width="292" bgcolor="#c0c0c0" | | ||
+ | '''Index''' | ||
+ | | style="border: 1px solid rgb(1, 1, 1)" width="92" bgcolor="#c0c0c0" | | ||
+ | '''Data type''' | ||
+ | |||
+ | | style="border: 1px solid rgb(1, 1, 1)" width="491" bgcolor="#c0c0c0" | | ||
+ | '''Value''' | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |- valign="top" align="left" | ||
+ | | 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="491" | | ||
+ | |||
+ | |} | ||
== Example == | == Example == | ||
Revision as of 09:39, 2 January 2018
LedgerEntry_new
Syntax
LedgerEntry_new (string ledgerName, string ledgerEntryDescription);
Arguments
string invoiceName
string ledgerEntryDescription
Return type
Array of Ledger Entry 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 |
Example
//{31,0,0,test4,123,1,0,2,1,0,0}