Timecard Layout Modification

Requirement of Timecard Layout Modification:

Let's assume that following SFDC /Partner Name field needs to be modified to increase the length of the field  in Timecard Layout:
Timecard Layout Modification


I am going to tell you how we can increase the length of the field in Oracle Timecard layout. But the field cannot modified using Personalization from the standard Oracle Applications Framework (OAF) functionality. All the changes to the layout must be made via the Oracle Time and Labor page layout definition. We need to modify the Timecard Layout configuration file for this requirement.

Solution to Timecard Layout Modification:

In order to increase the length of the field in the Timecard Layout, we need to get the layout name and ldt file for the Timecard layout. To get the current layout name follow the below steps:

Global OTL Administrator --> Preference
Press Timecard Layout --> Preference Values, following window will open:
Timecard Layout

Timecard Layout: Projects Timecard Layout - With Project & Task details Concatenated Canon

Get Timecard Layout Code:

SELECT layout_name
  FROM hxc_layouts_vl
 WHERE display_layout_name = 'Projects Timecard Layout - With Project & Task details Concatenated';


Layout_name

---------------------------------------------------------

PROJECTS-DET-TIME-XX

Download Ldt file:
FNDLOAD apps/apps_support01 0 Y DOWNLOAD $HXC_TOP/patch/115/import/hxclaytlayoutsld.lct xxtimecardlayout_new.ldt HXC_LAYOUTS LAYOUT_NAME='PROJECTS-DET-TIME-XX'

Changes the ldt for field width:
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Details Timecard Layout - SFDC"
      OWNER = "ORACLE12.1.3"
      QUALIFIER_ATTRIBUTE_CATEGORY = "TEXT_FIELD"
      QUALIFIER_ATTRIBUTE1 = "N"
      QUALIFIER_ATTRIBUTE2 = "N"
      QUALIFIER_ATTRIBUTE3 = "25"
      QUALIFIER_ATTRIBUTE4 = "1"
      QUALIFIER_ATTRIBUTE5 = "50"
      QUALIFIER_ATTRIBUTE7 = "OraTableCellText"
      QUALIFIER_ATTRIBUTE17 = "NONE"
      QUALIFIER_ATTRIBUTE20 = "N"
      QUALIFIER_ATTRIBUTE21 = "Y"
      QUALIFIER_ATTRIBUTE22 = "L"
      QUALIFIER_ATTRIBUTE25 = "FLEX"
      QUALIFIER_ATTRIBUTE26 = "Dummy Element Context"
      QUALIFIER_ATTRIBUTE27 = "Attribute15"
      QUALIFIER_ATTRIBUTE28 = "SFDC"
      QUALIFIER_ATTRIBUTE30 = "N"
      LAST_UPDATE_DATE = "2011/10/11"
    END HXC_LAYOUT_COMP_QUALIFIERS

Update the above highlighted field  of Timecard Layout as below:
      QUALIFIER_ATTRIBUTE3 = "50"
      QUALIFIER_ATTRIBUTE5 = "75"

Uploading Timecard Layout:

To upload the new layouts (for each of the layouts in the set you are using, or have customized) to the database execute the following command from the command line:


FNDLOAD apps/apps_support01 0 Y UPLOAD $HXC_TOP/patch/115/import/hxclaytlayoutsld.lct xxtimecardlayout_new.ldt

Comments

Popular posts from this blog

XML Publisher Request Fails Due to Output Post Processing Issue

Oracle Database Connection to TOAD

Conditionally mandatory parameters of concurrent program