Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Business logic to approve retail kit in the Retail kit component data entity.

(0) ShareShare
ReportReport
Posted on by

Hi,

Our end users are manually approving retail kits after it gets created in D365FO using DIXF import.

I found is that if we can call table method RetailKit::Approvekit()  in the RetailKitComponent data entity somehow , the Retail kit will be approved with it's required product configuration created along with it.

So i am basically looking for a place in the RetailKitComponent data entity where i can call RetailKit::ApproveKit() method for each record that is getting imported. 

Can Anyone please suggest where should I put above call?

Thanks,

Vikky

  • André Arnaud de Calavon Profile Picture
    295,383 Super User 2025 Season 1 on at
    RE: Business logic to approve retail kit in the Retail kit component data entity.

    Moved to the Dynamics 365 Commerce forum.

  • VRD Profile Picture
    on at
    RE: Business logic to approve retail kit in the Retail kit component data entity.

    Hi Sukrut,

    Thanks for your reply.  Our users are importing kits in the bulk for the whole year in one go. They do it twice a  year.

    We have automated every process by DMF except this last step where kit needs to be approved which also creates product configuration for the kits.

    It would be good to approve the kit as soon as it gets created instead of looping through. but i just wonder where do i place it?

    I will try what Nuno mentioned and see how it goes.

    Thanks.

    ~ Vikky

  • Suggested answer
    nunomaia Profile Picture
    18 Moderator on at
    RE: Business logic to approve retail kit in the Retail kit component data entity.

    Can't you call that method in a extension on entity data source insert ?

  • Sukrut Parab Profile Picture
    71,687 Moderator on at
    RE: Business logic to approve retail kit in the Retail kit component data entity.

    How may kits do you import in one go ? Is it a recurring  process or one time ?  PosttargetProcess method is called at the very end when all records are processed specific to  data project task, so either you you loop through all the records  and call approve process or write a separate  batch process  to approve those.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 462 Moderator

#2
Danny Bilodeau Profile Picture

Danny Bilodeau 156 Moderator

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 120 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans