my last Asset issue was self inflicted. This time, I have made sure I use the hightest API version (v37). Following Code has been tested in a Dev Org and in a Sandbox.
asset a = new Asset ( Name = 'Product Type C', ProductFamily = 'Licence' ); insert a;
I receive the error:
Invalid field ProductFamily for SObject Asset
I checked the Object Fields in the UI:
Then I went into the Workbench and was very surprised not to find ProductFamily on the Asset Object. It does not show up
Nor does it show in the SOAP Api Documentation.
I can pull the field on the Asset Layout, but I did not manage to get it to show up. It is displayed readonly if I check layout properties. So I assumed that it might get pulled from Product2. It did not during my tests.
It's not a big issue, I will use a custom picklist field instead - but I was wondering if somebody could illucidate me on how/when/why Asset.ProductFamily can be edited, shown on Page Layout, etc