home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
commercial
/
acp
/
profesnal
/
!Entprise
/
SalesData
/
Forms
/
SalesAccnt
< prev
next >
Wrap
Text File
|
1992-09-15
|
2KB
|
47 lines
! Sales Account Report Format File
! Lists all transactions for selected account.
===========================================================================
*******************************
*SALES LEDGER - ACCOUNT REPORT*
*******************************
{SY0:<34} Date {SY22 }
===========================================================================
#SELECT SL U2
{SL0:<8} {SL1:<30} Statement date {SL11:>7}
{SL2:<30} Settlement discount {SL14:>7}%
{SL3:<30} Settlement period {SL13:<3}Days
{SL4:<30} Credit limit £{SL10:>12}
{SL5:<30}
Total balance £{£SL6+SL7+SL8+SL9:>12}
3 Months:- 2 Months:- 1 Month:- Current:-
{SL9:>12} {SL8:>12} {SL7:>12} {SL6:>12}
#tran = SL15
---------------------------------------------------------------------------
Date Reference T/x Goods value VAT value Total Batch
---------------------------------------------------------------------------
#stat = SL17
#SELECT ST stat
#totalbal = ST3+ST4
Brought forward {£totalbal:> }
#WHILE tran
# SELECT ST tran
# IF !(tran=stat)
# 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
==========
Total balance {£totalbal:> }
Report complete.