I am not familiar with NAV, but I can give you some hints in AX.
The basic Extended Data Type is date. If you mean functionality for date modification, there are standard date modification commands which could shift your date. Here is an example job:
This is not exactly what I have asked for, but thanks.
I will now try to explain my problem in details: We have a table where we keep information about employees in our company. One of the fields is "Hiring date". We need a new field, where we can enter so called "Attestation period". For example "6M", which means that the employee has to be attestated in 6 months since the hiring date. This type of field is called dateformula in Navision. It can have values like "1M-2D+2W" which stands for one month, minus 2 days, plus 2 weeks. It is used to calculate dates, based on other days. I hope you got what I type of field I want. So is there such type, or type which is similar to what I want and with some modification can be used as Navision dateformula type.
Comments
The basic Extended Data Type is date. If you mean functionality for date modification, there are standard date modification commands which could shift your date. Here is an example job:
When you just pass a date into a string formatting function, you receive the date formatted according to your regional settings in Windows.
Also you should look into \\AOT\Classes\Global class, and check everything starting with "date".
I will now try to explain my problem in details: We have a table where we keep information about employees in our company. One of the fields is "Hiring date". We need a new field, where we can enter so called "Attestation period". For example "6M", which means that the employee has to be attestated in 6 months since the hiring date. This type of field is called dateformula in Navision. It can have values like "1M-2D+2W" which stands for one month, minus 2 days, plus 2 weeks. It is used to calculate dates, based on other days. I hope you got what I type of field I want. So is there such type, or type which is similar to what I want and with some modification can be used as Navision dateformula type.