×
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 508
- Thank you received: 11
16 years 11 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
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.
- arya
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
16 years 11 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 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.
- Ramya
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
16 years 10 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
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.
- ashokp
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
16 years 10 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
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.
- Spiderman
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
16 years 10 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.
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.085 seconds