Skip to main content
Solved

Issue with displaying Inventory ID in mobile app


stacy16
Varsity I
Forum|alt.badge.img+1

I cannot figure out why the Inventory ID field in the mobile app is showing as the Inventory ID description, but on the GI it shows correctly. Anyone have any ideas?

 

Best answer by Irina

Here is the GI example. Notice Expose to the Mobile App check box disabled and captions for fields are set.

In a customization, this screen is added as follows. See that fields using captions, not data fields names: 

Last, we need to show it on the mobile Site Map:

The result is:

View original
Did this topic help you find an answer to your question?

10 replies

Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • February 15, 2021

Hello @stacy16,

GIs do not define the mobile app data model.

This is mobile app behavior by design and for all selectors the format of ID feilds set as Description.

You need to customize the mobile file and change the selector display format as described in the following help article, see the selectorDisplayFormat attribute.

For the field in question it is set as Description, you can change it to KeyDescription or just Key to have the ID or ID and Description.


stacy16
Varsity I
Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 83 replies
  • February 15, 2021

Hi @Irina !

Thank you so much!

how do I access the mobile file in my customizations?

Is it here? And if so which file do i need to be in?

 


Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • February 15, 2021

stacy16
Varsity I
Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 83 replies
  • February 15, 2021

I have looked in both of these places and i am not figuring this out :/

Where do I find where to change this to “key”. 

The help instructions and training is very confusing to me. 


Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • February 15, 2021
  1. Refer to the To Update a Screen of a Mobile App help article for steps to open Update: SO301000 Sales Orders page of the Customization Project Editor.
  2. Find the code related to InventoryID selectorDisplayFormat attribute. 

     

  3. Implement your code using Mobile Site Map Definition Language (MSDL) in the Commands area of the Update page. Basically, you will need to rewrite (update) code presented now. For example, see Lesson 4.1: Updating a Screen in the T400 Customization of Mobile Application: Basic 2019 R2 course. In this exact case, you will need to update container, layout and field. 
    update screen SO301000 {
    update container "Allocations" {
    update layout "AllocInventoryRow" {
    update field "InventoryID" {
            forceIsVisible = True
            selectorDisplayFormat = Key
          }
        }
      }
    }

     

  4. Save changes. Make sure that Result is changed: 
  5. Publish project.

I would strongly suggest passing T400 course to get used to mobile app customization or consult developers before rolling out any changes on production.


stacy16
Varsity I
Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 83 replies
  • February 16, 2021

Okay so i did the training and I also did what you had suggested however it is still showing the descriptions as the inventory ID. 

Is this because i did it by adding the inquiry from my Acumatica instance?

 

I tried adding the Inventory summary screen to get my on hand quantities to show, however it is giving me an error stating” Site map description does not have primary container”


Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • February 16, 2021
stacy16 wrote:

Okay so i did the training and I also did what you had suggested however it is still showing the descriptions as the inventory ID. 

Is this because i did it by adding the inquiry from my Acumatica instance?

 

I tried adding the Inventory summary screen to get my on hand quantities to show, however it is giving me an error stating” Site map description does not have primary container”

If you will take a closer look, you will see that my example is for the InventoryID field in the Allocations container. You need to update the DocumentDetails container.


Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • February 16, 2021

Please disregard the previous comment.

You’re trying to adjust generic inquiry, and I provided instructions on how to update the Sales Order entry form itself.


Irina
Community Manager
Forum|alt.badge.img+8
  • Acumatica Support Analyst
  • 504 replies
  • Answer
  • February 16, 2021

Here is the GI example. Notice Expose to the Mobile App check box disabled and captions for fields are set.

In a customization, this screen is added as follows. See that fields using captions, not data fields names: 

Last, we need to show it on the mobile Site Map:

The result is:


stacy16
Varsity I
Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 83 replies
  • February 16, 2021

Perfect! It worked!

Thank you so much! :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings