Acumatica SalesOrder endpoint with LineDetails - acumatica

I am trying to get the LineDetails with the get of a salesorder.
entity/defaultext/20.200.001/SalesOrder$expand=details&$top=100
With the expand=details I see the details object, but that doesn't contain all the "Line Details" from the screen.
How do we get the "Allocations" to come through as well? What I really need is the serial / lot number for each line detail entered.
acumatica sales order object
Thanks!

When you say "that doesnt contain all the line details from the screen" I assume not all the columns? You need to go to the "Web Service Endpoints" screen and add them. Be sure to click on the "Detials" sub tree item of "sales order" if you want to add details columns
The allocations tab is already a sub view of the details grid, you can expand it by using $expand=Details,Details/Allocations, and you can add any neccecary columns there the same way as you can at the details level.

Related

NetSuite - How to add new base Currency?

I need to add a new base currency (SEK) into our NetSuite system.
I'm able to find those that are already configured as USD, Euro, Canadian Dolar..but I can't find where to add a new base currency.
Thanks in advance!
Go to the currencies page and press the "New" button.
Type currencies in the global search and select Page: Currencies from the list that comes up so you can review the current ones before adding another. As well on this page click on the ? Help button and review the topic that comes up (Currency Management) and it's sub topics.
If the page mentioned in the previous paragraph doesn't come up or the New button doesn't appear then the role/account you are logged into doesn't have the permissions required to add new currencies.

Search with Customer Name in Customer ID field

In Sales Order screen the Customer filed allows to select the customer ID by typing customer name also, how we can add same functionality for Customer ID field in Customer screen. Please have a look at below screenshot for more reference. Any help really appreciated.
Sales Order screen screenshot # https://i.imgur.com/03UWk5A.png
As you mentioned this functionality is present on most screens when typing in the Customer ID field. However when working with a maintenance screen such as Customer maintenance the key field here IS customer ID. Or more accurately BAccountID. So the look up feature behaves a little differently. This is the same for vendors.
You have a couple options (probably more..)
Suggest to your users to type in the first few characters of the customer ID and click on the F3 key. This will show the select dialog box and jump directly to the first customer match. Even if the match is the Customer ID itself.
You could extend the Customer DAC, add a new unbound field with a PXSELECTOR attribute and write an event to fetch the selected customer and refresh the screen.
Option 2 is not encouraged because it could be confusing to your users and would introduce a quirky way of interacting with the screen. Also it might be a little tricky to code.

Multi-Select as an Available Filter in a Saved Search

I checked SuiteAnswers and here on Stack overflow but don't see an answer. Is there a way to make a Multi-select field in NetSuite as an option for an available filter in a Saved Search. I tried to do this by creating a test MS field on an Employee and creating a saved search. However, when adding it as an available filter it grays out the ability to show in the filter region, which, by all practical purposes, makes it not usable as an available filter.
Has anyone found a way to do this? Or do I have to have multiple searches for variations on the values we want in the multi-select, which is not ideal?
This is very frustrating NetSuite behaviour however I have found a workaround that works some of the time.
Create a saved search
Go to the "Available Filters" subtab
Add the Select/List type field(s) you require
Tick "Show In Filter Region."
At this point the "Show as multi-select" checkbox will be greyed out (disabled.)
Save and run the search.
Click "Edit This Search"
Navigate back to the "Available Filters" subtab and the "Show As
Multi-select" checkbox should now be enabled, tick it.
Save and run your search again.

Magicsuggest - How to display selected item with a different label than the suggestion?

So here's the scenario.
The user can search people by either name or phone number. I like the fact that in the suggestions dropdown, it shows the person's name and phone number... and the text highlighting that goes with it.
However, once they select the person, I want only the person's name to show in the selection. Not the phone number.
Is there a way I can override a label/display function for selected items?
NOTE: I already have a different value/id field. So this needs to be completely independent of that.
Thanks!
Am I the only one here using MagicSuggest?
Anyway... the answer is to set a custom selectionRenderer in the declaraion.
selectionRenderer: function(obj){return obj["shortName"];}

Sharepoint re-order item order in the list

In the list, I set-up "ID" column and "Title" column.
I added 10 items in the list, and I'm trying to put the 10th item between 1 and 2.
After my research, many people said I can't manually change ID number...
Is there a way to re-order the item?
deleting every items is the only answer?
Please help!
The ID column is an internal identity-like column. You cannot change the value. If you need a column that you can order by (and change), just create a new column called SortOrder or something. Then sort by that column.
I know this is an old post, but I thought this might help someone who might be looking for an OOB answer.
Go into your links list so that you see your List Tools, Items and List at the top.
Select Items.
There is a Change Item Order Icon in the Ribbon. This will allow you to renumber the Links in your list and change the order.
You can manually change the items order if you create your list based on a link list definition. This kind of list allows you to re-order items as you require through a ribbon button. I use this workaround often.
The ID Column is SharePoint inbuilt and you can not change the value of it.
for your solution either you need to delete all item and insert it again or as #Nigel Whatling say you have to add SortColumn
Column Setting will only change the order in the SharePoint List. To change the view order Use the Modify View Selector to adjust the way the fields are sorted. Modify View is found on the ... next to Find and Item Box or If your in the site setting it is under View on the lower 3rd of the page
I also got stuck with this and couldn't use the previous answers as I couldn't see the buttons they spoke of in the ribbon.
I went to List > List Settings in the ribbon. At the bottom of the list settings page I click on a View to edit it (or create new view). Unser the heading Sort you can change the column you wish to sort by and change from descending to ascending etc.
Actually, if I understand the question, it was just what I was trying to accomplish and spent most of my morning working on.
Select the List.
From toolbar, select List under List Tools.
Click List Settings.
Below the listed columns, see Column Ordering
Modify "Position from Top" number and click OK at bottom.
Updated steps:
Select the List.
From toolbar, select List under List Tools.
Click List Settings.
Above the Column list click on the "Item" link
At the bottom of the page select "Column Ordering"
Modify "Position from Top" number and click OK at bottom.

Resources