Blog

1771Currently online
22Today's Reading
15Share Today
Multilingual display

The solution of outsourcing processing receipt/product receipt cannot be audited

2018-04-20 00:00:57

Description of the problem: Suddenly all the outsourcing processing into the library can not be reviewed, but can save the on-site processing: the problem does exist on the client computer test problem, replace a computer to replace the operator problem is still the same, the server operation is the same, restart the server problem did not solve the background processing: suspect that there is a problem with the background database, check ICShop_Item The maximum value of FinterID Consume in the consume table is 77497. Check the maximum value of FMaxNum consume in the ICMaxNum table corresponding to ICShop_ItemConsume table is 77496. The two maximum values are inconsistent. Make the two maximum values consistent, the problem is solved, the specific operations and SQL statements are as follows:

Tools/Materials
1

Back up the ledger before background data processing

2

Perform operations on the SSMS platform of the server

3

SA System administrator account Logs in to the database

One, back up the ledger
1

This page is based on experience

2

Select the account in question for a full backup operation, preferably at the end of the day

Two, the database operation
1

Open the SSMS platform

2

Select the sa user to log in to the database

3

Select the database entity in question

4

Enter the SQL statement :select*from ICMaxNum where FTableName like 'ICShop_ItemConsume' to find out that the ICMaxNum value of the current account is 77496select *from Update ICMaxNum set FMaxNum = 77497 where FTableName like. Icmaxnum set fmaxnum = 77497 where ftablename like 'ICShop_ItemConsume' Updates the ICMaxNum value to 77497 to ensure that the maximum values of the two tables are consistent

Third, after the modification of the test outsourcing processing into the warehouse

After the modification, the outsourcing processing receipt of WWJGLK17-02-14004 has been successfully audited, and subsequent material acquisition and verification operations can be carried out!

Matters needing attention
1

When the product receipt cannot be audited, this method can also be used to solve the problem

2

Background data modification is risky, please back up the account and be operated by professionals

3

The outsourcing processing documents cannot be audited, which will affect the material inventory and subsequent material requisition, and also affect the verification operation of the outsourcing processing warehouse receipt

4

Keep a record of all the processes in case of query, you may also encounter this kind of problem

Recommendation