home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
commercial
/
acp
/
profesnal
/
!Entprise
/
SalesData
/
Forms
/
PeriodEnd
< prev
next >
Wrap
Text File
|
1992-11-09
|
1KB
|
50 lines
! Sales Period End Report Format File
! Lists all transactions for all accounts in the sales ledger
===========================================================================
************************
*SALES LEDGER - LISTING*
************************
{SY0:<34} Date {SY22 }
===========================================================================
Account Date Reference T/x Goods value VAT value Total Batch
---------------------------------------------------------------------------
#SELECT SL 1
#WHILE SL
# tran = SL15
# bfstat = SL17
# IF bfstat
# SELECT ST bfstat
# totalbal = ST3+ST4
# ELSE
# totalbal = 0
# ENDIF
#IF SL15
{SL0:<6} {SL1:<28} Brought forward {£totalbal:>12}
#ENDIF
#WHILE tran
# SELECT ST tran
# IF !(tran=bfstat)
# total = ST3+ST4
# IF ST7=5
----------
# ELSE
# totalbal & total
# ENDIF
{ST2:<8} {ST1:<8} {ST7:>3} {ST3:>12} {ST4:>12} {£total:>12} {ST6:>4}
# ENDIF
# tran = ST8
#LOOP
#IF SL15
----------
Total balance {£totalbal:>12}
#ELSE
{SL0:<6} {SL1:<28} Total balance {£totalbal:>12}
#ENDIF
#NEXT SL
#LOOP
Report complete.