Custom fields

29-10-2019
Create a custom field from a plugin in another plugin: ``` system.addCustomField({ entity: "contacts.contact", name: "taxpayernumber", label: T("@@NĂºmero de contribuyente"), type: system.FieldType.string, size: 30 }) ``` Update a value from another plugin: ``` runtime.exec("contacts.updateCustomField", "contact", "myplugin_taxpayernumber", [id], id) ``` The signature is: ``` export function updateCustomField(entityName: string, property: string, ids: number[], value: any) : void ```