Hi Friends,
Reference data sources is a powerful feature in AX 2012. A reference data source enables you to add the replacement fields for a surrogate foreign key replacement to a form design. It is used extensively on standard AX forms.
It becomes more interesting, when we reference date effective tables . In such scenarios we need to perform some steps to make sure that the date effective tables are queried correctly.
We can find a good example on sales table form. Let us have a look:
1. The date effective data sources are added under the sales table datasoure node as reference data sources.
2. The below piece of code on form init() method to check the validity:
If you doing some development task and plan to add date effective tables as reference data source, then make sure to model it the same way. Not doing so will cause an issue that the expired records will display a "Unknown" value in the reference data source record. A similar problem has been reported on Microsoft dynamics AX community forum. Detail can be found at this link. The below image reference is taken from the link:
Whitepaper to use date effective framework can be downloaded from here, however this information is not mentioned there.
Thanks for reading the blog.
Reference data sources is a powerful feature in AX 2012. A reference data source enables you to add the replacement fields for a surrogate foreign key replacement to a form design. It is used extensively on standard AX forms.
It becomes more interesting, when we reference date effective tables . In such scenarios we need to perform some steps to make sure that the date effective tables are queried correctly.
We can find a good example on sales table form. Let us have a look:
1. The date effective data sources are added under the sales table datasoure node as reference data sources.
3. The below piece of code is added on sales table datasource >> init() method, to set the valid time state range criterions:
If you doing some development task and plan to add date effective tables as reference data source, then make sure to model it the same way. Not doing so will cause an issue that the expired records will display a "Unknown" value in the reference data source record. A similar problem has been reported on Microsoft dynamics AX community forum. Detail can be found at this link. The below image reference is taken from the link:
Whitepaper to use date effective framework can be downloaded from here, however this information is not mentioned there.
Thanks for reading the blog.
Good and useful post :-) thanks for sharing.
ReplyDeleteThank you..This is useful information
ReplyDeleteThank you for Providing Useful Stuff.
ReplyDeleteAwesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
ReplyDeletemulesoft training online
Great Post! Good Explanation. I like the way you described this useful content.
ReplyDeleteMicrosoft Dynamics AX,Financial management functionality that ranges from general ledger, accounts payable, and accounts receivable modules to bank reporting, cash flow management, and reconciliation. Modules include Readmore..
Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Very useful information thanks for sharing.Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
ReplyDelete| Certification | Cyber Security Online Training Course|
Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course|
CCNA Training Course in Chennai | Certification | CCNA Online Training Course|
RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai|
SEO Training in Chennai | Certification | SEO Online Training Course
Hello,
ReplyDeleteYour blog has a lot of valuable information . Thanks for your time on putting these all together.. Really helpful blog..I just wanted to share information about
devops online training
very nice post ,Tip when using date effective tables as a reference data source
ReplyDeleteI've read a lot of blogs on AWS certifications, and this one is by far the most user-friendly and informative. The detailed study guides and recommended courses are spot-on, making the preparation process so much more manageable. Please visit our website:- aws certification
ReplyDelete