Item Conv-Techincal Specs

Embed Size (px)

Citation preview

  • 8/12/2019 Item Conv-Techincal Specs

    1/36

    Client

    MOTOROLA

    Technical Design

    Item Conversions - Import

    Author : R.Deepika

    Creation Date : 27-Apr-2005

    ast !p"ate" : 27-Apr-2005

    ast !p"ate" #$ :

    %ersion : Dra&t '

    Approvals:

    Name Title Date

  • 8/12/2019 Item Conv-Techincal Specs

    2/36

    Technical Specifications

    Contents

    Approvals:............................................................................................1

    Overview...........................................................................................................3

    Assumptions................................................................................................4Import steps.................................................................................................5

    Convert Items....................................................................................................6

    High level program information........................................................................7

    oa! program..............................................................................................7

    "ali!ate program.........................................................................................7Insert program.............................................................................................#$tan!ar! Open Interfa%e..............................................................................#

    Import program %omponents.............................................................................&

    oa!er s%ripts..............................................................................................&

    'ilename : (O)*I)+(CO,"*OA-.C) ............................................&Con%urrent programs...................................................................................&

    /$0 pa%ages........................................................................................&

    rofile options.............................................................................................&

    "alue sets....................................................................................................&

    oa! Items rogram........................................................................................12

    (O)*I)+(CO,"*)...............................................................................12

    Import file format......................................................................................12

    -ata mapping............................................................................................16oa! program parameters..........................................................................&

    "ali!ate Item (aster rogram........................................................................32

    -efaults.....................................................................................................32

    Conversions...............................................................................................31

    "ali!ations.................................................................................................31Other logi%.................................................................................................31

    +%eption han!ling....................................................................................31/$0 a%age -esign...........................................................................3loal %onstants an! variales..................................................................3

    Import rogram -esign.............................................................................3

    ............................................................................................................3

    )e%hni%al overview of pa%age an! pro%e!ures..............................................33

    Open/Close! Issues.........................................................................................35

    (age- 2

  • 8/12/2019 Item Conv-Techincal Specs

    3/36

    Technical Specifications

    Open issues................................................................................................35Close! issues.............................................................................................35

    Overview

    Item is an important entit$ in manu&acturing an" "istri)ution mo"ules o& *racle Applications suite. Itemsare &irst "e&ine" at +aster Inventor$ *rgani,ation level an" then assigne" to various inventor$organi,ations. The item control attri)utes set up at the master level ill casca"e to chil" level. The itemattri)utes at the chil" level ill )e uniue to that chil" organi,ation

    /irst the +aster Item conversion ill )e complete" in all respects oa"ing into a temporar$ ta)le1vali"ation an" conversion o& "ata in the temp ta)le1 inserting into the open inter&ace ta)le an" runningthe Item Import. The same process ill )e repeate" &or chil" organi,ation items.

    The eisting *rgs ill )e mappe" to ne organi,ations an" ill )e converte" )ase" on theorgani,ation assignment rules.

    3e ill )uil" the &olloing concurrent programs to implement the Item Import program:

    1. oa" Items into temporar$ ta)le &rom tet &ile 46oa"er8

    . oa" Items 4+aster *rgani,ation level8

    3. oa" Items 4*rgani,ation level8

    %ali"ate Items Import 4(968.

    There ill )e one vali"ation program &or +aster Items an" one &or *rg Items.

    '. %ali"ate Item +aster

    2. %ali"ate *rg Items

    (age-

  • 8/12/2019 Item Conv-Techincal Specs

    4/36

    Technical Specifications

    The loa" program rea"s "ata &rom a &lat &ile into the &olloing temporar$ staging ta)les o& R''i.

    +*T;IT

  • 8/12/2019 Item Conv-Techincal Specs

    5/36

    Technical Specifications

    *+* I+* 4+aster8

    *! I!

    *D ID

    *! I!

    *+! I+!

    *BD IBD

    There is no "ata eclusion criterion.

    The "ata to )e converte" &rom '0.7 to ''i nee" no manipulations ecept &or assignment o& ne

    inventor$ organi,ation an" application o& an$ item templates.

    All the co"es &or primar$ unit o& measures remain unchange" &rom '0.7 to ''i.

    An$ changes to Inventor$ et up &rom '0.7 to ''i that impacts the Item "e&inition process ill

    impact the Item Conversion.

    The trans&ormation an" conversion logic use" &or Items ill also )e applie" to Item revisions.

    ource;orgs an" source su) inventor$ mappings &rom '0.7 to ''i ill )e provi"e".

    =o accounts 4epense account1 encum)rance account1 etc.8 ill )e converte" &rom '0.7 to ''i.

    #u$er an" (lanner co"es are also mappe" accor"ing to the ol" an" ne organi,ation

    in&ormation.

    Item statuses ill )e converte" as &ollos &rom '0.7 to ''i.

    10.7 Status 11i Status

  • 8/12/2019 Item Conv-Techincal Specs

    6/36

    Technical SpecificationsThe import process takes place in steps:

    '. Import Items into a &lat &ile.

    . oa" 4oa" Items8 programs.

    . %ali"ate 4%ali"ate Items8 programs.

    Convert Items

    (age-

    oa" the +asterItems Data into

    the Temporar$ta)le

    Run Item Import an" Recti&$errors i& an$

    oa" the *rgItems Data intothe Temporar$ta)le

    %ali"ate "ata 4et theInter&ace values likeprocess &lag1 etc..8

    Insert the vali"ate" "atainto the +T ET

  • 8/12/2019 Item Conv-Techincal Specs

    7/36

    Technical Specifications

    High level program information

    The &olloing lists summari,e the Import Items program in&ormation:

    Load program

    (ropert$ %alue

    =ame F+*TC*=%G Items oa"

    Concurrent program name +*T;IT

  • 8/12/2019 Item Conv-Techincal Specs

    8/36

    Technical Specifications

    Incompati)ilit$ =one

    (rocessing mo"e All or none

    (re-reuisites Inventor$ et !p

    Restart restrictions =one

    !nsert program

    (ropert$ %alue

    =ame F+*T;IT

  • 8/12/2019 Item Conv-Techincal Specs

    9/36

    Technical Specifications

    Delete (rocesse" Items: Ees9=o

    Create or !p"ate Item: 'or 2

    Restart Instructions Recti&$ error1 (rocess &lag shoul" )e set to >'? an" settransaction;i"1 Inventor$;item;i" etc. to =!.

    Import program components

    The &olloing list contains all components reuire" to completel$ install the Import Item program.

    Loader s#ripts

    /ilename : +*T;IT

  • 8/12/2019 Item Conv-Techincal Specs

    10/36

    Technical Specifications

    Load Items Program

    The oa" Items programs are 6oa"er scripts. The$ loa" the import &iles into the &olloing ta)le4s8

    MOT)!T*M$ON)T

    !mport "ile "ormat

    The import &ile is Comma 4>1?8 "elimite" an" has the &ormat as shon )elo.

    +ield Name Re, Des#ription

    I=%

  • 8/12/2019 Item Conv-Techincal Specs

    11/36

    Technical Specifications

    +ield Name Re, Des#ription

    #!ID;I=;3I(;/A E /lag in"icating item ma$ )e )uilt in 3I(

    R

  • 8/12/2019 Item Conv-Techincal Specs

    12/36

    Technical Specifications

    +ield Name Re, Des#ription

    3

  • 8/12/2019 Item Conv-Techincal Specs

    13/36

    Technical Specifications

    +ield Name Re, Des#ription

    I=%

  • 8/12/2019 Item Conv-Techincal Specs

    14/36

    Technical Specifications

    +ield Name Re, Des#ription

    *!TID

  • 8/12/2019 Item Conv-Techincal Specs

    15/36

    Technical Specifications

    +ield Name Re, Des#ription

  • 8/12/2019 Item Conv-Techincal Specs

    16/36

    Technical Specifications

    Data mapping

    Mapping o" #olumns "rom staging ta-le MOT)!T*M$ON)T/ to !nter"a#e ta-le MTL)SST*M)!T*MS)!NT*R+A$*/

    MOT)!T*M$ON)T MTL)SST*M)!T*MS)!NT*RA$*

    $olumn Name Des#ription Sour#e $olumn Name

    I=%

  • 8/12/2019 Item Conv-Techincal Specs

    17/36

    Technical Specifications

    Mapping o" #olumns "rom staging ta-le MOT)!T*M$ON)T/ to !nter"a#e ta-le MTL)SST*M)!T*MS)!NT*R+A$*/

    MOT)!T*M$ON)T MTL)SST*M)!T*MS)!NT*RA$*

    $olumn Name Des#ription Sour#e $olumn Name

    recognition8

  • 8/12/2019 Item Conv-Techincal Specs

    18/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

  • 8/12/2019 Item Conv-Techincal Specs

    19/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    collateral item

    TAKA#

  • 8/12/2019 Item Conv-Techincal Specs

    20/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    alloe"

    A*3;

  • 8/12/2019 Item Conv-Techincal Specs

    21/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    eight unit o&measure an" )aseunit o& measure

    3

  • 8/12/2019 Item Conv-Techincal Specs

    22/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    =;/A pegging &lag &or +R(

    R

  • 8/12/2019 Item Conv-Techincal Specs

    23/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    "ata /ile

    (A==I=;+A

  • 8/12/2019 Item Conv-Techincal Specs

    24/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    implementation "ate

  • 8/12/2019 Item Conv-Techincal Specs

    25/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    3ARRA=TE;%

  • 8/12/2019 Item Conv-Techincal Specs

    26/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    +*D

  • 8/12/2019 Item Conv-Techincal Specs

    27/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    ;DAE

    C*=TAI=

  • 8/12/2019 Item Conv-Techincal Specs

    28/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    "ate &or trackingchanges relevantto "ata collecte" inData 3arehouse

    (R*D!CT;/A+IE;IT

  • 8/12/2019 Item Conv-Techincal Specs

    29/36

    Technical Specifications

    $olumn Name Des#ription Sour#e $olumn Name

    I=DI%II#

  • 8/12/2019 Item Conv-Techincal Specs

    30/36

    Technical Specifications

    Validate Item aster Program

    The vali"ate Item +aster program is a (96 concurrent program that per&orms the &olloing:

    Converts some column values into their *racle euivalents

    %ali"ates some inter&ace ta)le columns

    Assigns "e&aults to recor"s in +T;ET

  • 8/12/2019 Item Conv-Techincal Specs

    31/36

    Technical Specifications

    +T;ET

  • 8/12/2019 Item Conv-Techincal Specs

    32/36

    Technical SpecificationsA&ter all the vali"ations are complete" then the recor"s ith status &lag as >=? are importe" to inter&aceta)le an" then the items are importe".

    The error recor"s hich have the status;&lag value as >

  • 8/12/2019 Item Conv-Techincal Specs

    33/36

    Technical Specifications

    /or /irst organi,ation

    /or secon" organi,ation

    Technical overview of pac!age and procedures

    (ackage name : +*T;IT

  • 8/12/2019 Item Conv-Techincal Specs

    34/36

    Technical SpecificationsI+

    Be%'&--V",'d"'o&+ for cer"'& f,"% co,u)&+ co,u)&+ ,'.e bu/er_'d ec0--'f #ere "re "&/ error+ '& #e d"" +"u+_f,"% %e+ u1d"ed o 2E3 "&d 4e %eerror )e++"%e '& error co,u)&0

    --T".e " cur+or for ,o"d'&% #e '&for)"'o& '&o '&erf"ce "b,e fro) +"%'&%"b,e0

    ---INSERTING INTO MTL_SYSTEM_ITEMS_INTER5ACEINSERT INTO

    MTL_SYSTEM_ITEMS_INTER5ACE(ORGANI6ATION_ID

    8V",ue+ ('0 ORGANI6ATION_ID

    77777*--Cou& of record+

    COMMIT8END V",'d"e_Ie)8

    ---E&d P"c."%e MOT_MAST_ITEM_IMP8END MOT_ITEMCONV_IMP89

    --PROCEDURE 5OR VALIDATING C:ILD ORG ITEMS

    CREATE OR REPLACE PACKAGE BODY MOT_ITEMCONV_PKG IS

    --Procedure VALIDATE_ITEM_C:ILD

    PROCEDURE VALIDATE_ITEM

    (Errbuf ou !"rc#"r$Recode ou !"rc#"r$Or%"&'"'o&_ID '& &u)ber*

    I+

    Be%'&--V",'d"'o&+ for cer"'& f,"% co,u)&+ co,u)&+ ,'.e bu/er_'d ec0--'f #ere "re "&/ error+ '& #e d"" +"u+_f,"% %e+ u1d"ed o 2E3 "&d 4e %eerror )e++"%e '& error co,u)&0

    --T".e " cur+or for ,o"d'&% #e '&for)"'o& '&o '&erf"ce "b,e fro) +"%'&% "b,e4#ere +e%)e& & co,u)& &o '& #e +e%)e& & co,u)& of ),_+/+e)_'e)+_b0

    ---INSERTING INTO MTL_SYSTEM_ITEMS_INTER5ACEINSERT INTO

    MTL_SYSTEM_ITEMS_INTER5ACE(ORGANI6ATION_ID

    8V",ue+ ('0 ORGANI6ATION_ID

    (age- @

  • 8/12/2019 Item Conv-Techincal Specs

    35/36

    Technical Specifications77777*

    --Cou& of record+COMMIT8

    END V",'d"e_Ie)8

    ---E&d P"c."%e MOT_MAST_ITEM_IMP8END MOT_ITEMCONV_IMP89

    T#e +")e 1rocedure 4',, be re1e"ed for c#',d or%"&'"'o& 'e)+0

    Open"Closed Issues

    Open issues

    Sno. !ssue des#ription Resolution O4ner

    $losed issues

    Sno. !ssue des#ription Resolution O4ner

    (age- 5

  • 8/12/2019 Item Conv-Techincal Specs

    36/36

    Technical Specifications