Sage 100

 View Only
  • 1.  Weird Data Issues In SO_SalesOrderHistoryDetail

    Posted 09-17-2020 18:50
    Client on Sage 100 Advanced 2018.4 and they have two weird data issues going on with their SO_SalesOrderHistoryDetail table.

    The first issue is a line who's LineSeqNo is blank and so it can't be deleted by the user in Sales Order Entry. It appears as the first row in the grid. Not sure how this happened, i believe i can just find the next available LineSeqNo to use and throw that in there so they can delete it properly. I only found one instance of this occurring.

    The second issue is a much bigger issue as it has occurred 1,300 times across all of the data in their history table. The issue is that in the history table, there are two records that share the same LineKey yet have a different SequenceNo causing both lines to show up in Sales Order/Quote History inquiry but only the last line of the two to show up in Sales Order Entry since the primary key for SO_SalesOrderDetail is the SalesOrderNo+LineKey and it has to be unique. So somehow, a line added after the first line inherits the first line's LineKey and when committed to the physical file, the second line overwrites the first line. So far, the only thing that we believe could be causing this and would likely be a bug is that the user will start a order, add some lines, and save it. Then at another period in time, they open the order, add new lines, then reorder the lines using the Move Row Up/Down buttons, and save it. The addition and reordering of lines could occur over a month's time or less. 

    Has anyone seen anything similar to either issue with detail and history detail tables?

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------


  • 2.  RE: Weird Data Issues In SO_SalesOrderHistoryDetail

    Posted 09-17-2020 19:12
    I've seen the first issue, though it was about 10-ish years ago.  The user would open the Order entry screen and leave it open for a long time.  It seemed that the system created a mostly blank record for the entry, that was unable to be Accepted because the system (had timed-out and) thru an error when the Accept button was finally clicked.  This user did this for PO's and SO's.  The solution was for them to not leave the screen open in-progress.

    ------------------------------
    Michelle Taylor
    ERP Consulting Manager, CS3 Technology
    918-388-9772
    ------------------------------



  • 3.  RE: Weird Data Issues In SO_SalesOrderHistoryDetail

    Posted 09-17-2020 19:17

    An error occurring during attempting to save changes has not been mentioned to us but everything else about the line looks normal, just a blank LineSeqNo.

     

     

     

    Thanks

    David Speck

    TSS

    Sage | Sage 100 Certified Consultant