Difference between revisions of "LedgerEntry new"

From Catglobe Wiki
Jump to: navigation, search
(Return type)
(Tag: visualeditor-switched)
(Tag: visualeditor)
Line 32: Line 32:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_ID
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 38: Line 38:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_RESOURCE_ID
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 44: Line 44:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_NAME
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 50: Line 50:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_DESCRIPTION
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 56: Line 56:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_UNIT
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 62: Line 62:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_COST
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 68: Line 68:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_CURRENCY_ID
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
Line 74: Line 74:
 
|- valign="top" align="left"
 
|- 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
+
LEDGER_ENTRY_EXCHANGE_RATE
  
 
| 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" |
 
+
|-
 +
|LEDGER_ENTRY_AMOUNT_SELECTED_CURRENCY
 +
|
 +
|
 +
|-
 +
|LEDGER_ENTRY_AMOUNT_DEFAULT_CURRENCY
 +
|
 +
|
 
|}  
 
|}  
 
== Example ==
 
== Example ==

Revision as of 09:42, 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

LEDGER_ENTRY_ID

LEDGER_RESOURCE_ID

LEDGER_ENTRY_NAME

LEDGER_ENTRY_DESCRIPTION

LEDGER_ENTRY_UNIT

LEDGER_ENTRY_COST

LEDGER_ENTRY_CURRENCY_ID

LEDGER_ENTRY_EXCHANGE_RATE

LEDGER_ENTRY_AMOUNT_SELECTED_CURRENCY
LEDGER_ENTRY_AMOUNT_DEFAULT_CURRENCY

Example

//{31,0,0,test4,123,1,0,2,1,0,0}