0

Retrieve Work date from NAV

Hi,

I am scheduling a commission report based on half month period. The period is being calculated based on the date the report is automatically created. I use the Excel formula =today() for this.

For example:
On each 7th of the month a commission report is automatically scheduled. Based on the 7th of the month I calculate the date range of the 2nd half of the previous month. I automatically receive the file in my email.

When I open the file on the 8th of the month, Excel automatically recognizes todays date, so the date range is not being calculated correctly again which causes trouble for the outcome of the report.

A solution is that the date when the report is created does not change after wards, so I though of retrieving the Work Date out of Navision on the date that the report will automatically be created.

How can I get the work date out of NAV? Or are there any other solutions?

2 comments

Please sign in to leave a comment.