web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Make Dimension fields not mandatory in an Inbound Port

(0) ShareShare
ReportReport
Posted on by 700

Hello all,

is it possible to make Default Dimension fields not mandatory in the Sales Order Document Service?

In the data policies of my inbound port I use the SalesSalesOrderService which has Default Dimensions as mandatory fields under these pathes

/SalesOrder/SalesTable/DefaultDimension/Values/Value

/SalesOrder/SalesTable/SalesLine/DefaultDimension/Values/Value

So I changed the methods initMandatoryFieldsExemptionList in the classes AXSalesLine and AXSalesTable in order to set the fields DefaultDimension as not mandatory. I refreshed the services under Forms -> AIFService.

These steps were successfull with another field, but not Default Dimension fields. Are there some pecularities about this field?

*This post is locked for comments

I have the same question (0)
  • OrangeRocks Profile Picture
    700 on at

    What is strange is that other fields match the Element Name on the left with the XPath on the right of the Document Data Policies form, e.g. CashDiskBaseDate has the same field name on the right in the SalesOrder/SalesTable/CashDiskBaseDate.

    But DefaultDimension has an Element Name "Value"..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans