Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Update route on Planned production order

(0) ShareShare
ReportReport
Posted on by 53
Hi,

I want to update route on Planned production order by my own business logic through code. I want to know what existing classes or method can help me updating route.
 
Thank you 
Categories:
  • m Profile Picture
    m 53 on at
    Update route on Planned production order
    what is the appropriate code to update RouteId in Planned order or ReqPO table.
     
    ReqPO.ItemRouteId.
     
    Please guide.

    Thanks
  • m Profile Picture
    m 53 on at
    Update route on Planned production order
    hi,
     
    is there any pattern of code i need to follow update RouteId in ReqPO table?
     
    Reqpo.itemrouteid = newRouteId;
    Reqpo.update();
     
     
    I am using above code. its working fine, but when i select any other value from the dropdown, it is throwing error.
     
    Before my code, it was not throwing error.
     
    Thanks
  • m Profile Picture
    m 53 on at
    Update route on Planned production order
    Anyone please?
  • m Profile Picture
    m 53 on at
    Update route on Planned production order

    I want to update route on below table and field:
     
    ReqPO.ItemRouteId

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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,876 Super User

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans