Skip to main content
Solved

How to parse string field - BigCommerce Import Mapping

  • July 28, 2022
  • 3 replies
  • 92 views

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

Best answer by Shikha6831

Thanks, i solved it myself.

3 replies

  • Author
  • Freshman II
  • Answer
  • July 28, 2022

Thanks, i solved it myself.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 28, 2022

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


  • Author
  • Freshman II
  • July 29, 2022

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: ')))