Sage X3 is enterprise resource planning (ERP) product which help organization to manage all the operation of organization and database into a single software solution. Sage X3 contains list of modules like sales, purchase, inventory, project, financial and many more.
One of our clients is encountering an error “Field BPAADD(Alphanumeric) : mid$ Function not defined for the value given” when extracting the Excel export from the Purchasing Receipt Line Inquiry screens as shown in the screenshot below :
New Stuff: Receipt selection at purchase invoice screen with Provisional Freight charges

We have rectified the error and discovered that when the user opens a receipt line inquiry screen and fills in the necessary parameters to extract the output, the company name field contains junk characters. This discrepancy was not visible in the application, but upon further investigation, we found that it contained a trailing blank space in the application back-end server, as shown in the screenshot below :

We have solved this error by accessing the application backend server and removed the trailing blank space from the supplier name(A V POLYMERS ) using an update query in the BPSUPPLIER and BPARTNER tables corresponding to the supplier (S0000000001) selected by the user
We have successfully resolved the error encountered during the extraction of the Excel export from the Purchasing Receipt Line Inquiry screens
[about_us_blog_common]