I have been exceedingly excited about the new Acumatica Modern UI and have been waiting with bated breath for it to be released. In Acumatica 23R1, released on 4/4/2023, it is finally available to preview. I am going to show you how to enable it so you can see it too.
Step 1 : Edit the web.config file
Under the <Appsettings> tag of the web.config file, add the following:
<add key="EnableSiteMapSwitchUI" value="true" />
Step 2: Enable the modern UI for certain pages
The modern UI is only available for certain pages. You can see which pages under the site path \FrontendSources\screen\src\screens.Navigate to the “Site Map” screen and make sure the “UI” column is visible.
Set “UI” to “Modern” on the sites you want to see.
Step 3: View the Page
Voila, the screen is rendered using the new UI!
After listening to talks from the platform team about the new UI now for several years, I am happy to finally be able to play with it myself now!
I recently downloaded a copy of Acumatica’s Test SDK and began running through the pdf class. After writing the first classes test, I came across a maddening FileLoadException involving TestApiCore.dll
This is due to Windows determining the location of the .dll coming from a internet source, and attempting to sandbox it into running with a limited set of permissions. To temporarily fix it you can right click on the dll and select Unblock under the General tab, but this is inefficient because there are several files that are flagged in this way.
Instead, user the following Powershell command: dir C:\*YourTestSDKDir*\TestProject\*.* | Unblock-File -confirm
Be sure to use the path pointing to the downloaded files, not to your projects \bin\ folder, because Visual Studio copies several .dlls from the TestProject folder of the TestSDK directory, and the files that overwrite s will continue to have this flag applied
This document was intended for quick reference with regards to the most common fields you want to access from the web endpoint. For more in-depth help, take a look at the section titled “Working with the Contract-Based REST API” located here: API HELP
Authentication
Login
Type: POST
Format: JSON
URL: <URL>/entity/auth/login
BODY:
Additionally, fields ‘ShippingContact’ and ‘BillingContact’ can be specified separately from ‘MainContact’ shown above. If these are not specified then a new PurchaseOrder will use the MainContact as both.
Retrieving Customer data
Type: GET
Format: JSON
URL: <URL>/entity/Default/17.200.001/Customer
Use query parameter $filter: To specify filtering conditions
Use query parameter $expand: To expand specific detail entities
Otherwise all current customer data will be sent
Update Existing Customer
Type: PUT
Format: JSON
URL: <URL>/entity/Default/17.200.001/Customer
Use parameter $filter: To specify filtering conditions on key fields that identify the record to be updated
Key Field: CustomerID (string(10))
Example: URL: <URL>/entity/Default/17.200.001/Customer?$filter=CustomerID eq ‘ABARTENDE’
Body: { "CustomerName": {"value": "Stuffffff"} }
This will update customer ABARTENDE’s name to ‘Stuffff’
This will create a new sales order for the CustomerID, at an alternate Location ID (applies to ‘Ship To Address’, BillToAddress will always default to the default ‘BillToAddress’ specified in the Customer Record (see this document’s relevant section under Customers):
This will create a new sales order for the CustomerID, using a ship to address that is not currently saved as a location under the CustomerID record (the same can be done with ‘BillToAddress’):
Type: PUT Format: JSON URL: <URL>/entity/Default/17.200.001/SalesOrder
Use the same format as “Add a Sales Order”, however you must
specify existing records using query parameter $filter, or else a new record
will be added
Example: PUT to <URL>/entity/Default/17.200.001/SalesOrder?$filter=OrderNbr eq ‘SO004573’
Body: { "CustomerID" : {value : "ABCVENTURE"} }
This sets Sales order # ‘SO004573’ value of CustomerID to ABCVENTUREKey Field: OrderNbr (string(10)
Status of a Sales Order
Date received, date entered into the system and current status Open, closed, backordered, shipped If shipped – shipping information
Cancel a Sales Order
Type: PUT Format: JSON URL: <URL>/entity/Default/17.200.001/SalesOrder/CancelSalesOrder
You must create a new request in this format for every
SalesOrder you want to cancel
Further Documentation
Download the Acumatica provided swagger.json file for a full openAPI 2.0 documentation of the existing web endpoint here:
Send a GET Request to any Endpoint with the addition of $adHocSchema to get a list of fields associated with it Example:<URL>/entity/Default/17.200.001/SalesOrder/$adHocSchema