{"id":29144,"date":"2024-05-29T06:54:35","date_gmt":"2024-05-29T06:54:35","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=29144"},"modified":"2024-12-03T05:18:55","modified_gmt":"2024-12-03T05:18:55","slug":"how-to-solve-the-errorfield-bpaaddalphanumeric-mid-function-not-defined-for-the-value-given-when-extracting-the-excel-export-from-the-purchasing-receipt-line-inquiry-screens","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/29\/how-to-solve-the-errorfield-bpaaddalphanumeric-mid-function-not-defined-for-the-value-given-when-extracting-the-excel-export-from-the-purchasing-receipt-line-inquiry-screens\/","title":{"rendered":"How to solve the error@\u201cField BPAADD(Alphanumeric) : mid$ Function not defined for the value given\u201d when extracting the Excel export from the Purchasing Receipt Line Inquiry screens"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.greytrix.com\/sage-x3\/sage-x3-development\/\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3\/sage-x3-development\/\">S<\/a><a href=\"https:\/\/www.greytrix.com\/sage-x3\/sage-x3-development\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3\/sage-x3-development\/\" rel=\"noreferrer noopener\">age X3<\/a> 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.<\/p>\n\n\n\n<p>One of our clients is encountering an error \u201cField BPAADD(Alphanumeric) : mid$ Function not defined for the value given\u201d when extracting the Excel export from the Purchasing Receipt Line Inquiry screens as shown in the screenshot below :<\/p>\n\n\n\n<p>New Stuff: <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/29\/receipt-selection-at-purchase-invoice-screen-with-provisional-freight-charges\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/29\/receipt-selection-at-purchase-invoice-screen-with-provisional-freight-charges\/\" rel=\"noreferrer noopener\">Receipt selection at purchase invoice screen with Provisional Freight charges<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig01-Error-on-Receipt-line-inquiry-screen-while-exporting-the-excel-file.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig01-Error-on-Receipt-line-inquiry-screen-while-exporting-the-excel-file.png\" alt=\"Fig01- Error on Receipt line inquiry screen while exporting the excel file\"><\/a><\/center>\n<font size=\"2\"><center>Fig01- Error on Receipt line inquiry screen while exporting the excel file<\/center><\/font>\n\n\n\n<p>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 :<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig02-Receipt-line-inquiry-screen-1024x425.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig02-Receipt-line-inquiry-screen-1024x425.png\" alt=\"Fig02- Receipt line inquiry screen\"><\/a><\/center>\n<font size=\"2\"><center>Fig02- Receipt line inquiry screen<\/center><\/font>\n\n\n\n<p>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<\/p>\n\n\n\n<p>We have successfully resolved the error encountered during the extraction of the Excel export from the Purchasing Receipt Line Inquiry screens<\/p>\n\n\n[about_us_blog_common]\n","protected":false},"excerpt":{"rendered":"<p>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 \u201cField BPAADD(Alphanumeric) : mid$ Function not defined\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/29\/how-to-solve-the-errorfield-bpaaddalphanumeric-mid-function-not-defined-for-the-value-given-when-extracting-the-excel-export-from-the-purchasing-receipt-line-inquiry-screens\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,13],"tags":[750,795,3019,3265],"class_list":["post-29144","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-integration","tag-excel","tag-field","tag-receipt-lines","tag-sagex3"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=29144"}],"version-history":[{"count":3,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29144\/revisions"}],"predecessor-version":[{"id":29148,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29144\/revisions\/29148"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=29144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=29144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=29144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}