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 :
Finance | Project Operations, Human Resources, ...
Answered

Release Product variants C#

(0) ShareShare
ReportReport
Posted on by 5

Hi. Please help with realeasing product variants in C#

I have used example of creating and realeasing product, product variant from:

 //https://nuxulu.com/ax2012/integration/2016/12/27/CRUD-Items,-products,-products-master-dimension,-variants-using-AIF-in-Dynamics-AX-2012-R3.html

I have error: 

The element 'InventDimCombination' in namespace 'schemas.microsoft.com/.../InventDimCombination' has incomplete content. List of possible elements expected: 'RecId, RecVersion, RetailVariantId' in namespace 'http://schemas.microsoft.com/dynamics/2008/01/documents/InventDimCombination'.

What i havent done or why this error occurs..? 

Steps I have done:

1. Create ProductMaster

2. Create ProductMasterDimension

3. Create DistinctProductVariant

4. Release Product

5. Release ProductVariants - "ERROR"

Table InventDimCombination does not have any records, so the variant suggestion on realeasing products is empty and also realeased variant form is empty:

2020_2D00_08_2D00_31-12_5F00_37_5F00_49_2D002A20_Microsoft-Dynamics-AX_2C20_-_2D00_-_0E202A20_AS-FAVOR_2C20_-_5B000E202A20_SQL2008_2C202A205F00_-_0E202A20_Session-ID_2C20_-_2D00_-_0E202A20_10_2C202C205D000E20_-_2D00_-_0E20_.png

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    Could you please do the following? -

    1. Deactivate the inbound port you created.

    2. Go into Service contract customizations.

    3. Check customize documents and click on data policies.

    4. In the "Document data policies form, check the InventDimCombination fields and check if the checkbox "Required" is marked against them.

  • rivo Profile Picture
    5 on at

    Thank You very much!! I have looked every where for understandig where the promlem was. 

    For my case i didnt sent parameter as "RetailVariant". 
    Below are the data policies.

    pastedimage1598872602398v1.png

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    You can remove the Enabled and "Mandatory" checkbox for Retail variant and activate the Inbound port .

    Please try entering data again and check if it works.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans