tsStoreDBRec error is Record was modified or deleted since your retrieval (131). Additional information is 100. Additional Text is: ModifySqlRec
There are 3 bad invoices in APINVOICE and APPAYMENT with no distribution records in APDISTRIB.
The 3 bad records are as follows
Resolution:
In SQL Manger, query the APINVOICE and APPAYMENT files for any invoices with bad name format as below:
Verify these records do not have any distributions records in APDISTRIB. If not, Delete these bad invoices.
APPAYMENT
APINVOICE
Run commit to commit the changes
Go into lawson and recover the job
Keywords:
https://www.nogalis.com/wp-content/uploads/2024/07/AP195-Issue-Cannot-close-period.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2024-07-19 08:59:582024-07-19 08:59:58AP195 Issue Cannot close period
I continue to receive the following error message when attempting to log into LID:
That indicates a license issue.
so I ran licsta -r and found the license file is corrupt because it reverted to client 9999.
> licsta -r
Active License Status For Client 9999
License Code/ Active Licensed Highest
Application Users Users Use Expiration Date
———– —— ——– ——- —————
default 2 7 Thu Aug 31 13:25:17 2023
PR 2 Not Licensed
LP 1 Not Licensed
HR 1 Not Licensed
un 4 10 13 Sun Sep 17 10:39:42 2023
Run licsta -f and verified the file is corrupt.
> licsta -f
File [E:\lawson\law\system\license] not copied to E:\lawson\law\system\tmplicense] – Error [33]
Unable to Read License File Header – File May Be Corrupted
You will need to request a new software license key and re-install the license file.
https://www.nogalis.com/wp-content/uploads/2024/07/LID-Access-max-number-error.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2024-07-16 08:21:542024-07-11 15:28:14LID Access max number error
Sometime you may have a need to update your LDAP bind connection, such as when the domain controller you are bound to is decommissioned.
To update the LDAP bind connection,
First figure out which service is using ldap bind. To do that, go to http(s)://<server>:<port>/ssoconfig/SSOCfgInfoServlet. Make a note of the service name displayed on the page.
Next, log into ssoconfig and export that service:
Now, open the file you just exported. Update the OVERRIDE attribute to “true”. Update the “PROVIDER” element to the new server and port.
Next, upload your updated file into ssoconfig. The syntax is ssoconfig -l <password> <full file path>
For example:
Ssoconfig data is stored in the security cache, so you will need to recycle your system for this change to take effect.
NOTE: If you need to change the credentials for the domain controller, this will be an extra process. You will need to update the service associated with your LDAP bind. This is most likely your SSOP_BIND service. You can look under privileged identities in Lawson Security, check for a “DEFAULT” key associated with your ldap bind user. That is your LDAP bind service.
To update the credentials for this service, log into ssoconfig and select Manage privileged access to services > Change existing identity. Enter the service that you noted above. Enter the correct user DN. Enter the password.
If you have a PR160 job that goes into recovery because your ACH path is not correct:
You can modify the exact PR160 job that is in recovering by dumping the job with jobdump command in Lawson Interface Desktop (LID).
Example of command: jobdump -d -o Job -v UserName joesmoe jobdump.dmp
What to change: jobdump -d -o Job -v UserName <your_jobs_username> <enter_the_jobname>.dmp
Edit the dumped job file and change the ACH path ONLY and recover the job to see if it is resolved.
Load the job in report mode (to check for errors): jobload -o Job jobdump.dmp
Load the job in commit mode if it looks good: jobload -c -o Job jobdump.dmp
https://www.nogalis.com/wp-content/uploads/2024/07/PR160-In-Recovery-due-to-incorrect-ACH-file-path-workaround.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2024-07-09 15:29:202024-07-09 15:29:20PR160 In Recovery due to incorrect ACH file path workaround
To suppress Receiving Delivery and Putaway (PO134) delivery tickets when MSCM Delivery Documents are all that is needed is to disable the Back-Office PO Receiving (PO30) Receiving Delivery and Putaway (PO134) delivery ticket by removing the printer from PO Receiving (PO30) or create a dummy printer to stop the back-office delivery ticket from printing.
Removing the printer from PO Receiving (PO30) only works if the user does not have a default printer assigned to them. After being removed, the default printer will simply populate back in the field upon clicking change.
Additionally, an enhancement to PO Company Setup (PO01) was added which provides a flag called “Delivery and Putaway Ticket Print” which allows disabling the delivery ticket printing at the company level.
Choose the Service Account for your AD LDS service and click “Finish”
Right-click on the service that was added and select “All Tasks > Import”
Click next and browse to the .pfx certificate file. Click “Next”
Enter the private key password
Place the certificate in the <AD LDS service>\Personal store
Click Next then Finish
Export the certificate for Java OS & Java WebSphere
Right click the certificate > All Tasks > Export and click Next
Do not export the private key
Choose Base-64 encoded X.509 (.cer) and click Next
Choose a location to save the file for later use
Click finish
Grant Permissions to Certificate Container
Run command “certutil -store MY’
Find the container with your AD LDS certificate using the thumbprint to identify it
Give NETWORK SERVICE read & execute permissions on the key container file AND the key container directory (C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys)
Stop the AD LDS environment service
Restart the AD LDS service
Smoke Test
Open the ldp.exe tool
Type the server FQDN > SSL port and check the SSL box
Click “OK”
Successful connection to LDAPS
Update the LDAP Certificate in WebSphere
Cell Trust Store
Access the WAS Admin Console and navigate to: Security > SSL certificate and key management > Key stores and certificates > CellDefaultTrustStore > Signer certificates
Click the Retrieve from port button.
Host: <your AD LDS host>
Port: 636
Alias:give it a meaningful name
Click Retrieve signer information.
Click OK & save changes.
Node Trust Store
Access the WAS Admin Console and navigate to: Security > SSL certificate and key management > Key stores and certificates > NodeDefaultTrustStore (for the LSF server) > Signer certificates
Click the Retrieve from port button.
Host: <your AD LDS host>
Port: 636
Alias:give it a meaningful name
Click Retrieve signer information.
Click OK & save changes.
Perform these same steps in the Landmark websphere instance.
Update LDAP Certificate in OS Java
Do this in both Lawson and Landmark
Open a command line and set environment variables
Run command “where java” to determine where LAW_JAVA_HOME is located
Back up <LAW_JAVA_HOME>/jre/lib/security/cacerts
Copy the cert that you exported from the LSF service from the Lawson server to the Landmark server
This is the cert you will be importing into cacerts
Run the ikeyman utility at WAS_HOME/bin
Open the LAW_JAVA_HOME/jre/lib/cacerts file and select the Key database type of JKS
Type password “changeit” (default)
Select “Signer Certificates”
Delete the existing certificate, then re-add it
Click “add” and navigate to the ldap certificate exported earlier
Give it a meaningful name
Update LDAP Certificate in WebSphere Java
WebSphere Java directory is WAS_HOME/Java
Back up files WAS_HOME/java/jre\security/cacerts
Peform the same steps as OS Java using iKeyman for both Java instances
https://www.nogalis.com/wp-content/uploads/2024/06/Replacing-Expired-Certificates-for-LDAPS.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2024-06-28 08:14:092024-06-28 11:22:54Replacing Expired Certificates for LDAPS
One reason you could be receiving this error is because there is an additional patch.tar file from a previous or concurrent CTP install.
After running the tar command you should only have 3 files for this CTP in the <versionfiledir> that you uncompressed the CTP to.
Examine the extracted files to make sure you received the following three files:
– x.x.x_patch_CTPnumber.readme.html
– Versions
– patch.tar.Z
Remove any previous CTP files from this directory, especially any patch.tar files, and run the lawappinstall again.
Resolution 2:
If you are encountering this error on a Windows server it is possible that you have spaces in the folder names of the path to the versions dir. You would receive the failed to uncompress message if this is true.
Use a “_” for the space, or use folders that do not contain a space in the name and run the lawappinstall again.
Resolution 3:
Make sure the user you are applying the patch with has the proper Windows file permissions to install the patch. This should be the entire LSF application directory.