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

Call a standard subroutine in R15 Multi-company

More
5 years 11 months ago #21714 by mseye
Hi,
I'm trying to call a standard subroutine in R15 Multi-company environment and I got the error :
"0** FATAL ERROR IN (OPF) **
MISSING FILE - F0.ACCT.ACTIVITY , MNEMONIC = 0 , IN.PARAMETER = F.ACCT.ACTIVITY , COMPANY = 0 , CALL.ROUTINE = EB.ACCT.ENTRY.LIST,EXEC.b,"

Thank for your help
Regards
MSEYE

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
5 years 11 months ago #21715 by VK
Hi
Looks like you call OPF from a program without prior login to T24 - COMMON areas are not populated.

Cheers
VK

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

More
5 years 11 months ago #21717 by mseye
Indeed, It's a progam and When I run it it as mainline subroutine.
It works because I'am connected to the subsidiary.

Thanks VK for your feedback

MSEYE

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
5 years 11 months ago #21718 by VK
Hi
You can log in to T24, then log out to jshell and run your program, it will also work.

Cheers
VK

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

More
5 years 10 months ago #21722 by mseye
Hi VK,

Thank again for your feedback, I already tested this and I got the same result.
Thank !
My workaround is making Mainline subroutine in order to extract my report.
Thank a lot

Best regards

MSEYE

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

More
2 years 5 months ago #23477 by lucaslin
Hi,

I'm new one for t24.
It will be great if you can share the solution detail about this error.

thanks.

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
2 years 5 months ago #23481 by silvergem
Replied by silvergem on topic Call a standard subroutine in R15 Multi-company
Normally it as an error from core function OPF, which means the application was not opened properly and due to common files was not load.

The recommendation of VK is correct regarding to mainline routines.

My approach was to place the CALL LOAD.COMPANY(<company name>) on my test programs.

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

More
2 years 5 months ago #23482 by lucaslin
Great thanks for suggestions.
It's already working now.

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

Time to create page: 0.120 seconds