Difference between revisions of "LedgerEntry new"

From Catglobe Wiki
Jump to: navigation, search
(Return type)
(Tag: visualeditor)
(LedgerEntry_new)
(Tag: visualeditor)
Line 6: Line 6:
  
  
 +
Create new LedgerEntry for an Invoice
  
 
== Syntax ==
 
== Syntax ==
Line 41: Line 42:
  
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
 
| style="border: 1px solid rgb(1, 1, 1)" width="92" | number
| style="border: 1px solid rgb(1, 1, 1)" width="491" | Resource Id of Ledger
+
| style="border: 1px solid rgb(1, 1, 1)" width="491" |  
 
|- 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" |  

Revision as of 05:29, 11 January 2018



LedgerEntry_new

Create new LedgerEntry for an Invoice

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

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}