Current Position:Home > How to access custom attribute value on the timecard at runtime

How to access custom attribute value on the timecard at runtime

Update:10-11Source: network consolidation
Advertisement
I have created 2 attributes; Project and Task.
Once a employee selects the Project from the Projects custom LOV I want the Task LOV to display only the tasks related to that particular project.
How to access the PROJECT_ID during runtime which the user selects from Projects LOV?

The Best Answer

Advertisement
Hi
I have added the below text in the ldt file.
But its not working? Any suggestions?
What may be going wrong?
# CSR Project List
BEGIN HXC_LAYOUT_COMPONENTS "XXCSR1 Payroll Timecard Layout - Project"
OWNER = "CUSTOM"
COMPONENT_VALUE = "XXCSRPROJECT"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "XXCSR_HXC_TIMECARD_PROJECT"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "211"
COMPONENT_DEFINITION = "CHOICE_LIST"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"XXCSR1 Payroll Timecard Layout - Day Scope Building blocks for worker timecard matrix"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "XXCSR1 Payroll Timecard Layout - Project"
OWNER = "CUSTOM"
QUALIFIER_ATTRIBUTE_CATEGORY = "CHOICE_LIST"
QUALIFIER_ATTRIBUTE1 = "Custom1VO"
QUALIFIER_ATTRIBUTE4 = "N"
QUALIFIER_ATTRIBUTE5 = "15"
QUALIFIER_ATTRIBUTE6 =
"XxcsrProjectId|Projects List|RESULT|N"
QUALIFIER_ATTRIBUTE10 =
"oracle.apps.hxc.selfservice.timecard.server.Custom1VO"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "L"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "Projects List"
QUALIFIER_ATTRIBUTE27 = "Attribute1"
QUALIFIER_ATTRIBUTE28 = "Projects List"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
# CSR Project List
# CSR Task List
BEGIN HXC_LAYOUT_COMPONENTS "XXCSR1 Payroll Timecard Layout - Task"
OWNER = "CUSTOM"
COMPONENT_VALUE = "XXCSRTASK"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "XXCSR_HXC_TIMECARD_TASK"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "212"
COMPONENT_DEFINITION = "CHOICE_LIST"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"XXCSR1 Payroll Timecard Layout - Day Scope Building blocks for worker timecard matrix"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "XXCSR1 Payroll Timecard Layout - Task"
OWNER = "CUSTOM"
QUALIFIER_ATTRIBUTE_CATEGORY = "CHOICE_LIST"
QUALIFIER_ATTRIBUTE1 = "Custom2VO"
QUALIFIER_ATTRIBUTE4 = "N"
QUALIFIER_ATTRIBUTE5 = "15"
QUALIFIER_ATTRIBUTE10 =
"oracle.apps.hxc.selfservice.timecard.server.Custom2VO"
QUALIFIER_ATTRIBUTE14 =
"HxcCuiTaskProjectId|PROJECT|Y"
QUALIFIER_ATTRIBUTE15 =
"pro_id = ::XxcsrProjectId"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "L"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "Projects List"
QUALIFIER_ATTRIBUTE27 = "Attribute2"
QUALIFIER_ATTRIBUTE28 = "Task List"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
# CSR Task List
###########################################################
  • How to access custom attribute value on the timecard at runtime Update:10-11

    I have created 2 attributes; Project and Task. Once a employee selects the Project from the Projects custom LOV I want the Task LOV to display only the tasks related to that particular project. How to access the PROJECT_ID during runtime which the us

  • Access Custom Attributes in JavaScript and in Transactions Update:11-30

    Hello, I try to work with custom attributes. I've problems accessing the values in JavaScript and in transactions, but it works fine within .irpt pages. What's the trick? For a custom attribute called PLANT, can I write something like this in JavaScr

  • How to Access Custom Attributes created in UME. Update:10-11

    Hi All, I have created a custom attribute in UME by using the config tool, the problem that i was facing is i am unable to access those custom attributes via Iuser Api i.e even though i am using the method getAttributeNamespaces() it is returning all

  • Accessing custom attributes in LDAP using WD Java - UME APIs Update:10-11

    Hello Friends, I am trying to access a custom attribute from LDAP in WebDynpro Java. I am using bellow code. IWDClientUser clientUser = WDClientUser.getCurrentUser(); IUser sapUser = clientUser.getSAPUser(); if (sapUser != null) { String[] str_emp =

  • How do I access the name of the file stored in a custom attribute? Update:10-11

    I have created a custom attribute based on a file type and am using it in a custom page type. However, the value stored in wwsbr_folder_attributes is a sequential number rather than the name of the jpg file entered into the attribute. How do I access

  • How to access custom ume user attributes via VC? Update:10-11

    Hi guys, I configured a custom user attribute within the ume configuration: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/44/0316d50bbe025ce10000000a1553f7/frameset.htm">Adding Custom Attributes to the User Profile</a> Now

  • How to access custom property for attribute and control in .vm file? Update:10-11

    Hi, I have created custom properties in OPM for attribute and apply also that properties to attribute. But if how to access that value in .vm file? I accessed using $attribute.getProperty("ScreenProp", "default value") but it's not wor

  • Accessing UME Custom Attributes Update:11-30

    Hi All, I am trying to access the UME custom attribute for all the users in Webdynpro. There is only one Portal and there is no LDAP. I used IUser user = UMFactory.getUserFactory().getUser(uniqeID); IWDClientUser wdUser1 = WDClientUser.getClientUser(

  • Declaring and accessing custom global attributes of component controller Update:10-11

    Hi, I want to declare some global attributes for Component Controller and initialize them in WdDoInit() method. I have declared them under Component Controller --> Attributes tab --> after wd_context and wd_this (say G_MESSAGE). However,  when I am

  • Limitation on number of custom attributes visible Update:10-11

    Hi, I am using OIM 11g. All the custom attributes are visible on the create user form. I am able to see only 8 custom attributes on the modify user form. The visible property of all the attributes is set to true. I cannot modify the attribute once it