BN532 Employee benefit does not exist – error in Lawson
Problem: You get a print directory error when running the BN532 and staging the BNDEPBATCH file: “Employee benefit does not exist;”
This typically occurs when you’re testing BN531 and BN532 in report mode to make sure everything runs correctly. Both you BNBATCH and BNDEPBATCH file are ready to go and have been renamed (because BN531 and BN532 to this day still appear to only accept BNBATCH).
Resolution: While it’s easy to overlook, you must first run BN531 in UPDATE mode after running it in report mode to test. Once the BNBATCH employee data is loaded into the database, you must rename your BNDEPBATCH file to BNBATCH and run the BN532 in report mode to test it as well.
So, to recap simply:
- Stage BNBATCH file in %LAWDIR%\<productline>\work\BNBATCH\ folder
- Run BN531 in report mode, check for error
- Run BN531 in update mode if no errors from step 2.
- Stage BNDEPBATCH by renaming it to BNBATCH (backup BNBATCH employee file) %LAWDIR%\<productline>\work\BNBATCH\ folder
- Run BN532 in report mode, check for errors
- Run BN532 in update mode if no errors in step 5.
That’s it!
Leave a Reply
Want to join the discussion?Feel free to contribute!