Páginas filhas
  • SALDOITEM (Worksheet Functions - SIGACTB)

SALDOITEM(Account,CostC,Item,Date,Currency,TypeBalance,WhichBalance)

It returns Transaction of a Ledger Account + Cost Center + Accounting Item (CT4) for date and currency informed.

Parameters

Account

Code of Ledger Account

CostC

Code of Cost Center

Item

Code of Accounting Item

Date

Date in which balances are obtained.

Currency

Currency related to balances.

TypeBalance

Balance Type

WhichBalance

Return estimated (refer to following table)


Return

When passing parameters, indicate which return you want by using one of the following numbers:

1

Current balance (with sign)

2

Debit on date (transaction)

3

Credit on date (transaction)

4

Current debt balance

5

Current credit balance

6

Previous balance (with sign)

7

Previous debt balance

8

Previous credit balance


Example:

SALDOITEM("41101","1010", "100","12/31/04","01", "1",1)

It returns current performed balance (Type of Balance = 1) of ledger account "41101," cost center "1010," and accounting item "100," currency "01," on date "12/31/04."