Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
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 | All TechTalks
We created XMLPort to import Employee Departments.
However we are getting error
The field No. of table Default Dimension contains a value 'XXXXX' that can not be found in related table (Employee)
Any hint please.
Is the xml port looking to handle the default dimension table? Looks like the validation code of default dimension is run before the insert(); on the employee table has run
Its part of the default CodeUnit 408 DimensionManagement and part of SaveDefaultDim Function
See the error stop in which line 11
1SaveDefaultDim(TableID : Integer;No : Code;FieldNumber : Integer;ShortcutDimCode : Code)
3 IF ShortcutDimCode <> '' THEN BEGIN
4 IF DefaultDim.GET(TableID,No,GLSetupShortcutDimCode[FieldNumber])
5 THEN BEGIN
6 DefaultDim.VALIDATE("Dimension Value Code",ShortcutDimCode);
8 END ELSE BEGIN
10 DefaultDim.VALIDATE("Table ID",TableID);
11 DefaultDim.VALIDATE("No.",No); = >>>> Error Stop in this Line
12 DefaultDim.VALIDATE("Dimension Code",GLSetupShortcutDimCode[FieldNumber]);
13 DefaultDim.VALIDATE("Dimension Value Code",ShortcutDimCode);
16 END ELSE
17 IF DefaultDim.GET(TableID,No,GLSetupShortcutDimCode[FieldNumber]) THEN
Business Applications communities