April 6, 2017

Flex fields

OTM provides attribute fields(Char, Number, Date and currency) on each table to store custom data. Note that we can also use refnum/remarks to store this custom data but those entries are made in separate tables. So new versions of OTM introduced these attribute columns on almost all major transaction data tables like ORDER_RELEASE, SHIPMENT etc.

We can define flex fields on these attribute columns and add these fields to required manager layouts so that users can enter data directly into these fields from UI.

If you are creating a manager layout on Order Release, and want to have Contact ID(not a standard column on Order Release) as a field to Order Release screen(layout) you can do following:
  1. Login as domain ADMIN
  2. Goto Configuration and Administration > User Configuration > Flex Field Definition > New
  3. Enter details as below: Field Type=FlexDropList and Query to pull contact IDs from CONTACT table as shown  above.
  4. Now when you add this field on the manager layout, it will display this list of values as shown:
You can also have Picklist to associate flex field to standard fields like country code as shown below:



Note Field Type=PickList and Query Table ID=SERVPROV as shown above.









3 comments:

  1. Great blog for OTM learner...Thanks to this presenter!!!

    ReplyDelete
  2. It is not working. like the way you are showing.

    ReplyDelete
  3. Great work. Thanks a lot.

    ReplyDelete