Skip to main content

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 :-)

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

 


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


@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 ?

 

 


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


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