Solved

How to parse string field - BigCommerce Import Mapping


Userlevel 1

Hi,

  We have a requirement to parse CustomerMessage string in mapping while importing Sales Order from BigCommerce to Acumatica. For example, we have customer Message string like this :

abc test some | PO Number : 123243

I need to get this  value “123243” in one of my Acumatica Field.

Can someone suggest how to achieve this?

 

Thanks,

Shikha

icon

Best answer by Shikha6831 28 July 2022, 08:50

View original

3 replies

Userlevel 1

Thanks, i solved it myself.

Userlevel 7
Badge

Hi @Shikha6831 - could you share the resolution with the community in case it helps a member in the future? Thank you!

Userlevel 1

Yes sure,

i have added this Substring function in the Source Field while doing entity mapping for Sales Order Import =>

=Substring(CustomerMessage,CInt(InStrRev(CustomerMessage, 'PO Number: ')) + Len('PO Number: '),Len(CustomerMessage) - (CInt(InStrRev(CustomerMessage, 'PO Number: ')) + Len('PO Number: ')))

 

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved