Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

which class can I extend to copy all fields information while releasing items from one legal entity to other?

(0) ShareShare
ReportReport
Posted on by 148

Hello,

while releasing items from one legal entity to other legal entity, only few standard fields are copying I want to copy few customized fields as well.

which class can I extend for above scenario.

Thanks in Advance.

  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    If you want to synchronize data between InventTable records in several companies, then the product release process won't help you, because that's a different thing.

    Releasing a product mean creating a released product (InventTable) based on the company-agnostic product definition (EcoResProduct). It doesn't copy a released product already released to some other company.

  • Prasanth Profile Picture
    Prasanth 148 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    Thank you for responding Martin,

    I have few legal entities like MH01, MHOM, MHQA.

    I created one item in MH01. While releasing this item I selected other legal entities also.

    In this case, when I open released products only in MH01 we are getting our custom field values. In other legal entities all custom fields are blank.

    I need to copy all fields data to other legal entities also. suggest which object I need to modify.

  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    You screenshot shows that you're talking about relasing a product to a company, not from one company to another.

    Can't you simply handle your field in an extension of InventTable.initFromEcoResProduct()?

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    Hi Prasanth123,

    If you want to add new data sources to existing forms through extension. Follow these steps.

    Add data sources to forms through extension - Finance & Operations | Dynamics 365 | Microsoft Learn

    • In the extension model, create a form extension for the selected form.
    • Right-click the form extension, and then select New Data Source.
    • Specify the Table property and other required properties on the data source. For example, define how the data source should be linked with the other data sources for the form.
    • Drag fields from the new data source into the form design.
    • You can then view and edit the data in these new fields and tables, as shown in the following illustration.

    And the standard form for releasing items is EcoResProductRelease which you can refer to.

  • Prasanth Profile Picture
    Prasanth 148 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    InventTable

  • MuthukumaranAX Profile Picture
    MuthukumaranAX 2,901 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other?

    can you let us know in which table these additional custom fields are added?

  • Prasanth Profile Picture
    Prasanth 148 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other in Dynamics 365?

    0042.pastedimage1675667350968v1.png

    Releasing the products through Released products form

  • MuthukumaranAX Profile Picture
    MuthukumaranAX 2,901 on at
    RE: which class can I extend to copy all fields information while releasing items from one legal entity to other in Dynamics 365?

    are you releasing the products through Released products form or using cross company data sharing?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans