Error Code 5011 OR Error Code 10 when exporting to SAP using SQL_2016
Problem 1:
Unable to transfer GL entries to SAP Error code -5011.
Solution 1:
Narrow down to the employee(s) for which you get problem doing GL Export. You can narrow it down by selecting department and then by choosing payroll groups and then doing GL export for batch of 5 employees at a time or 10 employees at a time. Once you figured out the employee(s) check the GL codes for job cost entries, Cost allocation and G/L Accounts for that employee and make sure if all the codes are correct and once corrected save it and try to export again.
Problem 2:
Error 10 when exporting to SAP using SQL_2016.
Solution 2:
Steps:
- Issue is caused by SAP changing the License port in SAP 9.2 PL05 and you need to change it in the B1LocalMachine.xml of the DI-API.
There is video on how to fix it: https://youtu.be/EQoqX6hJUBQ
(Port number is already 40000 in 32-bit DI API config file) - Verify the firewall is allows to communicate to the above port
NOTE: After export the GL into SAP verify the Journal Vouchers in the SAP : Financials \ Journal Vouchers to see the exported records.