Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Day End Processing Error in OE

Status
Not open for further replies.
You are missing records from OESHCD, you can compare with OESHCH linked on SHIUNIQ and search for missing records, then rebuild the records from OESHID.
 
hi ettienne,
how to rebuild the records from OESHID ?
please give me the step by step.

is my error common ?

thanks.
 
Rebuild the data using SQL queries.
This is not an uncommon error, but I have not seen it for a while and never with 5.5
 
This worked for me on older versions, you will have to test with OE 5.5
Code:
INSERT INTO OESHCD ( SHIUNIQ, DETAILNUM, AUDTDATE, AUDTTIME, AUDTUSER, AUDTORG, SHINUMBER, QTYSHIPPED, SHIUNIT, UNITCONV, COST, ACTUALCOST )
SELECT OESHID.SHIUNIQ, OESHID.DETAILNUM, OESHID.AUDTDATE, OESHID.AUDTTIME, OESHID.AUDTUSER, OESHID.AUDTORG, OESHCH.SHINUMBER, OESHID.QTYSHIPPED, OESHID.SHIUNIT, OESHID.UNITCONV, OESHID.UNITCOST AS COST, OESHID.UNITCOST AS ACTUALCOST
FROM (OESHID INNER JOIN OESHCH ON OESHID.SHIUNIQ = OESHCH.SHIUNIQ) LEFT JOIN OESHCD ON (OESHID.DETAILNUM = OESHCD.DETAILNUM) AND (OESHID.SHIUNIQ = OESHCD.SHIUNIQ) 
WHERE (((OESHCD.SHIUNIQ) Is Null) AND (OESHID.QTYSHIPPED)<>0))
 
hi ettienne,
formerly u have faced this problem too and u fixed it succesfully with the code above ?

what version of accpac ?
 
hi ettienne,
i have executed the sql query you give above
but the result is 0 row(s) affected
and when i start the day end processing again, i have the same error.
what must i do now ?

from rvspy data, what make this error happened ?
help me please.

thanks.
 
You need to figure out which records are missing and rebuild them.
 
hi ettienne,
can u give me the step by step to figure out the missing records ?

my day end processing error when processing shinumber = 'SJO13109050103'

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top