Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2001 by Anne E. Ristau Descriptive Flexfields OAUG Training Anne Ristau Jeanne McDonald.

Similar presentations


Presentation on theme: "Copyright © 2001 by Anne E. Ristau Descriptive Flexfields OAUG Training Anne Ristau Jeanne McDonald."— Presentation transcript:

1 Copyright © 2001 by Anne E. Ristau Descriptive Flexfields OAUG Training Anne Ristau Jeanne McDonald

2 Copyright © 2001 by Anne E. Ristau Agenda n n Why Descriptive Flexfields - Lecture n Quick Example n n Planning - Audience Workshop n n Registration - Demo n n More Planning - Audience Workshop n n 20 Minute Break

3 Copyright © 2001 by Anne E. Ristau Agenda cont. n n Definition - Demo n Value Sets n Segments n n Testing - Demo n n Data Storage / Retrieval - Lecture n n Questions & Comments

4 Copyright © 2001 by Anne E. Ristau Why Descriptive Flexfields n n Customers require more data to be stored than what Oracle provides n n Oracle gave us additional space in most tables to store this data n n Descriptive Flexfields will survive an upgrade n n You dont need to be a programmer :)

5 Copyright © 2001 by Anne E. Ristau Planning n n DFF space is finite, use wisely n n Does a DFF exist for your TABLE n forms look for [ ] n TRM n DFF registration n n DFFs are associated with a table NOT a form

6 Copyright © 2001 by Anne E. Ristau Registration n n Query by the Table Name n learn the number of user defined flexfields for the table n record the Name of the Flexfield n learn the number of columns available for storage n learn which reference fields are available

7 Copyright © 2001 by Anne E. Ristau More Planning n Use Paper and Pencil n What needs to be stored n Where will the data come from n Is the data n Global n Context Sensitive n Data validation, size, security

8 Copyright © 2001 by Anne E. Ristau How to validate the data n Already in Oracle Database (TABLE) n employee names n Free format typing (NONE) n phone numbers n comments n I need to make a list (INDEPENDENT or DEPENDENT)

9 Copyright © 2001 by Anne E. Ristau Global vs Context Sensitive n n Global Data Elements mean the question will be asked for every occurrence of the Descriptive Flexfield. n Context Sensitive Elements are questions asked depending on the answer to some other question. This other question can use a Reference field from above for its answer.

10 Copyright © 2001 by Anne E. Ristau Assignment My company has decided that we would like to know the make, model, and color of car the CFO of this set of books drives. I would like to know which state the CFO resides. If they live in Colorado I would like to know if they are a Bronco fan. If they live in Missouri I want to know if they are a Chiefs or Rams fan

11 Copyright © 2001 by Anne E. Ristau Global or Context Sensitive? n Make n Model n Color of Car n Colorado n Missouri n Bronco Fan n Cheifs Fan n Rams Fan

12 Copyright © 2001 by Anne E. Ristau Data format, size, security, validation n Data Formating n character n numbers only n right justify zero fill 0003 n uppercase n date n Minimum and Maximum values n numbers n precision (place to right of decimal) n Minimum and Maximum values

13 Copyright © 2001 by Anne E. Ristau Data format, size, security, validation n Size n Minimum and Maximum values n Value Security based on Responsibility n More than 100 values n Validation Type n None n Independant n Dependant n Table

14 Copyright © 2001 by Anne E. Ristau Data format, size, security, validation, global, context sensitive n Make n Model n Color of Car n Colorado n Bronco Fan n Missouri n Cheifs Fan n Rams Fan

15 Copyright © 2001 by Anne E. Ristau Do I have enough room n Make n Model n Color of Car n Colorado n Bronco Fan n Missouri n Cheifs Fan n Rams Fan n attribute1 n attribute2 n attribute3 n context n attribute4 n context n attribute4 n attribute5

16 Copyright © 2001 by Anne E. Ristau 20 Minute Break

17 Copyright © 2001 by Anne E. Ristau Definition - Value Sets n Is there an existing value set n Document n Follow standards n CUSTOM PREFIX n UPPER CASE NAMES n ONE WORD n OAUG_MAKES_OF_CARS

18 Copyright © 2001 by Anne E. Ristau Definition - Segments n Use a worksheet first (save this) n Document n record the view name xxxx_DFV n Do not make mistakes - take your time n Disable no deletion n EVERY field must have a value n Freeze when complete

19 Copyright © 2001 by Anne E. Ristau Testing n Log onto the form and validate the DFF n Use the TEST form (this is not my favorite method) n If possible look at the database values n Then move to production

20 Copyright © 2001 by Anne E. Ristau Data Storage / Retrieval n Oracle designed DFFs for your convience in storage. They do not provide retrieval reports! n Code using the view NOT the table itself

21 Copyright © 2001 by Anne E. Ristau Base Table GL_SETS_OF_BOOKS set_of_books_id, name, attribute_category, attribute1, attribute2, attribute3, attribute4, attribute5 ROWID is a hidden field of all tables

22 Copyright © 2001 by Anne E. Ristau DFF View GL_SETS_OF_BOOKS_DFV Row_ID Make Model Color CO Bronco_Fan MO Chief_Fan Ram_Fan

23 Copyright © 2001 by Anne E. Ristau DFF View and BaseTable SELECT T.TABLE_COLUMNS, V.DFF_COLUMNS FROM BASE_TABLE T, BASE_TABLE_DFV V WHERE V.ROW_ID = T.ROWID

24 Copyright © 2001 by Anne E. Ristau Questions and Comments


Download ppt "Copyright © 2001 by Anne E. Ristau Descriptive Flexfields OAUG Training Anne Ristau Jeanne McDonald."

Similar presentations


Ads by Google