Work Order Creation Popups regarding Unexpected Materials and Operations

SUGGESTED

Hello,

On every single work order we create now, we get two popups when clicking "create" button on the WO. We do not have unexpected materials or operations on our work orders and we don't use the Scheduling functionality in X3, although I know the errors have something to do with it because the popups appear once we click into the End Date field. I have searched the KB extensively and had no luck identifying the cause. It doesn't do this in our test endpoint so it's difficult to troubleshoot. Any suggestions?

First popup always appears when we tab through the line and activate End Date field.

Followed by this popup

  • 0
    SUGGESTED

    Hi Christy,

    A new parameter RELSTRDAT (GPA, WOM) was added to 2018 R8, X3 U9.0.9, X3 V11.0.11 versions to address this issue.

    However, on versions with lower patches, use entry point RPLMAT to exclude that message:

    If find([M:MFG0]MFGMOD,1,2) & [M:MFG1]MFGTRKFLG=1
    # Materials are not updated anymore for WO in situation <> Pending
    # if the WO has unexpected materials or materials with status <> Pending
    # ask if WO materials should be updated
    # if Yes, unexpected materials will be lost and all expected materials will be re-created with status = Pending
    # otherwise
    # WO materials are updated with no question

    # entry point to skip material reloading
    GPE = 0
    GPOINT = "RPLMAT" : Gosub ENTREE From EXEFNC
    If !GPE : OK=2 : Else : OK=1 : Endif

    If OK=2 & sigma(0,[M:MFG2]NBLIG-1,[M:MFG2]BOMSEQ(indcum)=0 or [M:MFG2]MATSTA(indcum)<>1)
    If GIMPORT
    OK=1
    Else
    Call OUINON(mess(74,195,1)+"\"+mess(387,193,1),OK) From GESECRAN
    Endif
    Endif

    If OK=2
    Local Date LSAVDAT
    LSAVDAT = [M:MFG1]STRDAT
    [M:MFG1]STRDAT=VALEUR
    Gosub RPL_MAT
    [M:MFG1]STRDAT=LSAVDAT
    Endif
    Endif

    If this resolves your issue, please mark this as Verify Answer.