Skip to main content

Notifications

Announcements

No record found.

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
    André Arnaud de Cal... 292,516 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
    VRD 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
    nunomaia 11 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
    Sukrut Parab 71,680 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans