Skip to main content
Answer

Update a field in mobile interface

  • November 5, 2023
  • 3 replies
  • 215 views

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 !!

3 replies

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