FlexField Guide

download FlexField Guide

of 292

Transcript of FlexField Guide

  • 8/6/2019 FlexField Guide

    1/292

    O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e

    R e l e a s e 1 1 i

    P a r t N o . A 7 5 3 9 3 - 0 6

    J u n e 2 0 0 6

  • 8/6/2019 FlexField Guide

    2/292

    O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e , R e l e a s e 1 1 i

    P a r t N o . A 7 5 3 9 3 - 0 6

    C o p y r i g h t 1 9 9 4 , 2 0 0 6 , O r a c l e . A l l r i g h t s r e s e r v e d .

    P r i m a r y A u t h o r : M i l d r e d W a n g , S a r a W o o d h u l l

    C o n t r i b u t i n g A u t h o r : G u r s a t O l g u n

    C o n t r i b u t o r : G r e g o r y A s h f o r d , A n n e C a r l s o n , S t e v e n C a r t e r , H

    G o d w i n , M o l l y M c L o u t h , V i k a s S o o l a p a n i , S u s a n S t r a t t o n , S e n t T h e P r o g r a m s ( w h i c h i n c l u d e b o t h t h e s o f t w a r e a n d d o c u m e n t a t a r e p r o v i d e d u n d e r a l i c e n s e a g r e e m e n t c o n t a i n i n g r e s t r i c t i o n s o b y c o p y r i g h t , p a t e n t , a n d o t h e r i n t e l l e c t u a l a n d i n d u s t r i a l p r o p e ro r d e c o m p i l a t i o n o f t h e P r o g r a m s , e x c e p t t o t h e e x t e n t r e q u i r e d ti n d e p e n d e n t l y c r e a t e d s o f t w a r e o r a s s p e c i e d b y l a w , i s p r o h i b i

    T h e i n f o r m a t i o n c o n t a i n e d i n t h i s d o c u m e n t i s s u b j e c t t o c h a n g e i n t h e d o c u m e n t a t i o n , p l e a s e r e p o r t t h e m t o u s i n w r i t i n g . T h i s d oE x c e p t a s m a y b e e x p r e s s l y p e r m i t t e d i n y o u r l i c e n s e a g r e e m e n t fm a y b e r e p r o d u c e d o r t r a n s m i t t e d i n a n y f o r m o r b y a n y m e a n s , e

    I f t h e P r o g r a m s a r e d e l i v e r e d t o t h e U n i t e d S t a t e s G o v e r n m e n t o r b e h a l f o f t h e U n i t e d S t a t e s G o v e r n m e n t , t h e f o l l o w i n g n o t i c e i s a

    U . S . G O V E R N M E N T R I G H T S P r o g r a m s , s o f t w a r e , d a t a b a s e s , a n d r e l a t e d d o c u m e n t a t i o n a n d t

    c u s t o m e r s a r e " c o m m e r c i a l c o m p u t e r s o f t w a r e " o r " c o m m e r c i a l F e d e r a l A c q u i s i t i o n R e g u l a t i o n a n d a g e n c y - s p e c i c s u p p l e m e n td i s c l o s u r e , m o d i c a t i o n , a n d a d a p t a t i o n o f t h e P r o g r a m s , i n c l u d b e s u b j e c t t o t h e l i c e n s i n g r e s t r i c t i o n s s e t f o r t h i n t h e a p p l i c a b l e Oa p p l i c a b l e , t h e a d d i t i o n a l r i g h t s s e t f o r t h i n F A R 5 2 . 2 2 7 - 1 9 , C o m ( J u n e 1 9 8 7 ) . O r a c l e C o r p o r a t i o n , 5 0 0 O r a c l e P a r k w a y , R e d w o o d

    T h e P r o g r a m s a r e n o t i n t e n d e d f o r u s e i n a n y n u c l e a r , a v i a t i o n , m d a n g e r o u s a p p l i c a t i o n s . I t s h a l l b e t h e l i c e n s e e ' s r e s p o n s i b i l i t y t o t a k e a l l a p p r o p r i a t e f ar e d u n d a n c y a n d o t h e r m e a s u r e s t o e n s u r e t h e s a f e u s e o f s u c h a p pp u r p o s e s , a n d w e d i s c l a i m l i a b i l i t y f o r a n y d a m a g e s c a u s e d b y s u

    T h e P r o g r a m s m a y p r o v i d e l i n k s t o W e b s i t e s a n d a c c e s s t o c o n t e O r a c l e i s n o t r e s p o n s i b l e f o r t h e a v a i l a b i l i t y o f , o r a n y c o n t e n t p r oa l l r i s k s a s s o c i a t e d w i t h t h e u s e o f s u c h c o n t e n t . I f y o u c h o o s e t o pt h i r d p a r t y , t h e r e l a t i o n s h i p i s d i r e c t l y b e t w e e n y o u a n d t h e t h i r d q u a l i t y o f t h i r d - p a r t y p r o d u c t s o r s e r v i c e s ; o r ( b ) f u l l l i n g a n y o fp a r t y , i n c l u d i n g d e l i v e r y o f p r o d u c t s o r s e r v i c e s a n d w a r r a n t y o bs e r v i c e s . O r a c l e i s n o t r e s p o n s i b l e f o r a n y l o s s o r d a m a g e o f a n y s t h i r d p a r t y .

    O r a c l e , J D E d w a r d s , P e o p l e S o f t , a n d S i e b e l a r e r e g i s t e r e d t r a d e ma f l i a t e s . O t h e r n a m e s m a y b e t r a d e m a r k s o f t h e i r r e s p e c t i v e o w

  • 8/6/2019 FlexField Guide

    3/292

    C o n t e

    S e n d U s Y o u r C o m m e n t s

    P r e f a c e

    1 F l e x e l d C o n c e p t s O v e r v i e w o f F l e x e l d C o n c e p t s . . . . . . . . . . . . . . . . . . . . . . . .

    K e y F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D e s c r i p t i v e F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . . B e n e t s o f F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . . B a s i c F l e x e l d s C o n c e p t s . . . . . . . . . . . . . . . . . . . . . . . . . .

    O v e r v i e w o f S e t t i n g U p F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . P l a n n i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D a t a E n t r y a n d O n g o i n g M a i n t e n a n c e . . . . . . . . . . . . . . . . . . . . . R e p o r t i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    W a r n i n g A b o u t C h a n g i n g D a t a . . . . . . . . . . . . . . . . . . . . . . . . . T y p e s o f F l e x e l d s I n f o r m a t i o n . . . . . . . . . . . . . . . . . . . . . . . . .

    2 P l a n n i n g a n d D e n i n g K e y F l e x e l d s A d d i t i o n a l T e r m s a n d C o n c e p t s f o r K e y F l e x e l d s . . . . . . . . . . . . . . . . . .

    I n t e l l i g e n t K e y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .C o m b i n a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C o m b i n a t i o n s T a b l e . . . . . . . . . . . . . . . . . . . . . . . . . . . Q u a l i e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T y p e s o f K e y F l e x e l d F o r m s . . . . . . . . . . . . . . . . . . . . . . . . D y n a m i c I n s e r t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . O t h e r K e y F l e x e l d F e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . .

    P l a n n i n g Y o u r K e y F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . .K e y F l e x e l d S t r u c t u r e P l a n n i n g D i a g r a m . . . . . . . . . . . . . . . . . . . .

    K e y F l e x e l d S e g m e n t s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g K e y F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g K e y F l e x e l d S t r u c t u r e s . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g S e g m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . C h o o s i n g Y o u r V a l u e S e t . . . . . . . . . . . . . . . . . . . . . . . . . .D e f a u l t i n g S e g m e n t V a l u e s . . . . . . . . . . . . . . . . . . . . . . . . .

    i i i

  • 8/6/2019 FlexField Guide

    4/292

    S e g m e n t P r o m p t s a n d D i s p l a y L e n g t h s . . . . . . . . . . . . . . . . . . . . . . 2 F l e x e l d Q u a l i e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R e p o r t i n g A t t r i b u t e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R e p o r t i n g A t t r i b u t e s Z o n e . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3 P l a n n i n g a n d D e n i n g D e s c r i p t i v e F l e x e l d s D e s c r i p t i v e F l e x e l d C o n c e p t s . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    H o w S e g m e n t s U s e U n d e r l y i n g C o l u m n s . . . . . . . . . . . . . . . . . . . . . . 3C o n t e x t F i e l d s a n d R e f e r e n c e F i e l d s . . . . . . . . . . . . . . . . . . . . . . . . . .

    C o n t e x t F i e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .U s i n g V a l u e S e t s W i t h C o n t e x t F i e l d s . . . . . . . . . . . . . . . . . . . . . . . . R e f e r e n c e F i e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .O t h e r D e s c r i p t i v e F l e x e l d F e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . .

    D i f f e r e n t A r r a n g e m e n t s o f S e g m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . P l a n n i n g Y o u r D e s c r i p t i v e F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . 3D e s c r i p t i v e F l e x e l d S e g m e n t s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . 3

    D e n i n g D e s c r i p t i v e F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g D e s c r i p t i v e F l e x e l d S t r u c t u r e s . . . . . . . . . . . . . . . . . . . . . 3 -C o n t e x t F i e l d V a l u e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    I d e n t i f y i n g D e s c r i p t i v e F l e x e l d s i n O r a c l e A p p l i c a t i o n s . . . . . . . . . . . . . . . 3 - 2 4I d e n t i f y i n g D e s c r i p t i v e F l e x e l d s . . . . . . . . . . . . . . . . . . . . . . . . . 3

    4 V a l u e s a n d V a l u e S e t s O v e r v i e w o f V a l u e s a n d V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . .

    P l a n n i n g V a l u e s a n d V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . . C h o o s i n g V a l u e F o r m a t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    V a l u e F o r m a t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D e c i d e W h a t Y o u r U s e r N e e d s . . . . . . . . . . . . . . . . . . . . . . . . . . C h o o s i n g a V a l i d a t i o n T y p e f o r Y o u r V a l u e S e t . . . . . . . . . . . . . . . . . . . 4 - P l a n V a l u e s t o U s e R a n g e F e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . 4V a l u e S e t N a m i n g C o n v e n t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . 4P r e d e n e d V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g V a l u e s a n d V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . . R e l a t i o n s h i p B e t w e e n I n d e p e n d e n t a n d D e p e n d e n t V a l u e s . . . . . . . . . . . . . 4 - 1 9P a r e n t a n d C h i l d V a l u e s a n d R o l l u p G r o u p s . . . . . . . . . . . . . . . . . . . . 4 -

    O v e r v i e w o f I m p l e m e n t i n g T a b l e - V a l i d a t e d V a l u e S e t s . . . . . . . . . . . . . . . . 4 - 2U s i n g V a l i d a t i o n T a b l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D e n i n g Y o u r V a l i d a t i o n T a b l e . . . . . . . . . . . . . . . . . . . . . . . . . 4C r e a t i n g G r a n t s a n d S y n o n y m s f o r Y o u r T a b l e . . . . . . . . . . . . . . . . . . . 4 - W H E R E C l a u s e s a n d B i n d V a r i a b l e s f o r V a l i d a t i o n T a b l e s . . . . . . . . . . . . . . 4 - 2 5B i n d V a r i a b l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .E x a m p l e o f $ F L E X $ S y n t a x . . . . . . . . . . . . . . . . . . . . . . . . . . .

    U s i n g T r a n s l a t a b l e I n d e p e n d e n t a n d T r a n s l a t a b l e D e p e n d e n t V a l u . . . . . . . . 4 - 2 9 I m p l e m e n t a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .L i m i t a t i o n s o n T r a n s l a t a b l e V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . 4

    i v

  • 8/6/2019 FlexField Guide

    5/292

    C o n v e r t i n g I n d e p e n d e n t / D e p e n d e n t V a l u e S e t s t o TV a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    U s i n g S p e c i a l a n d P a i r V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . D e f a u l t i n g F l e x e l d V a l u e s . . . . . . . . . . . . . . . . . . . . . . . . . . .

    P r e c e d e n c e o f D e f a u l t V a l u e s , S h o r t h a n d E n t r y V a l u4 - 3 3 C h a n g i n g t h e V a l u e S e t o f a n E x i s t i n g F l e x e l d S e g m . . . . . . . . . . . . . . . V a l u e S e t W i n d o w s . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    O v e r v i e w o f V a l u e S e t W i n d o w s . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . D e p e n d e n t V a l u e S e t I n f o r m a t i o n W i n d o w . . . . . . . . . . . . . . . . . . . .V a l i d a t i o n T a b l e I n f o r m a t i o n W i n d o w . . . . . . . . . . . . . . . . . . . . . S p e c i a l V a l i d a t i o n R o u t i n e s W i n d o w . . . . . . . . . . . . . . . . . . . . . .V a l u e S e t U s a g e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    S e g m e n t V a l u e s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . .S e g m e n t V a l u e s B l o c k . . . . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g S e g m e n t V a l u e s . . . . . . . . . . . . . . . . . . . . . . . . . .

    D e n i n g H i e r a r c h y a n d Q u a l i e r s I n f o r m a t i o n . . . . . . . . . . . . . . . . . . .

    Q u a l i e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H i e r a r c h y D e t a i l s B u t t o n s . . . . . . . . . . . . . . . . . . . . . . . . . .D e n e C h i l d R a n g e s . . . . . . . . . . . . . . . . . . . . . . . . . . . V i e w H i e r a r c h i e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . M o v e C h i l d R a n g e s . . . . . . . . . . . . . . . . . . . . . . . . . . .

    R o l l u p G r o u p s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g R o l l u p G r o u p s . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5 U s i n g A d d i t i o n a l F l e x e l d F e a t u r e s O v e r v i e w o f S h o r t h a n d F l e x e l d E n t r y . . . . . . . . . . . . . . . . . . . . . .

    E n a b l i n g S h o r t h a n d E n t r y . . . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g S h o r t h a n d A l i a s e s . . . . . . . . . . . . . . . . . . . . . . . . . D i s a b l i n g o r E n a b l i n g a S h o r t h a n d A l i a s . . . . . . . . . . . . . . . . . . . .

    O v e r v i e w o f F l e x e l d V a l u e S e c u r i t y . . . . . . . . . . . . . . . . . . . . . . .E f f e c t s o f F l e x e l d V a l u e S e c u r i t y . . . . . . . . . . . . . . . . . . . . . . .U n d e r s t a n d i n g F l e x e l d V a l u e S e c u r i t y . . . . . . . . . . . . . . . . . . . . . A c t i v a t i n g F l e x e l d V a l u e S e c u r i t y . . . . . . . . . . . . . . . . . . . . . . .

    D e n e S e c u r i t y R u l e s W i n d o w a n d A s s i g n S e c u r i t y R u l e s W i n . . . . . . . . . . 5D e n i n g S e c u r i t y R u l e s . . . . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g S e c u r i t y R u l e E l e m e n t s . . . . . . . . . . . . . . . . . . . . . . . .A s s i g n i n g S e c u r i t y R u l e s . . . . . . . . . . . . . . . . . . . . . . . . . .

    C r o s s - V a l i d a t i o n R u l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . H o w C r o s s - V a l i d a t i o n W o r k s . . . . . . . . . . . . . . . . . . . . . . . . D e s i g n i n g Y o u r C r o s s - V a l i d a t i o n R u l e s . . . . . . . . . . . . . . . . . . . . . M a i n t a i n i n g Y o u r C r o s s - V a l i d a t i o n R u l e s a n d V a l i d C o m b i n. . . . . . . . . . 5R e p o r t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    C r o s s - V a l i d a t i o n R u l e s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . D e n i n g C r o s s - v a l i d a t i o n R u l e s . . . . . . . . . . . . . . . . . . . . . . . .

    v

  • 8/6/2019 FlexField Guide

    6/292

    D e n i n g C r o s s - v a l i d a t i o n R u l e E l e m e n t s . . . . . . . . . . . . . . . . . . . . . 5 -

    6 K e y F l e x e l d s i n O r a c l e A p p l i c a t i o n s O v e r v i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .K e y F l e x e l d s b y F l e x e l d N a m e . . . . . . . . . . . . . . . . . . . . . . . . . . .

    K e y F l e x e l d s b y O w n i n g A p p l i c a t i o n . . . . . . . . . . . . . . . . . . . . . . . . T a b l e s o f I n d i v i d u a l K e y F l e x e l d s i n O r a c l e A p p l i c a t i o n . . . . . . . . . . . . . . . . 6 - 5A c c o u n t A l i a s e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A c c o u n t i n g F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A s s e t K e y F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B a n k D e t a i l s K e y F l e x F i e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C a t e g o r y F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .C o s t A l l o c a t i o n F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G r a d e F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I t e m C a t a l o g s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I t e m C a t e g o r i e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    J o b F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .L o c a t i o n F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .P e o p l e G r o u p F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P e r s o n a l A n a l y s i s F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P o s i t i o n F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .S a l e s O r d e r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S a l e s T a x L o c a t i o n F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . O r a c l e S e r v i c e I t e m F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . S o f t C o d e d K e y F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S t o c k L o c a t o r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S y s t e m I t e m s ( I t e m F l e x e l d ) . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    T e r r i t o r y F l e x e l d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    7 S t a n d a r d R e q u e s t S u b m i s s i o n O v e r v i e w o f F l e x e l d s a n d S t a n d a r d R e q u e s t S u b m i s s i o n . . . . . . . . . . . . . . . . 7 - 1

    P l a n n i n g Y o u r R e p o r t P a r a m e t e r s . . . . . . . . . . . . . . . . . . . . . . . . . U s i n g F l e x e l d I n f o r m a t i o n i n Y o u r R e p o r t P a r a m e t e r s . . . . . . . . . . . . . . . . 7 - 3R e p o r t P a r a m e t e r W i n d o w P l a n n i n g D i a g r a m s . . . . . . . . . . . . . . . . . . . . 7

    8 R e p o r t i n g o n F l e x e l d s D a t a O v e r v i e w o f R e p o r t i n g o n F l e x e l d s D a t a . . . . . . . . . . . . . . . . . . . . . . . 8

    O v e r v i e w o f F l e x e l d V i e w s . . . . . . . . . . . . . . . . . . . . . . . . . . . . .K e y F l e x e l d C o n c a t e n a t e d S e g m e n t V i e w . . . . . . . . . . . . . . . . . . . . . 8K e y F l e x e l d S t r u c t u r e V i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . .D e s c r i p t i v e F l e x e l d V i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . .C r e a t i n g a F l e x e l d V i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . .S e g m e n t N a m i n g C o n v e n t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . U s i n g F l e x e l d V i e w s t o W r i t e a R e p o r t . . . . . . . . . . . . . . . . . . . . . . . 8

    v i

  • 8/6/2019 FlexField Guide

    7/292

    E x a m p l e s o f F l e x e l d V i e w s . . . . . . . . . . . . . . . . . . . . . . . . . .K e y F l e x e l d V i e w s E x a m p l e s . . . . . . . . . . . . . . . . . . . . . . . . D e s c r i p t i v e F l e x e l d V i e w E x a m p l e . . . . . . . . . . . . . . . . . . . . . .

    O r a c l e R e p o r t s 6 . 0 F l e x e l d S u p p o r t A P I . . . . . . . . . . . . . . . . . . . . . .G e n e r a l M e t h o d o l o g y . . . . . . . . . . . . . . . . . . . . . . . . . . .

    B a s i c I m p l e m e n t a t i o n S t e p s . . . . . . . . . . . . . . . . . . . . . . . . . F N D F L E X S Q L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .F N D F L E X I D V A L . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    O r a c l e R e p o r t s a n d F l e x e l d s R e p o r t - W r i t i n g S t e p s . . . . . . . . . . . . . . . . . . F l e x e l d R e p o r t E x a m p l e s . . . . . . . . . . . . . . . . . . . . . . . . . . .

    R e p o r t 1 : S i m p l e T a b u l a r R e p o r t . . . . . . . . . . . . . . . . . . . . . . . .R e p o r t 2 : S i m p l e T a b u l a r R e p o r t W i t h M u l t i p l e S t r u. . . . . . . . . . . . . . R e p o r t 3 : T a b u l a r R e p o r t . . . . . . . . . . . . . . . . . . . . . . . . . .R e p o r t 4 : M a s t e r - D e t a i l R e p o r t . . . . . . . . . . . . . . . . . . . . . . . . R e p o r t 5 : M a s t e r - d e t a i l R e p o r t o n M u l t i p l e S t r u c t u r. . . . . . . . . . . . . . . .

    9 K e y F l e x e l d R o u t i n e s f o r S p e c i a l V a l i d a t i o n S y n t a x f o r K e y F l e x e l d R o u t i n e s . . . . . . . . . . . . . . . . . . . . . . . . S p e c i a l V a l i d a t i o n V a l u e S e t s . . . . . . . . . . . . . . . . . . . . . . . . . .

    S p e c i a l V a l i d a t i o n E v e n t s . . . . . . . . . . . . . . . . . . . . . . . . . .D e n i n g Y o u r S p e c i a l V a l i d a t i o n F u n c t i o n . . . . . . . . . . . . . . . . . . . . E x a m p l e o f S p e c i a l V a l i d a t i o n . . . . . . . . . . . . . . . . . . . . . . . . E x a m p l e o f S p e c i a l V a l i d a t i o n f o r a S i n g l e S e g m e n t . . . . . . . . . . . . . . . . . E x a m p l e o f P a i r V a l i d a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . U s i n g V a r i a b l e s w i t h S p e c i a l a n d P a i r V a l i d a t i o n . . . . . . . . . . . . . . . . . .

    1 0 A c c o u n t G e n e r a t o r O v e r v i e w o f t h e A c c o u n t G e n e r a t o r . . . . . . . . . . . . . . . . . . . . . . . .

    T e r m s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A c c o u n t G e n e r a t o r P r o c e s s D i a g r a m . . . . . . . . . . . . . . . . . . . . . .H o w t h e A c c o u n t G e n e r a t o r W o r k s . . . . . . . . . . . . . . . . . . . . . . .W h e r e t h e A c c o u n t G e n e r a t o r D e r i v e s S e g m e n t V a l u e s . . . . . . . . . . . . . . .

    T h e A c c o u n t G e n e r a t o r i n O r a c l e A p p l i c a t i o n s . . . . . . . . . . . . . . . . . . . .O v e r v i e w o f I m p l e m e n t i n g t h e A c c o u n t G e n e r a t o r . . . . . . . . . . . . . . . . . . C u s t o m i z i n g t h e A c c o u n t G e n e r a t o r . . . . . . . . . . . . . . . . . . . . . . . .

    D e t e r m i n e C h a r a c t e r i s t i c s o f C o m b i n a t i o n . . . . . . . . . . . . . . . . . . . . D e c i d e F r o m W h e r e E a c h S e g m e n t D e r i v e s I t s V a l u . . . . . . . . . . . . . . . .

    M o d i f y Y o u r A c c o u n t G e n e r a t o r P r o c e s s . . . . . . . . . . . . . . . . . . . . T e s t Y o u r A c c o u n t G e n e r a t o r S e t u p . . . . . . . . . . . . . . . . . . . . . . . .S t a n d a r d F l e x e l d W o r k o w . . . . . . . . . . . . . . . . . . . . . . . . . .C o n v e r t i n g f r o m F l e x B u i l d e r . . . . . . . . . . . . . . . . . . . . . . . . . .C h o o s i n g t h e P r o c e s s f o r a F l e x e l d S t r u c t u r e . . . . . . . . . . . . . . . . . . . .

    v i i

  • 8/6/2019 FlexField Guide

    8/292

    A B u s i n e s s V i e w G e n e r a t o r B u s i n e s s V i e w G e n e r a t o r f o r O r a c l e B u s i n e s s I n t e l l i g e n c . . . . . . . . . . . . A - 1

    I n d e x

    v i i i

  • 8/6/2019 FlexField Guide

    9/292

    S e n d U s Y o u r C

    O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e , R e l e a s e 1 1 i P a r t N o . A 7 5 3 9 3 - 0 6

    O r a c l e w e l c o m e s c u s t o m e r s ' c o m m e n t s a n d s u g g e s t i o n s Y o u r f e e d b a c k i s i m p o r t a n t , a n d h e l p s u s t o b e s t m e e t y o u

    A r e t h e i m p l e m e n t a t i o n s t e p s c o r r e c t a n d c o m p l e t e ? D i d y o u u n d e r s t a n d t h e c o n t e x t o f t h e p r o c e d u r e s ?

    D i d y o u n d a n y e r r o r s i n t h e i n f o r m a t i o n ? D o e s t h e s t r u c t u r e o f t h e i n f o r m a t i o n h e l p y o u w i t h y o D o y o u n e e d d i f f e r e n t i n f o r m a t i o n o r g r a p h i c s ? I f s o , w A r e t h e e x a m p l e s c o r r e c t ? D o y o u n e e d m o r e e x a m p l e

    I f y o u n d a n y e r r o r s o r h a v e a n y o t h e r s u g g e s t i o n s f o r i mn a m e o f t h e c o m p a n y w h o h a s l i c e n s e d o u r p r o d u c t s , t h e t h e c h a p t e r , s e c t i o n , a n d p a g e n u m b e r ( i f a v a i l a b l e ) .

    N o t e : B e f o r e s e n d i n g u s y o u r c o m m e n t s , y o u m i g h t l i k e td o c u m e n t a n d i f a n y c o n c e r n s a r e a l r e a d y a d d r e s s e d . T o O n l i n e D o c u m e n t a t i o n C D a v a i l a b l e o n O r a c l e M e t a L i n c u r r e n t D o c u m e n t a t i o n L i b r a r y p l u s a l l d o c u m e n t s r e v i s

    S e n d y o u r c o m m e n t s t o u s u s i n g t h e e l e c t r o n i c m a i l a d d r

    P l e a s e g i v e y o u r n a m e , a d d r e s s , e l e c t r o n i c m a i l a d d r e s s ,

    I f y o u n e e d a s s i s t a n c e w i t h O r a c l e s o f t w a r e , t h e n p l e a s e cS u p p o r t S e r v i c e s .

    I f y o u r e q u i r e t r a i n i n g o r i n s t r u c t i o n i n u s i n g O r a c l e s o f t o f c e a n d i n q u i r e a b o u t o u r O r a c l e U n i v e r s i t y o f f e r i n g s .s i t e a t w w w . o r a c l e . c o m .

    i x

  • 8/6/2019 FlexField Guide

    10/292

  • 8/6/2019 FlexField Guide

    11/292

    P r e f a

    I n t e n d e d A u d i e n c e W e l c o m e t o R e l e a s e 1 1 i o f t h e O r a c l e A p p l i c a t i o n s F l e x e l d s G u.

    T h i s g u i d e a s s u m e s y o u h a v e a w o r k i n g k n o w l ep r a c t i c e s o f y o u r b u s i n e s s a r e a . I f y o u h a v e n e v ey o u a t t e n d o n e o r m o r e o f t h e O r a c l e A p p l i c a t i o c l a s s e s a v a i l a b l e t h r o u g h O r a c l e U n i v e r s i t y . ( S ei n f o r m a t i o n a b o u t O r a c l e t r a i n i n g . )

    T h i s g u i d e a l s o a s s u m e s y o u a r e f a m i l i a r w i t h t hi n t e r f a c e . T o l e a r n m o r e a b o u t t h e O r a c l e A p p l i O r a c l e A p p l i c a t i o n s U s e r s G u i d e .

    S e e O t h e r I n f o r m a t i o n S o u r c e s f o r m o r e i n f o r m i n f o r m a t i o n .

    S e e R e l a t e d I n f o r m a t i o n S o u r c e s o n p a g e x i i f o ri n f o r m a t i o n .

    T T Y A c c e s s t o O r a c l e S u p p o r t S e r v i c eO r a c l e p r o v i d e s d e d i c a t e d T e x t T e l e p h o n e ( T T Yw i t h i n t h e U n i t e d S t a t e s o f A m e r i c a 2 4 h o u r s a d c a l l 8 0 0 . 4 4 6 . 2 3 9 8 .

    D o c u m e n t a t i o n A c c e s s i b i l i t y O u r g o a l i s t o m a k e O r a c l e p r o d u c t s , s e r v i c e s , a w i t h g o o d u s a b i l i t y , t o t h e d i s a b l e d c o m m u n i t y i n c l u d e s f e a t u r e s t h a t m a k e i n f o r m a t i o n a v a i l a bT h i s d o c u m e n t a t i o n i s a v a i l a b l e i n H T M L f o r m a c c e s s b y t h e d i s a b l e d c o m m u n i t y . A c c e s s i b i l i t t i m e , a n d O r a c l e i s a c t i v e l y e n g a g e d w i t h o t h e r a d d r e s s t e c h n i c a l o b s t a c l e s s o t h a t o u r d o c u m e n

    c u s t o m e r s . F o r m o r e i n f o r m a t i o n , v i s i t t h e O r a ch t t p : / / w w w . o r a c l e . c o m / a c c e s s i b i l i t y / .

    A c c e s s i b i l i t y o f C o d e E x a m p l e s i n D o c u m e n tS c r e e n r e a d e r s m a y n o t a l w a y s c o r r e c t l y r e a d t h c o n v e n t i o n s f o r w r i t i n g c o d e r e q u i r e t h a t c l o s i n e m p t y l i n e ; h o w e v e r , s o m e s c r e e n r e a d e r s m a y ns o l e l y o f a b r a c k e t o r b r a c e .

    x i

  • 8/6/2019 FlexField Guide

    12/292

    A c c e s s i b i l i t y o f L i n k s t o E x t e r n a l W e b S i t e s i n D oT h i s d o c u m e n t a t i o n m a y c o n t a i n l i n k s t o W e b s i t e s ot h a t O r a c l e d o e s n o t o w n o r c o n t r o l . O r a c l e n e i t h e r r e p r e s e n t a t i o n s r e g a r d i n g t h e a c c e s s i b i l i t y o f t h e s e

    S t r u c t u r e 1 F l e x e l d C o n c e p t s 2 P l a n n i n g a n d D e n i n g K e y F l e x e l d s 3 P l a n n i n g a n d D e n i n g D e s c r i p t i v e F l e x e l d s 4 V a l u e s a n d V a l u e S e t s 5 U s i n g A d d i t i o n a l F l e x e l d F e a t u r e s 6 K e y F l e x e l d s i n O r a c l e A p p l i c a t i o n s 7 S t a n d a r d R e q u e s t S u b m i s s i o n 8 R e p o r t i n g o n F l e x e l d s D a t a 9 K e y F l e x e l d R o u t i n e s f o r S p e c i a l V a l i d a t i o n 1 0 A c c o u n t G e n e r a t o r A B u s i n e s s V i e w G e n e r a t o r

    R e l a t e d I n f o r m a t i o n S o u r c e s Y o u c a n c h o o s e f r o m m a n y s o u r c e s o f i n f o r m a t i o n ,d o c u m e n t a t i o n , t r a i n i n g , a n d s u p p o r t s e r v i c e s t o i n u n d e r s t a n d i n g o f O r a c l e A p p l i c a t i o n s s y s t e m a d m i

    I f t h i s g u i d e r e f e r s y o u t o o t h e r O r a c l e A p p l i c a t i o n s 1 1 i v e r s i o n s o f t h o s e g u i d e s .

    O n l i n e D o c u m e n t a t i o n A l l O r a c l e A p p l i c a t i o n s d o c u m e n t a t i o n i s a v a i l a b l e

    P D F D o c u m e n t a t i o n - S e e t h e O r a c l e A p p l i c a t i o n s D o c u m e f o r c u r r e n t P D F d o c u m e n t a t i o n f o r y o u r p r o d u c t wA p p l i c a t i o n s D o c u m e n t a t i o n L i b r a r y i s a l s o a v a i lM e t a L i n k a n d i s u p d a t e d f r e q u e n t l y .

    O n l i n e H e l p - O n l i n e h e l p p a t c h e s ( H T M L ) a r e a v a i l a b l M e t a L i n k .

    A b o u t D o c u m e n t s - R e f e r t o t h e A b o u t d o c u m e n t f o r t h e m t h a t y o u h a v e i n s t a l l e d t o l e a r n a b o u t f e a t u r e u p d an e w d o c u m e n t a t i o n o r d o c u m e n t a t i o n p a t c h e s t h a t y o u c a n d o w n l o ad o c u m e n t s a r e a v a i l a b l e o n O r a c l e M e t a L i n k .

    R e l a t e d G u i d e s Y o u c a n r e a d t h e g u i d e s o n l i n e b y c h o o s i n g L i b r a r y f r o m t h e e x p a n d a b l e m e n uH T M L h e l p w i n d o w , b y r e a d i n g f r o m t h e O r a c l e A p p l i c a t i o n s D o c u m e n t a t i oC D i n c l u d e d i n y o u r m e d i a p a c k , o r b y u s i n g a W e b bs y s t e m a d m i n i s t r a t o r p r o v i d e s .

    I f y o u r e q u i r e p r i n t e d g u i d e s , y o u c a n p u r c h a s e t h e m f r o m t h e O r a c l e S t o r e a h t t p : / / o r a c l e s t o r e . o r a c l e . c o m .

    x i i

  • 8/6/2019 FlexField Guide

    13/292

  • 8/6/2019 FlexField Guide

    14/292

    t o h e l p y o u b u i l d y o u r c u s t o m O r a c l e F o r m s D e v e l o w i t h O r a c l e A p p l i c a t i o n s .

    O r a c l e A p p l i c a t i o n s U s e r I n t e r f a c e S t a n d a r d s f o r F o r m

    T h i s g u i d e c o n t a i n s t h e u s e r i n t e r f a c e ( U I ) s t a n d a r d sd e v e l o p m e n t s t a f f . I t d e s c r i b e s t h e U I f o r t h e O r a c l e

    a p p l y t h i s U I t o t h e d e s i g n o f a n a p p l i c a t i o n b u i l t b y

    O t h e r I m p l e m e n t a t i o n D o c u m e n t a t i o n O r a c l e A p p l i c a t i o n s P r o d u c t U p d a t e N o t e s

    U s e t h i s g u i d e a s a r e f e r e n c e f o r u p g r a d i n g a n i n s t a l p r o v i d e s a h i s t o r y o f t h e c h a n g e s t o i n d i v i d u a l O r a c R e l e a s e 1 1 . 0 a n d R e l e a s e 1 1 i . I t i n c l u d e s n e w f e a t u r e s , e n h a n c e m et o d a t a b a s e o b j e c t s , p r o l e o p t i o n s , a n d s e e d d a t a f o

    M u l t i p l e R e p o r t i n g C u r r e n c i e s i n O r a c l e A p p l i c a t i o n

    I f y o u u s e t h e M u l t i p l e R e p o r t i n g C u r r e n c i e s f e a t u r eo n e c u r r e n c y , u s e t h i s m a n u a l b e f o r e i m p l e m e n t i n g d e t a i l s a d d i t i o n a l s t e p s a n d s e t u p c o n s i d e r a t i o n s f o rw i t h t h i s f e a t u r e .

    M u l t i p l e O r g a n i z a t i o n s i n O r a c l e A p p l i c a t i o n s

    T h i s g u i d e d e s c r i b e s h o w t o s e t u p a n d u s e O r a c l e A ps u p p o r t f e a t u r e , s o y o u c a n d e n e a n d s u p p o r t d i f f e r u n n i n g a s i n g l e i n s t a l l a t i o n o f O r a c l e A p p l i c a t i o n s

    O r a c l e A p p l i c a t i o n s S y s t e m A d m i n i s t r a t o r s G u i d e

    T h i s g u i d e p r o v i d e s p l a n n i n g a n d r e f e r e n c e i n f o r m aS y s t e m A d m i n i s t r a t o r . I t c o n t a i n s i n f o r m a t i o n o n h m e n u s a n d o n l i n e h e l p , a n d m a n a g e c o n c u r r e n t p r o

    O r a c l e W o r k o w A d m i n i s t r a t o r s G u i d e T h i s g u i d e e x p l a i n s h o w t o c o m p l e t e t h e s e t u p s t e p sA p p l i c a t i o n s p r o d u c t t h a t i n c l u d e s w o r k o w - e n a b lm o n i t o r t h e p r o g r e s s o f r u n t i m e w o r k o w p r o c e s s e

    O r a c l e W o r k o w D e v e l o p e r s G u i d e

    T h i s g u i d e e x p l a i n s h o w t o d e n e n e w w o r k o w b u e x i s t i n g O r a c l e A p p l i c a t i o n s - e m b e d d e d w o r k o w pd e n e a n d c u s t o m i z e b u s i n e s s e v e n t s a n d e v e n t s u b

    O r a c l e W o r k o w U s e r s G u i d e

    T h i s g u i d e d e s c r i b e s h o w O r a c l e A p p l i c a t i o n s u s e r s

    n o t i c a t i o n s a n d m o n i t o r t h e p r o g r e s s o f t h e i r w o r k O r a c l e W o r k o w A P I R e f e r e n c e

    T h i s g u i d e d e s c r i b e s t h e A P I s p r o v i d e d f o r d e v e l o p O r a c l e W o r k o w .

    O r a c l e e T e c h n i c a l R e f e r e n c e M a n u a l s

    x i v

  • 8/6/2019 FlexField Guide

    15/292

    E a c h e T e c h n i c a l R e f e r e n c e M a n u a l ( e T R M ) c o nd e s c r i p t i o n o f d a t a b a s e t a b l e s , f o r m s , r e p o r t s , a A p p l i c a t i o n s p r o d u c t . T h i s i n f o r m a t i o n h e l p s ya p p l i c a t i o n s , i n t e g r a t e O r a c l e A p p l i c a t i o n s d a t w r i t e c u s t o m r e p o r t s f o r O r a c l e A p p l i c a t i o n s p rO r a c l e M e t a L i n k .

    O r a c l e A p p l i c a t i o n s M e s s a g e R e f e r e n c e M a n u a l

    T h i s m a n u a l d e s c r i b e s O r a c l e A p p l i c a t i o n s m e sf o r m a t o n t h e d o c u m e n t a t i o n C D - R O M f o r R e l ei .

    T r a i n i n g a n d S u p p o r t T r a i n i n g

    O r a c l e o f f e r s a c o m p l e t e s e t o f t r a i n i n g c o u r s e s O r a c l e A p p l i c a t i o n s a n d r e a c h f u l l p r o d u c t i v i t yi n t o f u n c t i o n a l l e a r n i n g p a t h s , s o y o u t a k e o n l y o r a r e a o f r e s p o n s i b i l i t y .

    Y o u h a v e a c h o i c e o f e d u c a t i o n a l e n v i r o n m e n t s O r a c l e U n i v e r s i t y a t a n y o n e o f o u r m a n y E d u c at r a i n e r s t o t e a c h a t y o u r f a c i l i t y , o r y o u c a n u s e OU n i v e r s i t y s o n l i n e e d u c a t i o n u t i l i t y . I n a d d i t i o n , O r a s t a n d a r d c o u r s e s o r d e v e l o p c u s t o m c o u r s e s t o mm a y w a n t t o u s e y o u r o r g a n i z a t i o n s s t r u c t u r e , t e r m i n o l o g y , a n d c u s t o m i z e d t r a i n i n g s e s s i o n d e l i v e r e d a t y o u r o

    S u p p o r t

    F r o m o n - s i t e s u p p o r t t o c e n t r a l s u p p o r t , o u r t e a t h e h e l p a n d i n f o r m a t i o n y o u n e e d t o k e e p O r a c t e a m i n c l u d e s y o u r T e c h n i c a l R e p r e s e n t a t i v e , As l a r g e s to f c o n s u l t a n t s a n d s u p p o r t s p e c i a l i s t s w i t h e x p eO r a c l e D a t a b a s e , a n d y o u r h a r d w a r e a n d s o f t w a

    D o N o t U s e D a t a b a s e T o o l s t o M o d i f y OO r a c l e S T R O N G L Y R E C O M M E N D S t h a t y o u nd a t a b a s e t r i g g e r s , o r a n y o t h e r t o o l t o m o d i f y O ri n s t r u c t e d .

    O r a c l e p r o v i d e s p o w e r f u l t o o l s y o u c a n u s e t o c m a i n t a i n i n f o r m a t i o n i n a n O r a c l e d a t a b a s e . B u t o m o d i f y O r a c l e A p p l i c a t i o n s d a t a , y o u r i s k d e y o u l o s e t h e a b i l i t y t o a u d i t c h a n g e s t o y o u r d a t a

    B e c a u s e O r a c l e A p p l i c a t i o n s t a b l e s a r e i n t e r r e l O r a c l e A p p l i c a t i o n s f o r m c a n u p d a t e m a n y t a b lA p p l i c a t i o n s d a t a u s i n g a n y t h i n g o t h e r t h a n O r i n o n e t a b l e w i t h o u t m a k i n g c o r r e s p o n d i n g c h a o u t o f s y n c h r o n i z a t i o n w i t h e a c h o t h e r , y o u r i s ky o u r i s k u n p r e d i c t a b l e r e s u l t s t h r o u g h o u t O r a c

    W h e n y o u u s e O r a c l e A p p l i c a t i o n s t o m o d i f y y a u t o m a t i c a l l y c h e c k s t h a t y o u r c h a n g e s a r e v a l i

    x v

  • 8/6/2019 FlexField Guide

    16/292

    w h o c h a n g e s i n f o r m a t i o n . I f y o u e n t e r i n f o r m a t i o n t o o l s , y o u m a y s t o r e i n v a l i d i n f o r m a t i o n . Y o u a l s o l c h a n g e d y o u r i n f o r m a t i o n b e c a u s e S Q L * P l u s a n d o r e c o r d o f c h a n g e s .

    x v i

  • 8/6/2019 FlexField Guide

    17/292

    1 F l e x e l d C O v e r v i e w o f F l e x e l d C o n c e p t s

    T h i s c h a p t e r p r o v i d e s y o u w i t h a c o n c e p t u a l o v e

    t h e g e n e r a l f e a t u r e s o f e x e l d s

    e x e l d s t e r m i n o l o g y

    t h e b e n e t s o f e x e l d s t h e d i s t i n c t i o n b e t w e e n a k e y a n d d e s c r i p t i v e

    t h e o v e r a l l s e t u p p r o c e s s f o r e x e l d s

    A e x e l d i s a e l d m a d e u p o f s u b - e l d s , o r s e g e x e l d s : k e y e x e l d s a n d d e s c r i p t i v e e x e la s a n o r m a l t e x t e l d w i t h a n a p p r o p r i a t e p r o m py o u r f o r m a s a t w o - c h a r a c t e r - w i d e t e x t e l d w i to p e n e d , b o t h t y p e s o f e x e l d a p p e a r a s a p o p - ua n d p r o m p t f o r e a c h s e g m e n t . E a c h s e g m e n t h a v a l u e s m a y a l s o h a v e v a l u e d e s c r i p t i o n s .

    F l e x e l d C o n c e1 - 1

  • 8/6/2019 FlexField Guide

    18/292

    F l e x e l d s

    R e l a t e d T o p i c s W a r n i n g A b o u t C h a n g i n g D a t a , p a g e 1 - 1 1

    T y p e s o f F l e x e l d s I n f o r m a t i o n , p a g e 1 - 1 2 B a s i c F l e x e l d s C o n c e p t s , p a g e 1 - 5

    K e y F l e x e l d s , p a g e 1 - 2

    D e s c r i p t i v e F l e x e l d s , p a g e 1 - 3

    B e n e t s o f F l e x e l d s , p a g e 1 - 4

    O v e r v i e w o f S e t t i n g u p F l e x e l d s , p a g e 1 - 7

    K e y F l e x e l d s M o s t o r g a n i z a t i o n s u s e " c o d e s " m a d e u p o f m e a n i n g

    t o i d e n t i f y g e n e r a l l e d g e r a c c o u n t s , p a r t n u m b e r s , a s e g m e n t o f t h e c o d e c a n r e p r e s e n t a c h a r a c t e r i s t i c o fo r g a n i z a t i o n m i g h t u s e t h e p a r t n u m b e r P A D - N R - Y t h a t i s n a r r o w - r u l e d , y e l l o w , a n d 8 1 / 2 " b y 1 4 " . A n o ts a m e n o t e p a d w i t h t h e p a r t n u m b e r " P D - 8 x 1 4 - Y - N Ra r e c o d e s w h o s e s e g m e n t s d e s c r i b e a c h a r a c t e r i s t i c r e p r e s e n t t h e s a m e p a r t , t h e y e a c h h a v e a d i f f e r e n t s eo n l y t o t h e o r g a n i z a t i o n u s i n g t h o s e c o d e s .

    1 - 2 O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e

  • 8/6/2019 FlexField Guide

    19/292

    T h e O r a c l e A p p l i c a t i o n s s t o r e t h e s e " c o d e s " i n ke n o u g h t o l e t a n y o r g a n i z a t i o n u s e t h e c o d e s c h e

    W h e n y o u r o r g a n i z a t i o n i n i t i a l l y i n s t a l l s O r a c l o r g a n i z a t i o n s i m p l e m e n t a t i o n t e a m c u s t o m i z e t h e k e ys e g m e n t s t h a t a r e m e a n i n g f u l t o y o u r b u s i n e s s .m e a n s , w h a t v a l u e s e a c h s e g m e n t c a n h a v e , a n d o r g a n i z a t i o n c a n d e n e r u l e s t o s p e c i f y w h i c h s a v a l i d c o m p l e t e c o d e ( a l s o c a l l e d a c o m b i n a t i o n ) . Y o u c a n a l s o d e n e r ea m o n g t h e s e g m e n t s . T h e r e s u l t i s t h a t y o u a n d yw a n t r a t h e r t h a n c h a n g i n g y o u r c o d e s t o m e e t O

    F o r e x a m p l e , c o n s i d e r t h e c o d e s y o u r o r g a n i z a ta c c o u n t s . O r a c l e A p p l i c a t i o n s r e p r e s e n t t h e s e c t h e A c c o u n t i n g F l e x e l d . O n e o r g a n i z a t i o n m i gF l e x e l d t o i n c l u d e v e s e g m e n t s : c o m p a n y , d ip r o j e c t . A n o t h e r o r g a n i z a t i o n , h o w e v e r , m i g h t s e g m e n t s d i f f e r e n t l y , p e r h a p s u s i n g t w e l v e s e g F l e x e l d l e t s y o u r O r a c l e G e n e r a l L e d g e r a p p l i co r g a n i z a t i o n s b y a l l o w i n g t h e m t o c u s t o m i z e t h b u s i n e s s u s a g e . S e e : O r a c l e G e n e r a l L e d g e r U s e r s G u i d e .

    I m p o r t a n t : T h r o u g h o u t t h i s g u i d e w e u s e t h e " P aF l e x e l d " i n o u r e x a m p l e s a n d g r a p h i c s . W b e c a u s e i t h e l p s t o i l l u s t r a t e t h e u s e s a n d b e w i t h o u t r e q u i r i n g a n y s p e c i a l i z e d a c c o u n t im a n u f a c t u r i n g k n o w l e d g e . H o w e v e r , t h e r eK e y F l e x e l d " i n t h e O r a c l e A p p l i c a t i o n s , aw i t h t h e S y s t e m I t e m s F l e x e l d ( I t e m F l e x A p p l i c a t i o n s p r o d u c t s s u c h a s O r a c l e I n v e n

    D e s c r i p t i v e F l e x e l d s

    D e s c r i p t i v e e x e l d s p r o v i d e c u s t o m i z a b l e " e xu s e d e s c r i p t i v e e x e l d s t o t r a c k a d d i t i o n a l i n f o b u s i n e s s , t h a t w o u l d n o t o t h e r w i s e b e c a p t u r e d c o n t e x t s e n s i t i v e , w h e r e t h e i n f o r m a t i o n y o u r a y o u r u s e r s e n t e r i n o t h e r p a r t s o f t h e f o r m .

    A d e s c r i p t i v e e x e l d a p p e a r s o n a f o r m a s a s i ni n b r a c k e t s . J u s t l i k e i n a k e y e x e l d , a p o p - u p wc u r s o r i n t o a c u s t o m i z e d d e s c r i p t i v e e x e l d . Aw i n d o w h a s a s m a n y e l d s a s y o u r o r g a n i z a t i o n

    E a c h e l d o r s e g m e n t i n a d e s c r i p t i v e e x e l d h c a n h a v e a s e t o f v a l i d v a l u e s . Y o u r o r g a n i z a t i o ns e g m e n t s o r c u s t o m i z e a d e s c r i p t i v e e x e l d t o t h a t d i f f e r e n t s e g m e n t s o r a d d i t i o n a l p o p - u p w iy o u e n t e r i n o t h e r e l d s o r s e g m e n t s .

    F o r e x a m p l e , c o n s i d e r t h e A d d i t i o n s f o r m y o u uA s s e t s a p p l i c a t i o n . T h i s f o r m c o n t a i n s e l d s t o a n a s s e t , s u c h a s t h e t y p e o f a s s e t a n d a n a s s e t n uc o n t a i n s p e c i c e l d s f o r e a c h d e t a i l a b o u t a g i v c o m p u t e r o r l i f t i n g c a p a c i t y o f a f o r k l i f t . I n t h i s e l d s a c t u a l l y b u i l t i n t o t h e f o r m i s n o t o n l y d i f

    F l e x e l d C o n c e1 - 3

  • 8/6/2019 FlexField Guide

    20/292

    o n e o r g a n i z a t i o n m a y h a v e c o m p u t e r s a n d f o r k l i f t s h a v e o n l y c o m p u t e r s a n d l u x u r y a u t o m o b i l e s ( a n d nc o n t a i n e d b u i l t - i n e l d s f o r e a c h a t t r i b u t e o f a f o r k l iw i t h n o f o r k l i f t s w o u l d n d t h o s e e l d s t o b e b o t h u na u s e r m u s t s k i p t h e m t o e n t e r i n f o r m a t i o n a b o u t a n of o r f o r k l i f t i n f o r m a t i o n w o u l d b e c u m b e r s o m e w h e n

    t r i e s t o e n t e r a n y a s s e t t h a t i s n o t a f o r k l i f t . I n s t e a d o f t r y i n g t o c o n t a i n a l l p o s s i b l e e l d s f o r a s s h a s a d e s c r i p t i v e e x e l d t h a t y o u c a n c u s t o m i z e t o o r g a n i z a t i o n n e e d s a b o u t y o u r a s s e t s . T h e e x e l d so f t h e A s s e t C a t e g o r y e l d a n d d i s p l a y o n l y t h o s e ep a r t i c u l a r t y p e o f a s s e t . F o r e x a m p l e , i f t h e a s s e t c a td e s c r i p t i v e e x e l d c o u l d p r o m p t f o r s t y l e , s i z e a n dw e r e " c o m p u t e r , h a r d w a r e " , y o u r e x e l d c o u l d p r os i z e . Y o u c a n e v e n a d d t o t h e d e s c r i p t i v e e x e l d l a o f a s s e t s .

    T h e E n t e r J o u r n a l s w i n d o w i n t h e O r a c l e G e n e r a l L e o f a f o r m t h a t i n c l u d e s d e s c r i p t i v e e x e l d s t o a l l o wi n f o r m a t i o n o f t h e i r o w n c h o o s i n g . E a c h b l o c k c o n t e l d . Y o u m i g h t u s e t h e s e t o s t o r e a d d i t i o n a l i n f o r m a s a s o u r c e d o c u m e n t n u m b e r o r t h e n a m e o f t h e p e r s

    B e n e t s o f F l e x e l d s F l e x e l d s p r o v i d e y o u w i t h t h e f e a t u r e s y o u n e e d t o

    C u s t o m i z e y o u r a p p l i c a t i o n s t o c o n f o r m t o y o u r ca c c o u n t i n g c o d e s , p r o d u c t c o d e s , a n d o t h e r c o d e s

    C u s t o m i z e y o u r a p p l i c a t i o n s t o c a p t u r e d a t a t h a t y o u r a p p l i c a t i o n .

    H a v e " i n t e l l i g e n t e l d s " t h a t a r e e l d s c o m p r i s e de a c h s e g m e n t h a s b o t h a v a l u e a n d a m e a n i n g .

    R e l y u p o n y o u r a p p l i c a t i o n t o v a l i d a t e t h e v a l u e s y o u e n t e r i n i n t e l l i g e n t e l d s .

    H a v e t h e s t r u c t u r e o f a n i n t e l l i g e n t e l d c h a n g e d a p p l i c a t i o n d a t a .

    C u s t o m i z e d a t a e l d s t o y o u r m e e t y o u r b u s i n e s s

    Q u e r y i n t e l l i g e n t e l d s f o r v e r y s p e c i c i n f o r m a t

    W h a t i s t h e d i s t i n c t i o n b e t w e e n e x e l d s a n d a p p l i ct h e y a r e a m a j o r f e a t u r e o f t h e O r a c l e A p p l i c a t i o n s a t o p r o v i d e m a n y a p p l i c a t i o n f e a t u r e s . K e y e x e l d O r a c l e A p p l i c a t i o n s t o r e p r e s e n t o b j e c t s s u c h a s a c cd e s c r i p t i o n s , a n d m o r e . F o r e x a m p l e , t h e A c c o u n t i nu s e s a k e y e x e l d t o r e p r e s e n t a c c o u n t i n g c o d e s t h A p p l i c a t i o n s . S i m i l a r l y , d e s c r i p t i v e e x e l d s p r o v A p p l i c a t i o n s t o p r o v i d e c u s t o m i z a b l e " e x p a n s i o n s i m p l e m e n t c o n t e x t - s e n s i t i v e e l d s t h a t a p p e a r o n l y l e t y o u c u s t o m i z e O r a c l e A p p l i c a t i o n s f e a t u r e s w i t h

    1 - 4 O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e

  • 8/6/2019 FlexField Guide

    21/292

    B a s i c F l e x e l d s C o n c e p t s W e u s e t h e f o l l o w i n g t e r m s f o r b o t h k e y a n d d e s

    S e g m e n t

    V a l u e

    V a l i d a t i o n V a l u e s e t

    S t r u c t u r e

    B a s i c F l e x e l d C o n c e p t s

    S e g m e n t A s e g m e n t i s a s i n g l e s u b - e l d w i t h i n a e x e l dm e a n i n g o f i n d i v i d u a l s e g m e n t s w h e n c u s t o m i zi n y o u r d a t a b a s e a s a s i n g l e t a b l e c o l u m n .

    F o r a k e y e x e l d , a s e g m e n t u s u a l l y d e s c r i b e s i d e n t i e d b y t h e e x e l d . F o r e x a m p l e , y o u c a nn u m b e r s . T h e k e y e x e l d c a n c o n t a i n t h e p a r t nr e p r e s e n t s a y e l l o w , n a r r o w r u l e d , 8 1 / 2 " x 1 4 " n

    F l e x e l d C o n c e1 - 5

  • 8/6/2019 FlexField Guide

    22/292

    n u m b e r , s e p a r a t e d b y a h y p h e n , d e s c r i b e s a c h a r a c ts e g m e n t d e s c r i b e s t h e o b j e c t , a n o t e p a d , t h e s e c o n d o b j e c t , y e l l o w , a n d s o o n .

    N o t e t h a t w e a l s o r e f e r t o t h e e l d s i n a d e s c r i p t i v e ee v e n t h o u g h t h e y d o n o t n e c e s s a r i l y m a k e u p m e a n i k e y e x e l d s . H o w e v e r , t h e y d o o f t e n d e s c r i b e a p a i d e n t i e d e l s e w h e r e o n t h e f o r m y o u a r e u s i n g .

    V a l u e s , V a l i d a t i o n a n d V a l u e S e t s Y o u r e n d u s e r e n t e r s a s e g m e n t v a l u e i n t o a s e g m e nw h i l e u s i n g a n a p p l i c a t i o n . G e n e r a l l y , t h e e x e l d v a l i d a t e s e a c h s( a " v a l u e s e t " ) t h a t a r e u s u a l l y p r e d e n e d . T o " v a l i d e a s e g m e n t " m e a n s t h a t t h e x e l d c o m p a r e s t h e v a l u e a u s e r e n t e r s i n t h e s e g ms e t f o r t h a t s e g m e n t .

    Y o u c a n s e t u p y o u r e x e l d s o t h a t i t a u t o m a t i c a l l y u s e r e n t e r s a g a i n s t a t a b l e o f v a l i d v a l u e s ( w h i c h m a y o u r e n d u s e r e n t e r s a n i n v a l i d s e g m e n t v a l u e , a l i s t

    a u t o m a t i c a l l y s o t h a t t h e u s e r c a n c h o o s e a v a l i d v a l Y o u c a n t h i n k o f a v a l u e s e t a s a " c o n t a i n e r " f o r y o u r v a l u e s c a n t i n t o y o u r v a l u e s e t : t h e i r l e n g t h , f o r m a

    A s e g m e n t i s u s u a l l y v a l i d a t e d , a n d u s u a l l y e a c h s e gd i f f e r e n t v a l u e s e t . Y o u c a n a s s i g n a s i n g l e v a l u e s e ty o u c a n e v e n s h a r e v a l u e s e t s a m o n g d i f f e r e n t e x y o u e n t e r v a l u e s i n t o a e x e l d s e g m e n t , y o u c a n e n i n t h e v a l u e s e t a s s i g n e d t o t h e s e g m e n t .

    S t r u c t u r e A e x e l d s t r u c t u r e i s a s p e c i c c o n g u r a t i o n o f s e s e g m e n t s , o r r e a r r a n g e t h e o r d e r o f s e g m e n t s i n a e

    Y o u c a n d e n e m u l t i p l e s e g m e n t s t r u c t u r e s f o r t h e s b e e n b u i l t t o s u p p o r t m o r e t h a n o n e s t r u c t u r e ) . Y o u p r o m p t s a n d e l d s f o r d i f f e r e n t e n d u s e r s b a s e d o n aa p p l i c a t i o n d a t a . B o t h k e y a n d d e s c r i p t i v e e x e l d s

    I n s o m e a p p l i c a t i o n s , d i f f e r e n t u s e r s m a y n e e d a d i f i n a e x e l d ( k e y o r d e s c r i p t i v e ) . O r , y o u m i g h t w a nd e p e n d i n g o n , f o r e x a m p l e , t h e v a l u e o f a n o t h e r f o r m

    Y o u r O r a c l e G e n e r a l L e d g e r a p p l i c a t i o n , f o r e x a m p F l e x e l d ( C h a r t o f A c c o u n t s ) s t r u c t u r e s f o r u s e r s o f G e n e r a l L e d g e r a p p l i c a t i o n d e t e r m i n e s w h i c h e x v a l u e o f t h e G L S e t o f B o o k s N a m e u s e r p r o l e o p t i o

    R e l a t e d T o p i c s O v e r v i e w o f F l e x e l d C o n c e p t s , p a g e 1 - 1 1

    T y p e s o f F l e x e l d s I n f o r m a t i o n , p a g e 1 - 1 2

    B a s i c F l e x e l d s C o n c e p t s , p a g e 1 - 5

    K e y F l e x e l d s , p a g e 1 - 2

    1 - 6 O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e

  • 8/6/2019 FlexField Guide

    23/292

    D e s c r i p t i v e F l e x e l d s , p a g e 1 - 3

    B e n e t s o f F l e x e l d s , p a g e 1 - 4

    O v e r v i e w o f S e t t i n g u p F l e x e l d s , p a g e 1 - 7

    W a r n i n g A b o u t C h a n g i n g D a t a , p a g e 1 - 1 1

    O v e r v i e w o f S e t t i n g U p F l e x e l d s T h e g e n e r a l p r o c e s s o f i m p l e m e n t i n g a n d u s i n g p h a s e s :

    P l a n n i n g , p a g e 1 - 7

    D e n i n g , p a g e 1 - 1 0

    D a t a e n t r y a n d o n g o i n g m a i n t e n a n c e , p a g e 1

    R e p o r t i n g , p a g e 1 - 1 1

    Y o u m a y a l s o h a v e r e q u i r e m e n t s f o r o t h e r p h a s f o r y o u r s i t e .

    P l a n n i n g J u s t a s f o r i m p l e m e n t i n g a n y n e w a p p l i c a t i o n , p( a n d p r o b a b l y t h e m o s t t i m e - c o n s u m i n g ) p h a s es h o u l d g i v e i t c a r e f u l t h o u g h t . T h e p l a n n i n g p h as t i l l i n t e r r e l a t e d , s t e p s :

    D e c i d e w h i c h e x e l d s t o i m p l e m e n t

    L e a r n i n g a b o u t a s p e c i c e x e l d

    P l a n n i n g t h e s t r u c t u r e

    P l a n n i n g t h e s e g m e n t s P l a n n i n g t h e s e g m e n t v a l i d a t i o n

    P l a n n i n g t o u s e a d d i t i o n a l f e a t u r e s

    D o c u m e n t i n g y o u r p l a n

    T i p : W e r e c o m m e n d t h a t y o u p l a n y o u r e x p o s s i b l e , i n c l u d i n g y o u r p o t e n t i a l s e g m e b e g i n t o d e n e t h e m u s i n g O r a c l e A p p l i c b e g i n u s i n g y o u r e x e l d s t o a c q u i r e d a t ae a s i l y . C h a n g i n g a e x e l d f o r w h i c h y o ur e q u i r e a c o m p l e x c o n v e r s i o n p r o c e s s .

    D e c i d e w h i c h e x e l d s t o i m p l e m e n t O r a c l e A p p l i c a t i o n s p r o d u c t s r e l y o n s o m e k e y e x e l d s a s c e n t r a la p p l i c a t i o n s , s o y o u m u s t s e t u p t h e s e k e y e x e l d s . F o r e x a m p l e G e n e r a l L e d g e r p r o d u c t s u s e o n l y t h e A c c o u n t ie v e r y O r a c l e A p p l i c a t i o n s p r o d u c t u s e s t h e A c cp r o c e s s i n g . S o , y o u m u s t a l m o s t a l w a y s s e t u p t y o u h a v e m o r e t h a n o n e o f t h e O r a c l e A p p l i c a t i oO r a c l e A p p l i c a t i o n s p r o d u c t s s u c h a s O r a c l e I n v

    F l e x e l d C o n c e1 - 7

  • 8/6/2019 FlexField Guide

    24/292

    S y s t e m I t e m s F l e x e l d ( I t e m F l e x e l d ) . O t h e r O r a c e x e l d s f o r v a r i o u s p u r p o s e s , a n d d e n i n g t h o s e a p a r t i c u l a r a p p l i c a t i o n .

    W h i l e m o s t O r a c l e A p p l i c a t i o n s p r o d u c t s r e q u i r e t h e x e l d s , m a n y d e s c r i p t i v e e x e l d s a r e o p t i o n a l . d e s c r i p t i v e e x e l d s f o r f o r m s w h e r e y o u w a n t t o c ac a p t u r e d b y t h e f o r m e l d s .

    L e a r n i n g a b o u t a s p e c i c e x e l d B e c a u s e e a c h k e y a n d d e s c r i p t i v e e x e l d h a s a d i f f u n d e r s t a n d t h e p u r p o s e a n d r e q u i r e m e n t s f o r t h e e e x e l d s , p a r t i c u l a r l y t h e A c c o u n t i n g F l e x e l d , h a t h e m . M o s t d e s c r i p t i v e e x e l d s s i m p l y p r o v i d e a cy o u c a n u s e f o r w h a t e v e r y o u n e e d t o l l y o u r o r g a n s n e e d s .

    P l a n n i n g t h e s t r u c t u r e F o r e a c h e x e l d y o u w a n t t o i m p l e m e n t , p l a n y o u r

    c a n c o m p l e t e l y c u s t o m i z e t h e a p p e a r a n c e o f y o u r e a c h s t r u c t u r e , i n c l u d i n g i t s t i t l e a n d t h e n u m b e r , o rs e g m e n t s . T h o u g h y o u c a n a l w a y s c h a n g e t h e c o s m w i n d o w , s u c h a s t h e t i t l e a n d p r o m p t s , y o u s h o u l d n m a x i m u m l e n g t h o f y o u r s e g m e n t s o n c e y o u h a v e a cp l a n y o u r s t r u c t u r e s c a r e f u l l y a n d a l l o w f o r f u t u r e n

    P l a n n i n g t h e s e g m e n t s Y o u m u s t c h o o s e t w o l e n g t h s f o r e a c h s e g m e n t , t h e dl e n g t h . T h e m a x i m u m l e n g t h i s t h e l e n g t h o f t h e l o n s e g m e n t . T h e l a r g e s t m a x i m u m l e n g t h y o u c a n c h o ol e n g t h o f t h e u n d e r l y i n g c o l u m n t h a t c o r r e s p o n d s t os i z e s v a r y a m o n g e x e l d s , y o u n e e d t o k n o w w h a t y o u r e x e l d .

    T h e d i s p l a y e d l e n g t h i s t h e s e g m e n t l e n g t h a u s e r s e d i s p l a y e d l e n g t h i s l e s s t h a n t h e m a x i m u m l e n g t h , t hs e g m e n t t o s e e i t s e n t i r e c o n t e n t s .

    P l a n n i n g t h e s e g m e n t v a l i d a t i o n F o r e a c h s e g m e n t , p l a n y o u r v a l i d a t i o n . C o n s i d e r w u s i n g i n y o u r e x e l d s e g m e n t s . T h e s e d e c i s i o n s a fs e t s a n d v a l u e s .

    D o y o u w a n t t o p r o v i d e a l i s t o f v a l u e s f o r e a c h s e s e g m e n t c a n m a k e d a t a e n t r y f a s t e r a n d e a s i e r f o r e n t e r v a l i d v a l u e s .

    D o y o u w a n t t o s h a r e v a l u e s a m o n g s e g m e n t s i n dd i f f e r e n t e x e l d s ?

    D o y o u w a n t t h e a v a i l a b l e v a l u e s i n a s e g m e n t t o de n t e r e d i n a p r i o r s e g m e n t ?

    1 - 8 O r a c l e A p p l i c a t i o n s F l e x e l d s G u i d e