Demo Corp O meCard Layout
ModificationDemo Corp OTL TimeCard Layout Modification
Background:
\with the curent configuration ofthe OTL setup the timecard layout for Demo Corporation looks as follows:
ae oe a ae aa en rn are feces ame fe
a |= | oe oe | | — i
ats FS Se iS Ss Se eS fe
Requirement:
Demo Corporation wants is employees to enter just the hours and not the start time/end time. The goalis to
‘emove the stat ime end time fields from the layout.
Solution Approach:
Modify the existing layouts: The most convenient way to modify the layout is to copy the seeded layout
‘and rename it and make the changes. In our case we will modify the layout for the Payroll Timecard
Layout:
Step 1: Identify the layout and FTP
‘The Seeded Layouts canbe found on the database, Ina Unix environment, using FTP program to move them to
your local machine. All the seeded Layout Files ae in the following path:
‘SHXC_TOP/pateh/115/import/US
‘The layout that we are using fr time entry i hxczzhxclayt0000 dt
"Note: An Oracle document willbe posted on the website that will help you identify the layout that you are
planning to modify.
ERPWebTutor Confidential, Page 2Demo Corp OTL TimeCard Layout Modification
Step: Rename the layout and modity
‘We will name our layout to hxczzhactayt0000deme.Idt
In this case we neat to remove the portion which contains the start time/stop time. Also we need to change the
‘name ofthe layout. Once we have the lt fle, we can open it in notepad/wordpad and make the changes. Below is
‘the highlighted portion of the seeded layout which has been modified:
‘L.changes for naming the Layout
Existing
BEGIN HXC_LAYOUTS "PAYROLL-TIMECARD” "xc
‘ONER = “ORACLE”
DISPLAY_LAYOUT NAME = “Payroll Timecard Layout"
TAYOUT_TYPE ~ PTIMECARD”
TOP_LEVEL REGION CODE = "sMCCONFIGTESTCU!
LAST_UPDATE_DATE = "2004/08/28"
Moditied
OWNER = “ORACLE”
DISELAY_LAYOUT_NaNe ~ "Deii8Q)RAE61 0 Tmecae CAVSUE”
IAYOUL_BYPE = POIMSCARD
Iasi Uroate DATE= "2004/05/24"
2. Changes for Removing the for start Time/Stop Time
Existing
BEGIN HKC_LAYOUT_COMPONENTS "Payroll Timecard Layout - Start Time Lebel”
comin = roRACLE
REGIOW_CODE = "HXC_CUT_TIMECARD™
APPATBOTE_CODE = "HKCLTIMECARD_STARTTIME*
PTRIBUTE_CODE_APP_SHORT_NAME = EXC"
SEQUENCE = "197"
RENDER TYPE = "AEB"
PARENTCOMPONENT = "Payroll Timecard Layout - Table Layout Component.
Labels"
LAST_UEDRTE_DATE = "2004/05/24"
BEGIN EXC_LAYOUT_COMP_QUALIFTERS
“payroll Tinecaza Layout - Start Tine Label”
OWNER = "ORACLE"
QUALIFIER ATTRIBUTE CATEGORY = "DISPLAY _LABELY
QUALIFIER ATTRIBUTEL8 ~ "EXCLUDE
QUALIFIER -APTRISUTELS = "|csv)*
QUALIFTER_ATTRIBUTEZO = "n”
Last_UPDATE_DATE = "2004/05/24"
END EXG_LAYOUT_COMP_QUALIFTERS
ERPWebTutor Confidential, Page 3Demo Corp OTL TimeCard Layout Modification
END HXC_LAYOUT_COMPONENTS
BEGIN HXC_LAYOUT_COMPONENTS "Payroll Timecard Layout ~ Stop Time Label”
REGION_CODE = "HXC_CUT_TTMECARD™
REGION_CODE_APP_SHORT_}AME = "xc"
ATTRIBUTS_CODS = "HXC™TIMECARD_STOPTINE"
‘APTRIBU?E_CODE_APP_SHORT_MAME = “HXC™
SEQUENCE = "196"
COMPONENT_DBETNITTON = "DISPLAY_LABBL
RENDER_TYPS = "WEB" z
PARENTCOMPONENT = "Payroll Timecard Layout - Table Layout Compénent
labels"
TAST_UEDATE_DATE
"2004/05/24"
BEGIN EXC_LAYOUT_COMP_QUALIFIERS
“payroll Tinecatd tayout - Stop Tine/Tabel*
OWNER = "ORACLE"
QUALIFIER APTRIBUTE_CATEGORY = "DISPUAY_LABEL"
QUALIFIER ATTRIBUTET® = "EXCLUDE
QUALTFTER-ATTRIBUTELS = "1¢S¥)"
QUALIFTER_ATTRIBUTE2O ~ mw"
LAST_UPDATE_DATE (= "2004/05/24"
END HXC_LAYOUT_COMP QUALIFIERS
END HKC_LAYOUZ_COMEONENTS
Modified
The) above code has ben renoved
Changes for Removing the fields for Start Time/Stop Time
Existing
BEGIN HX _LAYOUT_COMPONENTS "Payroll Timecard Layout - Start Tine Field"
ORWER"= "ORACLE"
REGION_CODE = "HXC_CUT_TIMECARD®
REGION_CODE_AP?_SHORT_HAME = "EXC"
ATTRIBUTE_CODE_APP_SHORT_NAME = "RKC"
SEQUENCE = "220"
COMPONENT_DEFINITION = *
PARENT_COMPONENT = "Payroll Tinecard Layout - Table Layout Component”
Last_UBDATE_DATE = "2004/05/24"
'EXT_FIELD*
BEGIN HXC_LAYOUT_COMP_QUALTFTERS
"Payroll Tinecard Layout ~ Start Time Field”
OMMER = "ORACLE"
QUALIFIER ATTRIBUTE CATEGORY = "TEXT FIELD"
QUALIFIER ATTRIBOTET = "1" f
QUALIFTER ATTRIBUTE? = "y"
QUALIFIER ATTRIBUTES = "5"
ERPWebTutor Confidential, Page 4Demo Corp OTL TimeCard Layout Modification
QUALTFTER ATTRIBUTES = "1"
QUALIFIER ATTRIBUTES - "8"
QUALIFIER-ATTRIBUTE? = "OraTablecelitext*
QUALIFIER ATTRIBUTE20 = "Ww"
QUALTFTER-ATTRTBUTEZ21 = *W"
QUALTFTER_ATTRIBUTE25 = "TIME_BUTLDTNG_BLOCK_ATTRISUTE"
QUALIFIERCATTRIBUTE2? = "StartTine™
QUALIFTER“ATTRIBUTE2S = "StareTine’
LAST_UEDATE_DATE = "2004/05/24"
END HXC_LAYOOT_COMP_OUALTPTERS
END HXC_LAYOUT_COMPONENTS
BEGIN HXC_LAYOUT_COMPONENTS "Payroll Tinecard Layout -)Stop Tine Field”
OWNER = “ORACLE
REGION_CODE = "HXC_CUT_TIMBCARD"
REGION~CODE_APP_SHORT_JiAME = "EXC
ATTRIBOTE_CODE = "HXC“TIMECARD_STOPTIME
ATTRIBUTE _CODE_APP_SHORT_NAME = "HXC™
SEQUENCE = "240" ~~
COMPONENT_DEFINTTION = "TEXT_FIBLD"
RENDER TYP2 = "WEB" z
PARENT_COMPONENT. =
LasT_UBDATE_DATE
ayroll Tiecatd Layout - Table Layout Component”
004/05 /24"
ecu XC |LAvOUr_Cowp\QUALIFIERS
“Payroll Timecazd Layout - Stop Time Field”
OWNER ~ ORACLE"
QUALIFIER ATTRIBUTE_CATEGORY = *TEXT_FIELO"
QUALIPIBA ATTRIBUTE] = "N*
QUALIFIER ATTRIBUTE? = "Nt
QUALTRIEATATTRIBUTES = "5"
QUALIFIER ATTRIBUTES = "1"
QUALIFIER ATTRIBUTES = "ar
QUALIFIER ATTRIBUTE? = "OraTableCel1Text"
QUALIFIER ATTRIBUTEZO = "N™
QUALIFIER ATTRIBUTE = "NT
QUALIFIER ATTRIBUTEZS = "TIME_BUILDING_BLOCK ATTRIBUTE"
QUALIFIER ATTRIBUTEZ? = "StopTine"
QUALIFIER_ATTRIBUTEZ8 = "stopTine”
LAST_UEDATE_DATE ~ "2004/05/24"
END HXG_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
Modified
‘the above code has been removed.
ERPWebTutor Confidential, Page 5Demo Corp OTL TimeCard Layout Modification
‘Step 3 Upload the modified Layout
To upload the new layouts (for each ofthe layouts in the set you are using, or have customized) to the database
‘execute the following command from the command line:
ENDLOAD username/password@dbname 0 Y UPLOAD $HXC TOP/patch/115/Import/heclaytlayoutsla et
Payouts
‘This command assumes the path envionment varlables are set correcty, so thatthe FNDLOAD executable les on
the path, and the configured layout i inthe current directory and inafilecalled layout it. Once the modified
layout is suecessfuly uploaded, it will be avaliable in the OTL application Preferences form and you can give
Ito user, or groups of users as required,
‘Sample upload command:
ENDLOAD apps/@DEV 0 Y UPLOAD
{/401/apps/oracle/OTRND8S1/apps/apps_st/apol/hxc/12.0.0/pateh/115/importfhxclatlayoutsiddct./
Inxezthaclayt0000demo.dt
Step 4: Add the new template tothe preference
Timecard Layout
TP |Payrott Notification Layout
Results:
‘Once the preference has been update we can now check how the timecard looks tke
‘The following picture shows how the new layout looks lik:
ERPWebTutor Confidential, Page 6Demo Corp OTL TimeCard Layout Modification
‘on | [Sov [Contos]
ne (ph BE Ape BB] D Commer
[aa [erecantor [Fine [nex fore [ive Apri [wei Apri [Wm agria [ra apria [sat Aoria [oum apras [ltt [oats
¥ | ee ee eee eel .
* | I elt cee cell elle .
(ra eter tow] ogame] ° ° a ° ° ° ef
ge ae Sov a tee
(Cexset] [ere] [eos]
ote the tat ineltop
ti a arene lor
sve
Ina similar way you can modify the other layouts as your client's needs.
ERPWebTutor Confidential,