Auto Reorder Selection default selection

SUGGESTED

I have been asked if there is any way to change the defaults on the Auto Reorder Selection screen under Purchase Order. See the screenshot below. Is this possible?

  • 0

    My first thought is probably not.  However, which options are you trying to change?

  • 0 in reply to BShockley

    Need to change some of the defaults on the checkboxes. Not a huge deal, just was curious if these panels can be modified at all

  • 0

    It appears that screen cannot be modified via Custom Office.

  • 0
    SUGGESTED

    If you are on version 2015+, you can use a UI post-load script to change the values.

    You do however have to use DFDM on CM_UIScriptSettings to get the script assigned to the library and panel. In short, you use Customizer to assign your script id to a random library and panel, this will create the record you need to manipulate with DFDM. You then locate the record in CM_UIScriptSettings and change the LibraryName to PO_AUTOMATICREORDERSELECT.M4L, when prompted to remove the old key, click yes. Make sure the PanelName is set to DMAIN.

    It should look like this, with the exception of the ScriptID, this will be whatever you assigned it.

    The script should have the following contents if you want to set the defaults to just finished goods.

    oUIObj.InvokeChange "CB_All", "N"
    oUIObj.InvokeChange "CB_FinishedGoods", "Y"

    Then recompile the UI scripts.

    Here is a list of other controls related to the check boxes. Substitute them in the InvokeChange method's first argument.

    CB_SUBCONTRACT
    CB_BUY
    CB_MAKE
    CB_ALLTYPES
    CB_KITS
    CB_DISCONTINUED
    CB_RAWMATERIALS
    CB_FINISHEDGOODS
    CB_ALL