Solved

We have renamed inventory ID field to "Cost code" under purchase order detail screen and now this field is not appearing on the mobile app

  • 28 August 2023
  • 5 replies
  • 99 views

Userlevel 3
Badge

Hi,

We have renamed inventory ID field to "Cost code" under purchase order detail screen and now this field is not appearing on the mobile App. 

 

 

Can someone please help me on this ?

Thanks :-)

icon

Best answer by sweta68 28 August 2023, 11:42

View original

5 replies

Userlevel 7
Badge +12

Hi

The Display Name is what the mobile app is looking for so if you changed it you will also need to change the mobile app screens as well to add this field instead of the InventoryID fields

 

Userlevel 7
Badge +10

Hi @psoni1585 ,

You should extract the "name" from the WSDL schema of the purchase order screen since you've renamed the "InventoryID" field to "Cost Code."

I successfully added the Cost Codes field to the mobile app screen using the 'Update Existing Screen' option from Mobile Application Section through Customization Editor, following the same configuration used for the Inventory ID field. This allowed me to display the Cost Codes field in the mobile app interface.

Cost Codes field

Hope, it helps!

Regards,

Sweta

Userlevel 3
Badge

@sweta68 

 

Appreciate your quick response. We are implementing MYOB Advanced for a client, and I tried with below code, but it didn't work.

Can you provide me code for the same ?

 

 

Userlevel 7
Badge +10

Hi @psoni1585 ,

Yes, sure. below is the code snippet I have used to display Cost codes field.

update screen PO301000 {
update container "Details" {
add field "CostCodes" {
displayName = "Cost Codes"
placeAt 0
listPriority = 98
selectorDisplayFormat = Key
selector {
fieldsToShow = 2
add field "InventoryID" {
forceType = "String"
}
add field "Description" {
forceType = "String"
}
add field "ItemClass" {
forceType = "String"
}
add field "ItemStatus" {
forceType = "String"
}
}
}
}

}

Regards,

Sweta

Userlevel 3
Badge

Hi @sweta68

 

Appreciate your help.. I managed to add renamed field cost code in the MYOB Advanced Mobile App purchase order screen.

Just in my case it’s appearing as CostCodeInventoryID under WSDL schema of purchase order and i used same and now cost code is appearing on the mobile app. 

 

 

Thanks

Pankaj Soni 

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