Solved

acumatica mobile problem refresh with containerlink

  • 1 November 2023
  • 3 replies
  • 44 views

Userlevel 1
Hi, I have a refresh problem with a container Link.
When I open the container (PIPELINE & CRM) the first time, the values ​​are good, if I go to another customer, the container (PIPELINE & CRM) takes over the data from the previous customer. When I add a record to the container the screen updates good.

 

The screen works perffectly in the ERP

Thanks Xavier… Sorry for my english langage so poor ;)

 

update screen AR303000 {
    update container "CustomerSummary" {
    add recordAction "save"
    update layout "CustomerHeader"
      {
 
    remove field "CustomerSummaryBalance#PrepaymentBalance"
    remove field "CustomerSummaryBalance#Balance"
    remove field "CustomerStatus"
    add field "CustomerSummary#PanierCumulé"
    add field "CustomerSummary#Sleeping"      
    add field "CustomerSummary#Provenance"  {forceIsDisabled = False}
    
      }
    update layout "OtherTab" {  
    displayName = "CRM"              
    add containerLink "PIPELINE"
    add containerLink "CRM"       
    add containerLink "CRMCatégorie"             
    add containerLink "CRMCouleur"                   
    remove containerLink "Locations"
    remove containerLink "Contacts"
    remove containerLink "Attributes"
     
  }
      }
  add container "PIPELINE" {
 fieldsToShow = 4
    displayName = "Pipeline"

    add field "Date"         
    add field "Origine"
    add field "Raison"
    add field "Statut"
    add field "Article"
    add field "Description"    
    add field "Commentaire"        
 add containerAction "Insert" {
 icon = "system://Plus"
 behavior = Create
 redirect = True
 }
    
      }
 
  add container "CRM" {
 fieldsToShow = 4
    displayName = "Article acheté"
   
    add field "DateAchat"         
    add field "Article"
    add field "Designation"       
      }   

  add container "CRMCatégorie" {
 fieldsToShow = 4
    displayName = "Catégorie achetée"
    add field "DateAchat"         
    add field "Catégorie" }      
      
  add container "CRMCouleur" {
 fieldsToShow = 4
    displayName = "Couleur achetée"
    add field "DateAchat"         
    add field "Couleur" }      
}

icon

Best answer by KVGLIA 5 November 2023, 18:56

View original

3 replies

Userlevel 1

You can find the URL video : 

 

Userlevel 1
Finally I found, it was a big error in the PXSELECT.

Before : 

public PXSelect<XMPIPELINE,Where<XMPIPELINE.clientid,Equal<Current<XMPIPELINE.clientid>>>> CurrentXMPIPELINE;

After :     public PXSelect<XMPIPELINE,Where<XMPIPELINE.clientid,Equal<Current<Customer.bAccountID>>>,OrderBy<Desc<XMPIPELINE.datecontact>>> CurrentXMPIPELINE;

Userlevel 7
Badge

Thank you for sharing your solution with the community @KVGLIA!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved