Skip to main content
Answer

Export Acumatica Order URL to Shopify Order

  • December 17, 2023
  • 5 replies
  • 77 views

Jeff96
Captain II
Forum|alt.badge.img+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.

Best answer by Yuri Karpenko

@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])

5 replies

Yuri Karpenko
Captain II
Forum|alt.badge.img+6
  • Captain II
  • Answer
  • December 18, 2023

@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])


Jeff96
Captain II
Forum|alt.badge.img+4
  • Author
  • Captain II
  • December 18, 2023

@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?


Yuri Karpenko
Captain II
Forum|alt.badge.img+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.


Jeff96
Captain II
Forum|alt.badge.img+4
  • Author
  • Captain II
  • December 18, 2023

@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. 


simonliang91
Acumatica Employee
Forum|alt.badge.img+1
  • Acumatica Employee
  • December 20, 2023

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