Packet Length Error - OE10

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
LauraP
Advanced Member
Posts: 28
Advanced Member
    OK - I've modified OE10.scr to have 5 new splat fields to be passed to OE12.  They tie to a new stand-alone userflds table (LAWSON.ORDERUFLDS) that I created.
     
    The fields are as follows:
     
      2    *OUF-PRINT-INVOICE      A     01         SB     yc1   COR-OPTIONS-WIN
      2    *OUF-PRINT-SED             A     01         SB     yc2   COR-OPTIONS-WIN
      2    *OUF-PALLET-CNT-LBL    A     03         SB     yc3   COR-OPTIONS-WIN
      2    *OUF-LPN-LABEL-TYPE   A     03          SB     yc4   COR-OPTIONS-WIN
      2    *OUF-BILL-METHOD        A     01          SB     yc5   COR-OPTIONS-WIN
     
    The code in OE10PD says (there are other spots - but this is the important piece):
     

    VER001    PERFORM 820-STORE-ORDERUFLDS.
    VER001
    VER001    MOVE OE10F1-OUF-PRINT-INVOICE TO OUF-PRINT-INVOICE.
    VER001    MOVE OE10F1-OUF-PRINT-SED TO OUF-PRINT-SED.
    VER001    MOVE OE10F1-OUF-PALLET-CNT-LBL TO OUF-PALLET-CNT-LBL.
    VER001*  MOVE OE10F1-OUF-LPN-LABEL-TYPE TO OUF-LPN-LABEL-TYPE.
    VER001*  MOVE OE10F1-OUF-BILL-METHOD TO OUF-BILL-METHOD.
    VER001
    VER001    MOVE OECOR-COMPANY TO DB-COMPANY.
    VER001    MOVE OECOR-ORDER-NBR TO DB-ORDER-NBR.
    VER001
    VER001    PERFORM 840-MODIFY-OUFSET1.
    VER001
    VER001    IF (ORDERUFLDS-NOTFOUND)
    VER001         PERFORM 800-CREATE-ORDERUFLDS.
     
    If I only do the lines in bold - OE10 works fine.  If I try to add an additional field after that (I tried adding each of the next 2 fields individually - those NOT in bold) - OE10 blows up.  I can do an "scrgen" of the form and get no errors but when I try to run OE10 I get this error:
     
    "Received Packet Length(54994) is different from expected length (3+5_55118)
     
    It seems like I'm hitting a maximum somewhere.  This is just bringing up OE10 I get this error - I don't ever reach the point of adding a Company/Order Number to try and do an inquire.  I get this immediately after I enter "lapm prod OE10" at the Unix command prompt.
     

    LauraP
    Advanced Member
    Posts: 28
    Advanced Member
      A little more info - this DOES work if I execute OE10 through Portal (not LID).  All the fields come up (the new ones I've added) and I am not given an error.  So it is definitely something specific to LID - I've hit some maximum somewhere - any help is greatly appreciated because switching to Portal is NOT an option right now.  I'm worried I'm going to have to start chopping fields off of OE10 to accomodate the new ones I need to have on there and that could get ugly.

      Thanks,
      Laura