Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on demand cfields
- c_f_id = Account.find(ID),configurations.where(model_type: 'dispatch_guides').custom_field_type_ids
- CustomFieldType.find(c_f_id)
- cambiar si no tiene
- Account.find(1),configurations.where(model_type: 'dispatch_guides').first.update(custom_field_type_ids: [1147])
- ver si existe custom_field
- CustomField.where(custom_field_type_id: c_f_id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement