Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

LedgerEntry new: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Nguyenduyan (talk | contribs)
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 04: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}