Can anyone help? I am converting a VB6 application so that it fetches data from GL0018 view instead of the convensional SQL code. I need XAPI code that will achieve what the following SQL code is doing?
1. SELECT FISCALYR AS FSC_YEAR, JRNLDATE AS DOC_DATE FROM GLPOST WHERE ACCTID = '4020'
AND FSCALYR = '2009'
AND FSCALPERD >= '01'
AND FSCALPERD <= '12'
2. SELECT COUNT(*) FROM GLPOST WHERE ACCTID = '4020'
AND FSCALYR = '2009'
AND FSCALPERD >= '01'
AND FSCALPERD <= '12'
I need 2. because I want to use the VB progress bar)
1. SELECT FISCALYR AS FSC_YEAR, JRNLDATE AS DOC_DATE FROM GLPOST WHERE ACCTID = '4020'
AND FSCALYR = '2009'
AND FSCALPERD >= '01'
AND FSCALPERD <= '12'
2. SELECT COUNT(*) FROM GLPOST WHERE ACCTID = '4020'
AND FSCALYR = '2009'
AND FSCALPERD >= '01'
AND FSCALPERD <= '12'
I need 2. because I want to use the VB progress bar)