× 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...

Subroutine to get details from file and map them into T24.

  • anthony
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #24088 by anthony
Hi Guys,
I am looking for assistance with a subroutine to get details from a file in a directory and then map them onto a T24 application. Once there is a file in the directory, a service attached with that routine will read the file, and map onto a T24 application e.g.  ACCOUNT. 

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
1 year 1 month ago - 1 year 1 month ago #24089 by VK
Hi
Very easy :)

1. OPENSEQ to open a file;
2. READSEQ in a loop to read its contents;
for each line:
3. create OFS message;
4. Call OFS.POST.MESSAGE for another service (core one) to create T24 application record.

Analyze the results after some time.
 

Cheers
VK
Last edit: 1 year 1 month ago by VK.
The following user(s) said Thank You: anthony

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds