Posts

Showing posts with the label adanced warehouse management

Infos and warning messages won't work on your WHMS app, if you haven't done this already

Image
  Hi friends, in a D365F&O application for Warehouse Management using mobile apps, if you are planning to put an info or a warning message in the middle of a code, in response to a validation, your code might not work, if you have written a code like this: if (counter > maxNumberOfAttempts) {     warning ("You have exceeded maximum number of attempts"); } The underlying code will simply ignore it. This is because the WHMS supporting classes don't understand any info, warning or error message, unless if you have made it a part of ProcessGuideMessageData and ProcessGuideNavigationParameters classes. For example, going with the above example, we want our mobile app to throw a warning message whenever the qty given in a given for an item is more than some value. Then you need to wire up the code like this: if (counter > maxQty) {      ProcessGuideMessageData messageData = ProcessGuideMessageData::construct();      ProcessGuide...

Step by step: end to end solution to add a new step in WHMS mobile app

Image
  Wassup guys?!!! I am back with a brand new topic for WHMS: how to add a new screen in your WHMS mobile app, from the scratch. You might be wondering, what is new in it: we already have one in place from Microsoft, that aptly explains the process to add a new screen to mobile app: https://learn.microsoft.com/en-us/dynamics365/supply-chain/supply-chain-dev/process-guide-framework The above solution tells you to create a controller class, that contains a method called:  initializeNavigationRoute , that contains the sequence of the step of classes/navigatiion for your screens: protected ProcessGuideNavigationRoute initializeNavigationRoute ( ) { ProcessGuideNavigationRoute navigationRoute = new ProcessGuideNavigationRoute(); navigationRoute.addFollowingStep(classStr(ProdProcessGuidePromptProductionIdStep), classStr(ProdProcessGuideConfirmProductionOrderStep)); navigationRoute.addFollowingStep(classStr(ProdProcessGuideConfirmProductionOrderStep...