2012-09-27T06:56:34P0D1LibreOffice/7.1.1.2$Linux_X86_64 LibreOffice_project/10$Build-2
0
0
24862
38089
view1
0
0
0
0
0
0
2
0
0
0
0
0
160
120
true
false
0
0
0
0
0
0
2
0
0
0
0
0
160
120
true
false
Consolidado
1295
0
160
120
false
true
true
true
12632256
true
true
true
true
false
false
false
1000
1000
1
1
true
false
true
true
true
false
1000
true
1
12632256
true
true
true
owH+/0dlbmVyaWMgUHJpbnRlcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU0dFTlBSVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAMAxAAAAAAAAAAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9R2VuZXJpYyBQcmludGVyCm9yaWVudGF0aW9uPVBvcnRyYWl0CmNvcGllcz0xCmNvbGxhdGU9ZmFsc2UKbWFyZ2luZGFqdXN0bWVudD0wLDAsMCwwCmNvbG9yZGVwdGg9MjQKcHNsZXZlbD0wCnBkZmRldmljZT0xCmNvbG9yZGV2aWNlPTAKUFBEQ29udGV4RGF0YQpEdXBsZXg6Tm9uZQBQYWdlU2l6ZTpMZXR0ZXIAABIAQ09NUEFUX0RVUExFWF9NT0RFDwBEdXBsZXhNb2RlOjpPZmY=
1000
0
false
true
false
1
true
en
US
es
CO
false
true
false
true
true
Generic Printer
false
0
3
true
false
false
false
true
false
true
Hoja1
Detallado
$
(
$
)
€
-
€
-
-
(
)
(
)
$
-
$
$
-
$
%
€
-
€
%
/
/
$
(
$
)
%
$
(
$
)
%
$
-
$
???
Página 1de 99
???(???)
00/00/0000, 00:00:00
Página 1/ 99
ESTADO DE RESULTADOS CON CUENTAS ANALITICAS
company.rec_name
NIT company.party.identifiers and company.party.identifiers[0].code
Dirección:
PERIODO INICIAL:
start_period.name
company.party.address_get().full_address
PERIODO FINAL:
end_period.name
if test="analytic_lines"
TERCEROS
COD.
CUENTA
CUENTASCONTABLES
CUENTAS ANALÍTICAS
%
NÚMEROASIENTO
FECHAASIENTO
IDENTIFICACIÓN
NOMBRES
/if
if test="analytic_lines == False"
COD.
CUENTA
CUENTASCONTABLES
CUENTAS ANALÍTICAS
%
NÚMEROASIENTO
FECHAASIENTO
/if
for each='key, account in records_full.items()'
choose test=""
when test="len(account[0]) == 1 and account[2] != 0"
account[0]
account[1]
account[2]
account[4]
account[4]/account[2]
/when
when test="(len(account[0]) == 1) and (account[4] != 0 and account[2] == 0 or without_balance)"
account[0]
account[1]
account[2]
account[4]
0,00 %
/when
when test="len(account[0]) >= 2 and len(account[0]) < 4 and account[2] != 0"
account[0]
account[1]
account[2]
account[4]
account[4]/account[2]
/when
when test="(len(account[0]) >= 2 and len(account[0]) < 4) and (account[4] != 0 and account[2] == 0 or without_balance)"
account[0]
account[1]
account[2]
account[4]
0,00 %
/when
when test="len(account[0]) >= 4 and len(account[0]) < 6 and account[2] != 0"
account[0]
account[1]
account[2]
account[4]
account[4]/account[2]
/when
when test="(len(account[0]) >= 4 and len(account[0]) < 6) and (account[4] != 0 and account[2] == 0 or without_balance)"
account[0]
account[1]
account[2]
account[4]
0,00 %
/when
when test="len(account[0]) >= 6 and len(account[0]) < 8 and account[2] != 0"
account[0]
account[1]
account[2]
account[4]
account[4]/account[2]
/when
when test="(len(account[0]) >= 6 and len(account[0]) < 8) and (account[4] != 0 and account[2] == 0 or without_balance)"
account[0]
account[1]
account[2]
account[4]
0,00 %
/when
when test="len(account[0]) >= 8 and account[2] != 0 and detailed"
account[0]
account[1]
account[2]
account[4]
account[4]/account[2]
/when
when test="(len(account[0]) >= 8 and detailed) and (account[4] != 0 and account[2] == 0 or without_balance)"
account[0]
account[1]
account[2]
account[4]
0.00%
/when
if test="len(account[3]) > 0 and analytic_lines"
for each='analytic_line in account[3]'
if test="account[2] == 0 and analytic_line.move_line.party"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
0,00%
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
analytic_line.move_line.party.identifiers[0].code
analytic_line.move_line.party.name
/if
if test="(account[2] > 0 or account[2] < 0) and analytic_line.move_line.party"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
(analytic_line.debit-analytic_line.credit)/account[2]
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
analytic_line.move_line.party.identifiers[0].code
analytic_line.move_line.party.name
/if
if test="account[2] == 0 and analytic_line.move_line.party == None"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
0,00%
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
/if
if test="(account[2] > 0 or account[2] < 0) and analytic_line.move_line.party == None"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
(analytic_line.debit-analytic_line.credit)/account[2]
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
/if
/for
/if
/choose
/for
UTILIDAD DEL EJERCICIO
global_result
Impresión: format_date(datetime.date.today(), company.party.lang)
REPRESENTANTE LEGAL
CONTADOR
ESTADO DE RESULTADOS DETALLADO CON CUENTAS ANALITICAS
company.rec_name
NIT company.party.identifiers and company.party.identifiers[0].code
Dirección:
PERIODO INICIAL:
start_period.name
company.party.address_get().full_address
PERIODO FINAL:
end_period.name
if test="analytic_lines"
TERCEROS
COD.
CUENTA
CUENTASCONTABLES
CUENTAS ANALÍTICAS
%
NÚMEROASIENTO
FECHAASIENTO
IDENTIFICACIÓN
NOMBRES
/if
if test="analytic_lines == False"
COD.
CUENTA
CUENTASCONTABLES
CUENTAS ANALÍTICAS
%
NÚMEROASIENTO
FECHAASIENTO
/if
root[0].code
root[0].name
global_result
analytic_balance
analytic_balance/global_result
for each='id, accounts in records.items()'
accounts['code']
id
global_result
accounts['balance']
accounts['balance']/global_result
for each='key, account in accounts.items()'
if test="key != 'balance' and key != 'code' "
choose test=""
when test="len(account[0].code) == 1 and account[0].balance != 0"
account[0].code
account[0].name
account[0].balance
account[2]
account[2]/account[0].balance
/when
when test="(len(account[0].code) == 1) and (account[2] != 0 and account[0].balance == 0 or without_balance)"
account[0].code
account[0].name
account[0].balance
account[2]
0,00%
/when
when test="len(account[0].code) >= 2 and len(account[0].code) < 4 and account[0].balance != 0"
account[0].code
account[0].name
account[0].balance
account[2]
account[2]/account[0].balance
/when
when test="(len(account[0].code) >= 2 and len(account[0].code) < 4) and (account[2] != 0 and account[0].balance == 0 or without_balance)"
account[0].code
account[0].name
account[0].balance
account[2]
0,00%
/when
when test="len(account[0].code) >= 4 and len(account[0].code) < 6 and account[0].balance != 0"
account[0].code
account[0].name
account[0].balance
account[2]
account[2]/account[0].balance
/when
when test="(len(account[0].code) >= 4 and len(account[0].code) < 6) and (account[2] != 0 and account[0].balance == 0 or without_balance)"
account[0].code
account[0].name
account[0].balance
account[2]
0,00%
/when
when test="len(account[0].code) >= 6 and len(account[0].code) < 8 and account[0].balance != 0"
account[0].code
account[0].name
account[0].balance
account[2]
account[2]/account[0].balance
/when
when test="(len(account[0].code) >= 6 and len(account[0].code) < 8) and (account[2] != 0 and account[0].balance == 0 or without_balance)"
account[0].code
account[0].name
account[0].balance
account[2]
0,00%
/when
when test="len(account[0].code) >= 8 and account[0].balance != 0 and detailed"
account[0].code
account[0].name
account[0].balance
account[2]
account[2]/account[0].balance
/when
when test="(len(account[0].code) >= 8 and detailed) and (account[2] != 0 and account[0].balance == 0 or without_balance)"
account[0].code
account[0].name
account[0].balance
account[2]
0,00%
/when
if test="len(account[1]) > 0 and analytic_lines"
for each='analytic_line in account[1]'
if test="account[2] == 0 and analytic_line.move_line.party"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
0,00%
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
analytic_line.move_line.party.identifiers[0].code
analytic_line.move_line.party.name
/if
if test="(account[2] > 0 or account[2] < 0) and analytic_line.move_line.party"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
(analytic_line.debit-analytic_line.credit)/account[2]
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
analytic_line.move_line.party.identifiers[0].code
analytic_line.move_line.party.name
/if
if test="account[2] == 0 and analytic_line.move_line.party == None"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
0,00%
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
/if
if test="(account[2] > 0 or account[2] < 0) and analytic_line.move_line.party == None"
analytic_line.account.code
analytic_line.move_line.account.name
analytic_line.debit
analytic_line.credit
(analytic_line.debit-analytic_line.credit)/account[2]
analytic_line.move_line.move.number
format_date(analytic_line.move_line.move.date, company.party.lang)
/if
/for
/if
/choose
/if
/for
Utilidad o Perdida de la Cuenta Analítica ( accounts['code'] - id )
accounts['balance']
/for
UTILIDAD O PERDIDA DE TODAS LAS CUENTAS ANALÍTICAS
analytic_balance
UTILIDAD O PERDIDA DEL EJERCICIO
global_result
Impresión: format_date(datetime.date.today(), company.party.lang)
REPRESENTANTE LEGAL
CONTADOR