Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Update route on Planned production order

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

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,676 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,910 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans