Hi all, I need to hide custom fields from transact...
# sdf
b
Hi all, I need to hide custom fields from transaction of type
bill
So I disabled
bodypurchase
and
bodyvendorpayment
in the object definition like here
Copy code
<transactionbodycustomfield scriptid="custbody_some_name">
    <accesslevel>2</accesslevel>
    <displaytype>STATICTEXT</displaytype>
    <fieldtype>SELECT</fieldtype>
    <selectrecordtype>-4</selectrecordtype>
    <label>Some Label</label>
    <storevalue>F</storevalue>
    <bodypurchase>F</bodypurchase>
    <bodyvendorpayment>F</bodyvendorpayment>
    <bodyexpensereport>T</bodyexpensereport>
    <subtab>[custtab_some_name]</subtab>
</transactionbodycustomfield>
But those fields are still present in the record. Seems like fields already present, can’t be removed. Is that how it’s supposed to work?
m
The fields will be in the record unless you delete them from the custom record itself. You can hide them on forms so no one sees them. You'd need to edit the field from the custom record and delete it there. It probably won't let you if they're being used by other records, workflows, scripts, etc.
b
The problem is I can’t edit the form manually as this app will be bundled and used by many other. I also don’t think I can remove the field as it needs to show up in other record types.