home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
commercial
/
acp
/
profesnal
/
!Entprise
/
PurchData
/
Forms
/
PeriodEnd
< prev
next >
Wrap
Text File
|
1992-11-09
|
1KB
|
50 lines
! Purchase Period End Report Format File
! Lists all transactions for all accounts in the purchase ledger
===========================================================================
***************************
*PURCHASE LEDGER - LISTING*
***************************
{SY0:<34} Date {SY22 }
===========================================================================
Account Date Reference T/x Goods value VAT value Total Batch
---------------------------------------------------------------------------
#SELECT PL 1
#WHILE PL
# tran = PL15
# bfstat = PL17
# IF bfstat
# SELECT PT bfstat
# totalbal = PT3+PT4
# ELSE
# totalbal = 0
# ENDIF
#IF PL15
{PL0:<6} {PL1:<28} Brought forward {£totalbal:>12}
#ENDIF
#WHILE tran
# SELECT PT tran
# IF !(tran=bfstat)
# total = PT3+PT4
# IF PT7=5
----------
# ELSE
# totalbal & total
# ENDIF
{PT2:<8} {PT1:<8} {PT7:>3} {PT3:>12} {PT4:>12} {£total:>12} {PT6:>4}
# ENDIF
# tran = PT8
#LOOP
#IF PL15
----------
Total balance {£totalbal:>12}
#ELSE
{PL0:<6} {PL1:<28} Total balance {£totalbal:>12}
#ENDIF
#NEXT PL
#LOOP
Report complete.