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

EB.ACCOUNTING from MAIN.LINE

  • malai
  • malai's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
16 years 5 months ago #987 by malai
EB.ACCOUNTING from MAIN.LINE was created by malai
Hi All,

I am trying to call EB.ACCOUNTING from a main line program and I am getting the following error.



** Error [ ARRAY_SUBS ] **
Array subscript out of range , Line 317 , Source ACCOUNTING.AUT
Trap from an error message, error message name = ARRAY_SUBS
Line 317 , Source ACCOUNTING.AUT



My routine is

SUBROUTINE EB.ACCT.TEST

$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.STMT.ENTRY

TEMP.REC = '123456789'
TEMP.REC = ID.COMPANY
TEMP.REC = '-10'
TEMP.REC = '213'
TEMP.REC = 'TEST12345'
TEMP.REC = 'MY NARRATIVE'
ENTRY.ARRAY = LOWER(TEMP.REC)

CALL MY.EB.ACCTING('FT','SAO',ENTRY.ARRAY,'')

RETURN

END




___________

Thanks

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

More
16 years 5 months ago #988 by arya
Replied by arya on topic EB.ACCOUNTING from MAIN.LINE
Hi,



Please set the variable V before calling EB.ACCOUNTING.

CALL MY.EB.ACCTING('FT','SAO',ENTRY.ARRAY,'')



Eg:

V = 123



Cheers


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

More
16 years 4 months ago #989 by Ramya
Replied by Ramya on topic Error when calling EB.ACCOUNTING from TSM
Hi,

When i run the routine from TSM, i get the following error.

EOD.ACCOUNT.VERIFY error AC.RTN.AMT.MISSACCOUNT TRANS REF contract id.

Thanks,
Ramya


Regards,
Ramya
If you don?t have a smile, I will give you one of mine | www.smile.org.in

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

More
16 years 4 months ago #990 by ashokp
Replied by ashokp on topic AC.RTN.AMT.MISSACCOUNT
As you error message, Amout is missed out. This message will produce during EOD.ACCOUNT.VERIFY triggered.
If you are call EB.ACCOUTING multiple time, I suggest to call OFS.CLEARING.MANAGER.


Ashok
IFSC Dublin-1
Ireland
Satisfaction is end of career growth

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

More
16 years 4 months ago #991 by Spiderman
Replied by Spiderman on topic Check the AMOUNT.LCY & AMOUNT.FCY fields
Hi Ramya,



Check if the AMOUNT.LCY & AMOUNT.FCY fields are set properly in your data.



May be the problem is due to the AMOUNT.FCY.


Great power comes with great responsibilities.

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

Time to create page: 0.115 seconds