EDIT FIELD DATA IN ENQUIRY
- safzalhussain
- Topic Author
- Offline
- Senior Member
-
- Posts: 44
- Thank you received: 0
i succeed to write a file and id in this file
but value of reason of rejection field is not coming in the file. also i m not been able to write the reason of rejection field with reverse order
IF V$FUNCTION = 'R' THEN
Y.FILE.NAME = "REV.ORD.":Y.ORDER.ID:".txt"
Y.TEXT = Y.ORDER.ID
Y.TEXT := '|'
Y.TEXT := R.NEW(MF.ORD.ORDER.DATE)
Y.TEXT := '|'
Y.TEXT := R.NEW(MF.ORD.ORDER.AMOUNT)
Y.TEXT := '|'
Y.TEXT := R.NEW(MF.ORD.TRANS.TYPE)
Y.TEXT := '|'
Y.TEXT := R.NEW(MF.ORD.REASON.REJECTION)
Y.TEXT := '|'
Y.TEXT := R.NEW(MF.ORD.DATE.TIME)
OPENSEQ Y.FOLDER.NAME,Y.FILE.NAME TO FILE.POINTER THEN
END
WRITESEQ Y.TEXT ON FILE.POINTER THEN
END
RETURN
END
Please Log in or Create an account to join the conversation.
- armin
-
- Offline
- Elite Member
-
- “So long - and thanks for all the fish!”
- Posts: 300
- Thank you received: 57
Please Log in or Create an account to join the conversation.
- safzalhussain
- Topic Author
- Offline
- Senior Member
-
- Posts: 44
- Thank you received: 0
1 is for writing sequential file
and other is for reversal order..
but unable to achieve the desired results and get this error message when completing this order
Error Sending T24 Request.
below mentioned are the event at which i had attach routines:
Auth Routine.1 : PK.WRITE.FILE
Auth Routine.2 : PK.REVERSE.ORDER
If i only use seq file writing routine then i didnt get any errror, and its write the record . but when i attach reverse order routine its giving this error.
I also tried to attach reversal routine with field validation level but error is same.
Please Log in or Create an account to join the conversation.
- armin
-
- Offline
- Elite Member
-
- “So long - and thanks for all the fish!”
- Posts: 300
- Thank you received: 57
I suppose it will only work using OFS (i.e. OFS.POST.MESSAGE)
Please Log in or Create an account to join the conversation.
- safzalhussain
- Topic Author
- Offline
- Senior Member
-
- Posts: 44
- Thank you received: 0
OFS.MSG = Y.VER:"/R,":Y.OFS.USER:"/":Y.OFS.USER.PWD:"/":YCOMPANY:",":Y.ORDER.ID
CALL OFS.GLOBUS.MANAGER(OFS.TYPE,OFS.MSG)
Please Log in or Create an account to join the conversation.
- armin
-
- Offline
- Elite Member
-
- “So long - and thanks for all the fish!”
- Posts: 300
- Thank you received: 57
See User Guide "OFS"
Using OFS from API Code
Do not use OFS.GLOBUS.MANAGER, OFS.REQUEST.MANAGER or OFS.PROCESSOR.MANAGER directly. These routines are internal routines and do NOT form part of the T24 public API (and transaction boundaries will become corrupt if these routines are invoked directly). Instead, the routine OFS.POST.MESSAGE should be used.
Please Log in or Create an account to join the conversation.
- safzalhussain
- Topic Author
- Offline
- Senior Member
-
- Posts: 44
- Thank you received: 0
Please Log in or Create an account to join the conversation.