- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to create a new record in AC.LOCKED.EVENTS
×
Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...
How to create a new record in AC.LOCKED.EVENTS
- sailen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 127
- Thank you received: 1
6 years 11 months ago #21867
by sailen
How to create a new record in AC.LOCKED.EVENTS was created by sailen
Hi,
I want to insert a data in AC.LOCKED.EVENTS while creating a new account. Can anyone please suggest how to achieve this?
Can I attach a routine in Authorize routine of a version? If so, how can I get the account number of the newly created account so as to insert into AC.LOCKED.EVENTS.
Thanks in advance,
I want to insert a data in AC.LOCKED.EVENTS while creating a new account. Can anyone please suggest how to achieve this?
Can I attach a routine in Authorize routine of a version? If so, how can I get the account number of the newly created account so as to insert into AC.LOCKED.EVENTS.
Thanks in advance,
Please Log in or Create an account to join the conversation.
- sailen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 127
- Thank you received: 1
6 years 11 months ago #21870
by sailen
Replied by sailen on topic How to create a new record in AC.LOCKED.EVENTS
Hi,
Can anyone please update on this?
Thanks in advance
Can anyone please update on this?
Thanks in advance
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1209
- Thank you received: 158
6 years 11 months ago #21873
by VK
Cheers
VK
Replied by VK on topic How to create a new record in AC.LOCKED.EVENTS
Hi
To create a new record in another application was always a bit tricky with T24. For "L" applications (especially local ones) all is easy but for H / U...
In standard way, you use CALL OFS.POST.MESSAGE but it's asynchronous so you are not sure if the record would be created successfully...
You can also use CALL EB.SET.NEXT.TASK so your user will have AC.LOCKED.EVENTS screen after committing ACCOUNT record. Again, you are not sure that user commits the new record.
I would stick to CALL OFS.POST.MESSAGE and written an online service that would check if all related data was successfully created. If not - do something for account not be used until all is done correctly.
To create a new record in another application was always a bit tricky with T24. For "L" applications (especially local ones) all is easy but for H / U...
In standard way, you use CALL OFS.POST.MESSAGE but it's asynchronous so you are not sure if the record would be created successfully...
You can also use CALL EB.SET.NEXT.TASK so your user will have AC.LOCKED.EVENTS screen after committing ACCOUNT record. Again, you are not sure that user commits the new record.
I would stick to CALL OFS.POST.MESSAGE and written an online service that would check if all related data was successfully created. If not - do something for account not be used until all is done correctly.
Cheers
VK
Please Log in or Create an account to join the conversation.
- silvergem
-
- Offline
- Elite Member
-
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 270
- Thank you received: 21
6 years 9 months ago - 6 years 9 months ago #21939
by silvergem
Replied by silvergem on topic How to create a new record in AC.LOCKED.EVENTS
I found at TCSP that aside from OFS.POST.MESSAGE. you can also used ofs.addLocalRequest that is attached at BEFORE.AUTH.RTN. I came to explore as I have a requirement of creation of New account and debit the source account using our online banking
TCSP Ref
TCSP Ref
Last edit: 6 years 9 months ago by silvergem.
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to create a new record in AC.LOCKED.EVENTS
Time to create page: 0.031 seconds