12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
T24 Knowledge Bank Temenos T24, Design Studio, AA.ARRANGEMENT, Basic Routines, TAFC, TAFJ.
T24 Home
T24 Ba Basics
T24 Ar Arrangement Ar Architecture
T24 De Design Studio
About
Contact Us Us
Privacy Policy
Showing posts with label T24 Programs and Routines. Routines. Show all posts
How to read Sample XML file in T24?
Se
READ SAMPLE XML PROGRAM TEST.XML $INSERT I_COMMON $INSERT I_EQUATE Y.PATH = "/data/TAFJ/samples/basic/ARJUN.BP" Y.FNAME = "test.xml" Y.TEMP1 Y.TEMP1 = "" Y.TEMP2 = "" OPENSEQ Y.PATH,Y.FNAME TO SEQ.PT R THEN LOOP READSEQ Y.FLD.VAL FROM SEQ.PTR THEN PRINT Y.FLD.VAL Y.TEMP1 = FIELD(Y.FLD.VAL,"
",2) Y.TEMP2 = FIELD(Y.TEMP1,"",1) Y.TEMP1 = FIELD(Y.FLD.VAL,"
",2) Y.TEMP3 = FIELD(Y.TEMP1,"",1) Y.TEMP1 = FIELD(Y.FLD.VAL,"
",2) Y.TEMP4 = FIELD(Y.TEMP1,"",1) Y.TEMP1 = FIELD(Y.FLD.VAL,"
",2) Y.TEMP5 = FIELD(Y.TEMP1,"",1) Y.TEMP1 = FIELD(Y.FLD.VAL,"
",2) Y.TEMP6 = FIELD(Y.TEMP1,"",1) Y.TOT<-1> = Y.TEMP2 : Y.TEMP3 : Y.TEMP4 : Y.TEMP5 : Y.TEMP6 END ELSE PRINT "NO RECORDS FOUND" CHANGE FM TO "*" IN Y.TOT CHANGE VM TO "|" IN Y.TOT CHANGE SM TO "!" IN Y.TOT PRINT Y.TOT BREAK END REPEAT END ELSE PRINT "FILE NOT FOUND"
https://www.t24knowledgebank.in/search/label/T24%20Programs%20and%20Routines
1/9
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
CLOSESEQ SEQ.PTR END END
at September 13, 2018 Reactions: No comments: Labels: T24 Programs and Routines
How to create Versions through Routines in T24? CREATING VERSIONS SUBROUTINE TEST.VERSION $INSERT I_COMMON $INSERT I_EQUATE $INSERT I_F.VERSION GOSUB INIT GOSUB LOAD GOSUB PROCESS INIT: Y.K = "" Y.V_TABLE_NAME = "" Y.VERSION_NAME = "" FN.VER = "F.VERSION" F.VER = "" FN.SS = "F.STANDARD.SELECTION" F.SS = "" R.VER = "" Y.ERR = "" RETURN LOAD: CALL OPF(FN.VER,F.VER) CALL OPF(FN.SS,F.SS) RETURN
Bl PROCESS: CRT "Enter The Table Name to which the Version has to be created" INPUT Y.V_TABLE_NAME IF Y.V_TABLE_NAME = "" THEN PRINT "APPLICATION NAME SHOULD N'T BE EMPTY"
▼
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
END END
VERSTART: CRT "Enter The Version Name" INPUT Y.VERSION_NAME
Fo IF Y.VERSION_NAME = "" THEN PRINT "VERSION NAME SHOULD NOT BE EMPTY ...!" GOSUB VERSTART END ELSE Y.VERID = Y.V_TABLE_NAME :",": Y.VERSION_NAME CALL F.READ(FN.VER,Y.VERID,R.VER,F.VER,Y.ERR) IF R.VER NE "" THEN PRINT "VERSION ALREADY EXIST WITH THIS NAME....PLEASE TRY WITH GOSUB VERSTART END END * FORMING NAME CONVENSION Y.VER_ID = Y.V_TABLE_NAME :"?": Y.VERSION_NAME Y.VAR1 = "1" Y.VAR2 = "1" * Y.VAR3 = Y.VER_ID Y.VAR4 = "1" Y.VAR5 = "1" R.VER
= Y.VAR1 R.VER = Y.VAR2 * R.VER = Y.VAR3 R.VER = Y.VAR4 R.VER = Y.VAR5 *------------------------------------------------------------------------ APP.NAME = "VERSION" OFSFUNCT = "I" PROCESS = "PROCESS" OFSVERSION = "VERSION,TEST" GTSMODE = "" NO.OF.AUTH = 0 WERR = "" TRANSACTION.ID = Y.VER_ID CALL OFS.BUILD.RECORD(APP.NAME,OFSFUNCT,PROCESS,OFSVERSION,GTSMODE,NO.OF.AUTH,TRANSACTION.ID,R.VER,OFSRECORD) * Y.OFS.SOURCE = "OFSGLOBUS" * CALL OFS.POST.MESSAGE(OFSRECORD,Y.OFS.MSG.KEY,Y.OFS.SOURCE,"") OFS.SOURCE.ID = "OFS.LOAD" CALL.INFO<1> = OFS.SOURCE.ID CALL.INFO<4> = '' Y.TXN.COMMITTED = '' CALL OFS.CALL.BULK.MANAGER(CALL.INFO, OFSRECORD, Y.OFS.RESPONSE, Y.TXN.COMMITTED) END
at September 13, 2018 Reactions: No comments: Labels: T24 Programs and Routines
Fol
F
C Na
Em
Me
S
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
1.
SUBROUTINE TEST02
2.
$INSERT I_COMMON
3.
$INSERT I_EQUATE
4.
$INSERT I_F.ACCOUNT
5.
$INSERT I_F.FUNDS.TRANSFER
6.
$INSERT I_F.DATA.CAPTURE
7.
$INSERT I_F.DC.BATCH.CONTROL
8. 9.
GOSUB INIT
10.
GOSUB OPEN
11.
GOSUB PROCESS
12.
RETURN
13. 14. 15. INIT: 16. 17.
FN.DC = "FBNK.DATA.CAPTURE"
18.
F.DC = ""
19.
FN.ACC = "FBNK.ACCOUNT"
20.
F.ACC = ""
21.
FN.FT = "FBNK.FUNDS.TRANSFER"
22.
F.FT = ""
23.
FN.DC.BCTRL = "FBNK.DC.BATCH.CONTROL"
24.
F.DC.BCTRL = ""
25. 26.
Y.DEB.OR.CRE = ""
27.
Y.DC.ID = ""
28.
Y.ACC.ID = ""
29.
Y.SIGN = ""
30.
Y.AMOUNT = ""
31.
Y.TXN.CODE = ""
32.
Y.WOR.BAL = ""
33.
Y.OUT.ARY = ""
34.
Y.DEB.ACC.COUNT = ""
35.
Y.DEB.ACC.LIST = ""
36.
Y.PATH = ""
37.
Y.FNAME.IN = ""
38. 39.
PRINT "ENTER THE INPUT FILE PATH WITH \ AT THE END...!"
40.
INPUT Y.PATH
41.
PRINT "ENTER THE INPUT RECORD NAME"
42.
INPUT Y.FNAME.IN
43. 44.
Y.FNAME.OUT = ""
45.
Y.FNAME.OUT = ""
46.
PRINT CHAR(013)
47.
PRINT CHAR(013)
48.
PRINT "SALARY PROCESING"
49.
PRINT CHAR(013)
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
59. 60. PROCESS: 61. 62. 63. 64.
OPENSEQ Y.PATH:Y.FNAME.IN TO SEQ.PTR THEN LOOP READSEQ Y.INP FROM SEQ.PTR THEN
65. 66.
Y.DEB.OR.CRE = FIELD(Y.INP, ":",1)
67.
Y.DC.ID = FIELD(Y.INP, ":",2)
68.
Y.ACC.ID = FIELD(Y.INP, ":",3)
69.
Y.SIGN = FIELD(Y.INP, ":",4)
70.
Y.AMOUNT = FIELD(Y.INP, ":",5)
71.
Y.TXN.CODE = FIELD(Y.INP, ":",6)
72. 73.
R.DC = Y.ACC.ID
74.
R.DC = Y.SIGN
75.
R.DC = Y.AMOUNT
76.
R.DC = Y.TXN.CODE
77. 78.
GOSUB VALIDATION
79. 80.
*
CALL F.WRITE(FN.DC, Y.DC.ID, R.DC)
81.
*
CALL JOURNAL.UPDATE("")
82. 83.
APP.NAME = "DATA.CAPTURE"
84.
OFSFUNCT = "I"
85.
PROCESS = "PROCESS"
86.
OFSVERSION = "DATA.CAPTURE,TEST"
87.
GTSMODE = ""
88.
NO.OF.AUTH = 0
89.
WERR = ""
90.
TRANSACTION.ID = Y.DC.ID
91. 92.
CALL OFS.BUILD.RECORD(APP.NAME,OFSFUNCT,PROCESS,OFSVERSION,GTSMODE,NO.OF.AUTH,TRANSACTION.ID,R.DC,OFSRECORD)
93. 94.
Y.OFS.SOURCE = "OFSGLOBUS"
95.
CALL OFS.POST.MESSAGE(OFSRECORD,Y.OFS.MSG.KEY,Y.OFS.SOURCE
96. 97. 98.
OFS.SOURCE.ID = "OFS.LOAD"
99.
CALL.INFO<1> = OFS.SOURCE.ID
100.
CALL.INFO<4> = ''
101.
Y.TXN.COMMITTED = ''
102.
CALL OFS.CALL.BULK.MANAGER(CALL.INFO, OFSRECORD, Y.OFS.RESPONSE, Y.TXN.COMMITTED)
103. 104.
*\\ WRITING DATAS IN OUT FILE FOR VERIFICATION
105. 106. 107. 108.
CALL F.READ(FN.DC, Y.DC.ID, R.DCC, F.DC, Y.ERR)
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
118. 119.
IF Y.DEB.OR.CRE = "DEBIT" THEN
120.
Y.OUT.ARY = Y.OUT.ARY : CHAR(010)
121.
END
122.
Y.OUT.ARY = Y.OUT.ARY : Y.DC.ID : "|" : Y.ACC.ID : "|"
123. 124. 125.
END
126. 127. 128.
END ELSE
129.
PRINT "NO DATA IN SPECIFIED FILE"
130.
GOSUB OUT.FILE.WRITE
131. 132.
BREAK
133.
END
134.
REPEAT
135.
END ELSE
136.
PRINT "INPUT FILE NOT FOUNT IN " : Y.PATH : Y.FNAME.IN
137.
END
138.
RETURN
139. 140. 141. 142. VALIDATION: 143. 144.
CALL F.READ(FN.ACC, Y.ACC.ID, R.ACC, F.ACC, Y.ERR)
145. 146.
IF R.ACC = "" THEN
147.
PRINT "INVALID DEBIT ACC ..! PLEASE ENTER THE VALID ACCOUNT "
148.
GOTO PROCESS
149. 150.
END ELSE
151. 152.
IF Y.DEB.OR.CRE EQ "DEBIT" THEN
153.
Y.WOR.BAL = R.ACC<27>
154.
IF Y.WOR.BAL LT '0' THEN
;*// R.ACC<27> = WORKING.BALANCE
155.
PRINT "WORKING BALANCE IS LESS THAN ZERO...! PLEASE ENTER
156.
GOTO PROCESS
157.
END
158.
Y.DEB.ACC.COUNT ++
159.
Y.DEB.ACC.LIST : = Y.DC.ID[1,14] : "|"
160. 161. 162. 163.
END END
164. 165. 166. 167.
RETURN
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
177.
CALL F.READ(FN.DC.BCTRL, Y.DC.BCTRL.ID, R.DC.BCTRL,F.DC.BCTRL, Y.E
178.
IF R.DC.BCTRL NE "" THEN
179.
Y.OUT.ARY = Y.OUT.ARY : CHAR(010) : CHAR(010) : "DC.BATCH.CONT
180.
END
181. 182. 183.
Y.DEB.ACC.COUNT = Y.DEB.ACC.COUNT - 1 REPEAT
184. * NEXT 185. 186. * Y.DC.BCTRL.ID = Y.DC.ID[1,14] 187. * CALL F.READ(FN.DC.BCTRL, Y.DC.BCTRL.ID, Y.DC.BCTRL.ID, R.DC.BCTRL,F.DC.BCTRL, Y.ERR) 188. 189. * IF R.DC.BCTRL NE "" THEN 190. *
Y.OUT.ARY = Y.OUT.ARY : CHAR(010) : "DC.BATCH.CONTROL STATUS OF T
191. * END 192. 193.
OPENSEQ Y.PATH:"DC.OUT.":Y.DC.ID:".txt" TO Y.APP.FILE ELSE
194.
CREATE Y.APP.FILE ELSE RETURN
195.
Y.OUT.PATH = Y.APP.FILE
196.
WRITESEQ Y.OUT.ARY TO Y.APP.FILE ELSE NULL
197.
PRINT CHAR(1):CHAR(10): "OUT FILE HAS BEEN WRITEN IN PATH - " : Y.
198.
CREATE Y.APP.FILE ELSE RETURN
199.
Y.OUT.PATH = Y.APP.FILE
200.
WRITESEQ Y.OUT.ARY TO Y.APP.FILE ELSE NULL
201.
PRINT CHAR(1):CHAR(10): "OUT FILE HAS BEEN WRITEN IN PATH - " : Y.
202.
END
203.
CLOSESEQ Y.APP.FILE
204. 205.
RETURN
206. 207. 208.
END
at June 04, 2018 Reactions: No comments: Labels: T24 Programs and Routines
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
NO.OF.AUTH = 0 WERR = "" TRANSACTION.ID = Y.DC.ID CALL OFS.BUILD.RECORD(APP.NAME,OFSFUNCT,PROCESS,OFSVERSION,GTSMODE,NO.OF.AUTH,TRANSACTION.ID,R.DC,OFSRECORD)
OFS.SOURCE.ID = "OFS.LOAD" CALL.INFO<1> = OFS.SOURCE.ID CALL.INFO<4> = '' Y.TXN.COMMITTED = '' CALL OFS.CALL.BULK.MANAGER(CALL.INFO, OFSRECORD, Y.OFS.RESPONSE, Y.TXN.COMMITTED) RETURN END
at May 26, 2018 Reactions: No comments: Labels: T24 Programs and Routines
Sample F.WRITE Code FN.FILENAME = 'F.FILENAME' ; FV.FILENAME = '' CALL OPF(FN.FILENAME, FV.FILENAME) R.RECORD = 'TOTO' R.RECORD = 'TUTU' R.RECORD = 'TITI' CALL F.WRITE(FN.FILENAME, RECORD.ID, R.RECORD) CALL JOURNAL.UPDATE(RECORD.ID)
at May 24, 2018 Reactions: No comments: Labels: T24 Programs and Routines
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Titles you can't find anywhere else
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
12/12/2018
T24 Knowledge Bank: T24 Programs and Routines
at May 24, 2018 Reactions: No comments: Labels: T24 Programs and Routines
Home
Older Posts
Subscribe to: Posts (Atom)
@raja.arjun. Theme images by duncan1890 duncan1890.. Powered by Blogger Blogger..