Difference between revisions of "LedgerEntry new"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor)
(Return type)
(Tag: visualeditor)
Line 34: Line 34:
 
LEDGER_ENTRY_ID
 
LEDGER_ENTRY_ID
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Id of Entry
 
|- 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" |  
 
LEDGER_RESOURCE_ID
 
LEDGER_RESOURCE_ID
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Resource Id of Ledger
 
|- 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" |  
 
LEDGER_ENTRY_NAME  
 
LEDGER_ENTRY_NAME  
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | string
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Entry name
 
|- 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" |  
 
LEDGER_ENTRY_DESCRIPTION
 
LEDGER_ENTRY_DESCRIPTION
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | string
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Entry description
 
|- 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" |  
 
LEDGER_ENTRY_UNIT
 
LEDGER_ENTRY_UNIT
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Entry unit
 
|- 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" |  
 
LEDGER_ENTRY_COST
 
LEDGER_ENTRY_COST
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Entry cost
 
|- 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" |  
 
LEDGER_ENTRY_CURRENCY_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" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Entry currency Id
 
|- 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" |  
 
LEDGER_ENTRY_EXCHANGE_RATE
 
LEDGER_ENTRY_EXCHANGE_RATE
  
| style="border: 1px solid rgb(1, 1, 1)" width="92" |  
+
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
  
| style="border: 1px solid rgb(1, 1, 1)" width="491" |
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" |Entry exchange rate
 
|-
 
|-
 
|LEDGER_ENTRY_AMOUNT_SELECTED_CURRENCY
 
|LEDGER_ENTRY_AMOUNT_SELECTED_CURRENCY
|
+
|numer
|
+
|Entry amount selected currency
 
|-
 
|-
 
|LEDGER_ENTRY_AMOUNT_DEFAULT_CURRENCY
 
|LEDGER_ENTRY_AMOUNT_DEFAULT_CURRENCY
|
+
|number
|
+
|Entry amount selected currency
 
|}  
 
|}  
 
== Example ==
 
== Example ==

Revision as of 04:46, 11 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

number Id of Entry

LEDGER_RESOURCE_ID

number Resource Id of Ledger

LEDGER_ENTRY_NAME

string Entry name

LEDGER_ENTRY_DESCRIPTION

string Entry description

LEDGER_ENTRY_UNIT

number Entry unit

LEDGER_ENTRY_COST

number Entry cost

LEDGER_ENTRY_CURRENCY_ID

number Entry currency Id

LEDGER_ENTRY_EXCHANGE_RATE

number Entry exchange rate
LEDGER_ENTRY_AMOUNT_SELECTED_CURRENCY numer Entry amount selected currency
LEDGER_ENTRY_AMOUNT_DEFAULT_CURRENCY number Entry amount selected currency

Example

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