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

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
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans