Home > Margerp > Structure Junk Verificarion > If Item Batch not match with the Batch in Batch Register then how to resolve it in Marg Software?
Note:-Firstly user needs to take backup before use this option.
1. Go to Reports > Management Report > Utilities > Structure/Junk Verification > Direct Command > Direct Command window will be appear > Enter here password as Current Date in a Reverse form(yy/mm/dd) > Command window will be appear > Enter command SELE PRO press enter and type BROW > Then click on Run > Pro file will be open > press esc key.
2. Then type UPDATE DIS SET DIS.BATCH=PROBAT.MYCODE FROM DIS,PROBAT WHERE PROBAT.BATCHNO=DIS.BATCH AND PROBAT.CODE=DIS.CODE AND PROBAT.MYCODE<>' ' and then click on Run.
3. Enter command SELE PROBAT press enter and type BROW > Then click on Run > Probat file will be open > press esc key.
4. Then type REPL ALL BATCHNO WITH MYCODE FOR MYCODE<>' ' and then click on Run.
5. Go to Master > MargSetup > Control Room > Batch > Click on Accept > There is one option shown > "Batch/Size lenght required N-Default (12 Chr) Y-Long (20 Chr)" ---Change that option as "N" > Then press esc key and save.
After following above steps item batch same in batch register.