Hi,
I'm starting to get a little deeper in to the API and now I'm trying to use the API to look up the fiscal years, periods and the end dates of the periods to populate combo boxes on a form.
I've started off with:
Set FiscalCalendar = mDBLinkCmpRW.GetFiscalCalendar
Simple enough so far, at this point I can use .GetFirstYear and .GetLastYear and loop to populate my combo for Year, but I'm struggling to setup AccpacAllFiscPds (which is what I'm assuming I need to use and not AccpacFiscalPeriod).
I'm trying to do something like:
Set AccpacAllFiscPds = FiscalCalendar.GetAllPeriods("CS", strFiscalYear, ?) but what I'm not understanding is the 3rd required parameter of the function is pVal as AccpacAllFiscPd. Once I get this setup I can then loop through this as well ... can someone correct/guide me on what I'm doing wrong on setting up this variable?
Thanks,
I'm starting to get a little deeper in to the API and now I'm trying to use the API to look up the fiscal years, periods and the end dates of the periods to populate combo boxes on a form.
I've started off with:
Set FiscalCalendar = mDBLinkCmpRW.GetFiscalCalendar
Simple enough so far, at this point I can use .GetFirstYear and .GetLastYear and loop to populate my combo for Year, but I'm struggling to setup AccpacAllFiscPds (which is what I'm assuming I need to use and not AccpacFiscalPeriod).
I'm trying to do something like:
Set AccpacAllFiscPds = FiscalCalendar.GetAllPeriods("CS", strFiscalYear, ?) but what I'm not understanding is the 3rd required parameter of the function is pVal as AccpacAllFiscPd. Once I get this setup I can then loop through this as well ... can someone correct/guide me on what I'm doing wrong on setting up this variable?
Thanks,