Open githubbob42 opened 7 years ago
Horia : 12/12/2016 12:35 CST This is happening because the user is trying to change the auto-populated price book item in Mobile. When clicking the PBI look-up the only option they have is to select a price book. The field is required, and therefore cannot be removed from the layout. It is also not marked as read-only, which makes it editable. See second screenshot (Lookup.jpg). This issue is fixed in sync version 4 since the price book item field is read-only in Mobile.
Mingle Card: 4571 Update 11/16/16
This has also occurred now with Liberty Lift, audit log entry AL-1631 https://fieldfx-7534.cloudforce.com/a0To0000006Iovb
Failed to upsert object: FX5__Ticket_Item__c : FIELD_INTEGRITY_EXCEPTION : Price Book Item: id value of incorrect type: a0Eo000000Cc8zCEAR
This issue also pulled the price book id from a totally different price book that wasnt on the job,
Steps to Reproduce
!qes_issue_pbi.png!
Expected Result
What should happen?
Actual Result
What actually happens?
Analysis
According to Horia:
“This is happening because the user is trying to change the auto-populated price book item in Mobile. When clicking the PBI look-up the only option they have is to select a price book. The field is required, and therefore cannot be removed from the layout. It is also not marked as read-only, which makes it editable. See second screenshot (Lookup.jpg).
This issue is fixed in sync version 4 since the price book item field is read-only in Mobile.”
The examples in this card are all old (7+ months). I tested this and could not reproduce and checked the code and we are specifically making Price_Book_Item__c readonly and removing it from the layout. I don’t think that this is a bug any longer.
Related Cards
Test Plan