How to use DIVSOHALL action in a workflow?

SOLVED

Hello,

I am trying to use DIVSOHALL to allocate certain imported web orders that come in and don't get automatically allocated right away, but I am unsure of the parameters. Does anyone know what "SENS" and "FLGMSG" must be set to?

Thank you

  • +1
    verified answer

    Hi Zoey,

    I've had a look into this question and was able to find the following;

    When you use the DIVSOHALL action code you see the Parameters "SENS" and "FLGMSG"

    The values to set depend on what you want to get out of them.. here is the info from the source code indicating how these parameters will determine the action to take based on the value entered.

         SENS = Signing direction of my update (+1 = Update, -1 = Cancel)

         FLGMSG = Error message indicator (0 = no error message, 1 = error on screen (Call ERROR), 2 = GMESSAGE + GERR positioned, 3 = message in a trace)

    Typical setup when using these parameters are SENS = +1 and FLGMSG = 3

    Hope that helps, If you need additional information I suggest creating a support case where we can work with you.

  • 0 in reply to NevilleC

      thanks for your reply!

    This is precisely what I ended up with after a bunch of trial and error, but as it turns out we ended up having some use cases where we wanted the orders to remain unallocated (future ship date and not wanting to hold the stock hostage), but the criteria needed to be manually managed by a human's discretion so we scrapped the project.

    Best,

    Zoey