Skip to main content
Solved

Update a field in mobile interface


KVGLIA
Freshman II

I would like update the screen AR30300.

When I open a customer, The field is disable, in the ERP, we can update the field

Thanks Xavier

Best answer by rakshandad31

Hi @KVGLIA  ,

According to my understanding Once you Select any customer in mobile app, you don't have feasibility to modify any of the field, all fields are disabled,

If you want to modify any particular field, you can try below code,

Eg- I want to update AccountName field which is read-only, 

 
 update screen AR303000 {  
 OpenAs = Form
 update container "CustomerSummary" {    
    #AccountSummary Account Name
    update field"GeneralAccountInfo#AccountName"{
    forceIsDisabled = false
      textType = PlainSingleLine
    }    

    #Save and Cancel Action    
    add recordAction "Save" {
 behavior = Save
 }
    add recordAction "Cancel" {
 behavior = Cancel
 }

  }
}  

By using above code, I am able to update AccountName field for Customer, 

Hope this helps !!

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

3 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • 639 replies
  • November 6, 2023

Hi @KVGLIA 

Which field are you trying to change the name or you want to be able to enter a code client and have the system load that customer


  • Jr Varsity I
  • 7 replies
  • Answer
  • November 6, 2023

Hi @KVGLIA  ,

According to my understanding Once you Select any customer in mobile app, you don't have feasibility to modify any of the field, all fields are disabled,

If you want to modify any particular field, you can try below code,

Eg- I want to update AccountName field which is read-only, 

 
 update screen AR303000 {  
 OpenAs = Form
 update container "CustomerSummary" {    
    #AccountSummary Account Name
    update field"GeneralAccountInfo#AccountName"{
    forceIsDisabled = false
      textType = PlainSingleLine
    }    

    #Save and Cancel Action    
    add recordAction "Save" {
 behavior = Save
 }
    add recordAction "Cancel" {
 behavior = Cancel
 }

  }
}  

By using above code, I am able to update AccountName field for Customer, 

Hope this helps !!


KVGLIA
Freshman II
  • Author
  • 4 replies
  • November 6, 2023

thanks @dcomerford & @rakshandad31, I can update a field. Do you know if it’s possible to update a field in the “update layout "CustomerHeader" “ ? Update Jacque for example. 

 

I think it’s not possible. Can you confirm me ?

Xavier


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