Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
let's say you have 3 parameters:
Is there any (standard) way of checking if the fieldvalue is an ok value for that field (using its relations - direct or via EDT) in code? (without trying an insert or any of that)
Thanks for any help,
You will generally need a table buffer to validate a field as its value might depend on other field values i.e. it might be valid only in some context. If you have a table buffer then you can use a code like this:
prevValue = record.(fieldId);
record.(fieldId) = newValue;
ok = record.validateField(fieldId);
record.(fieldId) = prevValue;
See also \Classes\SysConsistencyCheck\kernelCheckRecord
Business Applications communities