Skip to main content

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

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


Thanks, i solved it myself.


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