Solved

Export Acumatica Order URL to Shopify Order

  • 17 December 2023
  • 5 replies
  • 48 views

Userlevel 6
Badge +4

Looking for instructions on how to map the export from Acumatica to Shopify. I want to export the URL of the order in Acumatica to Shopify. This will help users quickly open the order in Acumatica. 

I can map the actual order number via the standard available fields. However, that’s a static field with out the URL. I’m looking for info on how to map the URL at the beginning.

icon

Best answer by Yuri Karpenko 18 December 2023, 18:58

View original

5 replies

Userlevel 5
Badge +1

@Jeff96 , it’s better to share the details in your entity mapping

Userlevel 6
Badge +4

@Jeff96 , I don’t have it set up in my system(s). Do you get an error? Do you have HTTPS in the URL - that’s important for URL metafield.

No error, it says completed. I do have the HTTPS just like you typed me the example above. 

Userlevel 7
Badge +6

@Jeff96 , I don’t have it set up in my system(s). Do you get an error? Do you have HTTPS in the URL - that’s important for URL metafield.

Userlevel 6
Badge +4

@Jeff96 , do you know how to use formulas in Entity Mappings?

The URL of each order follows this patter: https://{companyWebsite}.acumatica.com/Main?CompanyID={companyID}&ScreenId=SO301000&OrderType={orderType}&OrderNbr={orderNbr}

So, if your Acumatica URL is jeff96.acumatica.com, and your company is Production, and your order is SO 12345, then your URL will look like this:

https://jeff96.acumatica.com/Main?CompanyID=Production&ScreenId=SO301000&OrderType=SO&OrderNbr=12345

In your mapping for Sales order, you can use this formula then:

=Concat( 'https://jeff96.acumatica.com/Main?CompanyID=Production&ScreenId=SO301000&OrderType=', [SalesOrder.OrderType], '&OrderNbr=', [SalesOrder.OrderNbr])

Thanks. This helped me get it into a text line metafield, but I can’t get it into a URL metafiled. Do you know why that is?

Userlevel 7
Badge +6

@Jeff96 , do you know how to use formulas in Entity Mappings?

The URL of each order follows this patter: https://{companyWebsite}.acumatica.com/Main?CompanyID={companyID}&ScreenId=SO301000&OrderType={orderType}&OrderNbr={orderNbr}

So, if your Acumatica URL is jeff96.acumatica.com, and your company is Production, and your order is SO 12345, then your URL will look like this:

https://jeff96.acumatica.com/Main?CompanyID=Production&ScreenId=SO301000&OrderType=SO&OrderNbr=12345

In your mapping for Sales order, you can use this formula then:

=Concat( 'https://jeff96.acumatica.com/Main?CompanyID=Production&ScreenId=SO301000&OrderType=', [SalesOrder.OrderType], '&OrderNbr=', [SalesOrder.OrderNbr])

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