Program to add in the Assignment views Descriptive flexfields segments

Hi,
I have added two context fields values in the descriptive flexfield "Additional Assignment Details". I see that the view hrfg_employee_assignments has reflected those changes and has included 4 attribute columns:
CREATE OR REPLACE VIEW HRFG_EMPLOYEE_ASSIGNMENTS
(BUSINESS_GROUP_NAME, PERSON_NAME, PREFIX, SUFFIX, FIRST_NAME,
LAST_NAME, PREFERRED_NAME, MIDDLE_NAMES, TITLE, COLLECTIVE_AGREEMENT_NAME,
ASSIGNMENT_NUMBER, NORMAL_START_TIME, NORMAL_END_TIME, PRIMARY_FLAG, INTERNAL_ADDRESS,
MANAGER_FLAG, EMPLOYMENT_CATEGORY, ASSIGNMENT_TYPE_CODE, ASSIGNMENT_TYPE, WORKING_HOURS_AMOUNT,
WORKING_HOURS_FREQUENCY, EMPLOYEE_NUMBER, HIRE_DATE, ORIGINAL_DATE_OF_HIRE, WORK_TELEPHONE_NUMBER,
SUPERVISOR_NAME, SUPERVISOR_NUMBER, SALARY_BASIS, ORGANIZATION_NAME, POSITION_NAME,
JOB_NAME, LOCATION_NAME, GRADE_NAME, PEOPLE_GROUP, PAYROLL_NAME,
RECRUITMENT_ACTIVITY_NAME, VACANCY_NAME, USER_ASSIGNMENT_STATUS, PER_SYSTEM_ASSIGNMENT_STATUS, PAY_SYSTEM_ASSIGNMENT_STATUS,
PRIMARY_FLAG_CODE, MANAGER_FLAG_CODE, EMPLOYMENT_CATEGORY_CODE, FREQUENCY_CODE, PER_SYSTEM_STATUS_CODE,
PAY_SYSTEM_STATUS_CODE, PEO_GRP, PEOPLE_GROUP_50309, CONTEXT, DATE_OF_TEST_2,
TIME_OF_TEST_2, PLACE_OF_TEST_2, TYPE_OF_TEST_2, DAYS_FOR_PAY_3, HOURS_FOR_PAY_3,
*"PROM/DEM/TRANSF_ORDER_NUMBER_3"*, ASSIGNMENT_ID, BUSINESS_GROUP_ID, GRADE_ID, JOB_ID,
LOCATION_ID, ORGANIZATION_ID, PAYROLL_ID, PERIOD_OF_SERVICE_ID, PEOPLE_GROUP_ID,
PERSON_ID, POSITION_ID, RECRUITMENT_ACTIVITY_ID, SALARY_BASIS_ID, SUPERVISOR_ID,
VACANCY_ID, COLLECTIVE_AGREEMENT_ID)
AS
SELECT .....
I see that it has added comments in these view columns :
DESC CONTEXT,800,PER_ASSIGNMENTS,A
DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE1
DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE2
and so on.
Now I disable those value codes in the descriptive flexfield from System Administrator and add two new context values.
Which program should I run to reflect these changes in HRFG_EMPLOYEE_ASSIGNMENTS view?
Thank you.

Unfortunately Microsoft decided to make things complicated in 2010. Resource.Assignment.Text1 is not the same as Task.Assignment.Text1.
As far as I know, VBA is the only solution. I would run the code in the before_save event.
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz

Similar Messages

  • ABAP program to add in the process chain before the attribute change run

    Hi
    I need a ABAP program to add in the process chain before the attribute change run(process) to avoid the locks, can any one send me the program
    Regards,
    Satish

    I am not sure of any standard program .... but you can write your own... should be a small one..
    you can check if the table RSDMDENQ has entry for your InfoObject... if yes, then its locked.. if not.. its not locked

  • Non-enabled or non-existent descriptive flexfield segment

    hi m getting this Error when m trying to Save Text Field value in DFF segment
    A value has been provided for a non-enabled or non-existent descriptive flexfield segment. (SEGMENT=ATTRIBUTE17) (VALUE=Y)
    regards,
    Vivek

    Are you trying to use a DFF segment which is not used in the current context. This means you also have the DFF segments being used on the Page.

  • Accessing Descriptive FlexField segments

    Hi
    I have to retreive the segments of a DFF in an OAF page for validation purpose.
    The DFF segments are displayed as LOV (Value Set: ListOfValues) in the page.
    I tried to get a handle using the following code:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    System.out.println("Inside PFR.");
    PERFlexAMImpl peram = (PERFlexAMImpl)pageContext.getApplicationModule(webBean);
    PerAssignmentsFVOImpl pvo = peram.getPerAssignmentsFVO1();
    PerAssignmentsFVORowImpl perrow = null;
    if(pvo != null){
    perrow = (PerAssignmentsFVORowImpl)pvo.getCurrentRow();
    System.out.println("Inside PFR. After RowImpl");
    +if(perrow != null){+
    String DFF_LE= perrow.getAssAttribute10();
    String DFF_BU= perrow.getAssAttribute11();
    String DFF_Dept=perrow.getAssAttribute12();
    String DFF_Site=perrow.getAssAttribute13();
    System.out.println("DFF_LE"+DFF_LE);
    System.out.println("DFF_BU"+DFF_BU);
    System.out.println("DFF_Dept"+DFF_Dept);
    System.out.println("DFF_Site"+DFF_Site);
    Now the values are being captured all right ..but on clicking any of the DFF segment LoV Search button the LoV search Page is throwing the Error:
    Cannot find LOV view object (FlexDynamicLovVO) in LOV AM.
    flex lov info not availabel for DescFlex10 segment
    I have not created any LOV view objects and if i remove the code in PFR (in italics) the page is working fine.
    Thanks
    -debashis

    check these links
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9505005704089159685::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,268782.1,1,1,1,helvetica
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9505005704089159685::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,294000.1,1,1,1,helvetica
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Aggregator did not receive statistics from [sb03] for the current view

    I'm receiving a warning message in a BEA Aqualogic Service Bus console "Aggregator did not receive statistics from [sb03, sb05, sb06, sb04, sb02, sb01] for the current view".
    I don´t have any idea what is the root cause of this issue.
    Thanks,
    Norberto Enomoto

    Norberto,
    I've found this link with a list of SB Runtime Messages.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/messages/alsb/kernel/l10n/ServiceDomainMBean.html
    One of this refer to the problem you're having:
    BEA-473051
    Error: Aggregator did not receive statistics from servers for the current view
    Description
         There is a communication failure between Aggregator server and other managed servers. One of the managed servers failed to send statistics to the managed server on which Aggregator is running.
    Cause
         Communication failure between managed servers.
    Action
         Wait for some time and try again.
    Att.
    José Compadre Junior
    Edited by: user10076953 on 22/03/2010 11:09
    Edited by: user10076953 on 22/03/2010 11:09

  • Automatically populate a Descriptive FlexField with Default Value

    I have 2 Descriptive flexfield segments defined, one is "Start Date" using value set "LS_START_DATE" and the other segment is "End Date" using value set "LS_END_DATE".
    Now when I enter the "Start Date", I want the "End Date" to be populated automatically with the value of "Start Date + 365 days".
    For example:
    If I enter "Start Date" = 25-May-2010
    Then "End Date" should be automatically populated with the value "25-May-2011" (i.e., Start Date + 1 year)
    Is that possible ?
    I tried defining "End Date" segment with "Default Type" as "SQL Statement" and Default Value as "SELECT :$FLEX$.Start Date+365 from dual" , but it's not working.
    Can someone please help ?
    Prashanthi

    I did, the value set created for this segment "Start Date" is "LS_START_DATE" and I changed the sql statement in Default Value to "SELECT :$FLEX$.LS_START_DATE+365 from dual" , but still it is not working ....no luck.
    Prashanthi

  • Hoping we can add "Baseline Work [Assignment]" field to the "My Timesheet" view

    Hey folks,
    I was hoping we can add "Baseline Work [Assignment]" field to the "My Timesheet" view.  Unfortunately there is only "Baseline Work [Task]" in the list.  Are there any work arounds that will help us accomplish this?
    Note we are using Project On-line and Project Pro 2013. 
    Thanks in advance,
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Hi Spiro,
    I confirm your observation and at this time I don't see any workaround. Creating a custom field will not work at assignment level. Maybe some of our colleagues will bring a solution but unless you start a development to achieve your need, I don't see an
    easy way.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Not able to find the Appraisal View in HAP_START_PAGE_POWL_UI program

    Hey gurus,
    Can I change the Status Tab of Appraisal Screen which uses HAP_START_PAGE_POWL_UI program.  There is one link on this page with name Appraisal Document Name which opens a new window but client wants that it uses the same window and then come back to original screen.
    Does anyone gone through this requirement before..??
    Thanks

    Hi All,
                 This issue is resolved. I have done the following steps to make the Z assignment block to be available in the Web Ui....
    1.I have created a Z Component and i have created a view with Z filelds in this Z component.
    2.I have added this in the overview view of the component PR00OV.
    3.I have adde this to the Overview in the view set in Runtime repository of the PRIOOV component
    4.Now the vew is avialble in the configuration and i have added this to the displayed list.
    5.Once this is done it should be displayed in the WEBUi but its not displaying in the WebUi. To resolve this I have made an entry in the table CRMC_PRIL_UIU by giving the
                Object Type       -
    >S
                Object ID            -
    >Obj Name
                BSP Application -
    > Zcomponent (Which i have created)
                View                  -
    >Zview         (Which i have created)
    6.Once i have made an entry in the above mentioned table, My Z assignment block is displayed in the Web UI. With this my problem is solved........
    Regards,
    Lakshman.P

  • Assigning View permission to all the users that have been selected in contact selector - SP 2010, InfoPath 2010

    I have a SharePoint InfoPath 2010 browser form with item level security. Only submitter
    and approvers has access to the form.  This form contains a people picker that is populated with the names of attendees
    for the meeting they attended (which
    I am able to store in Field2 below). I want to allow attendees to be able to view (grant view permission) the InfoPath form. Field 2 has the users in form of domain\user1;domain\user2; etc. Following the below step, I am getting error when I ADD or REPLACE
    permission on current item. How do I go about assigning view permission to all the users that have been selected in contact selector?
    Jitu

    Hi ,
    i understand that the text box and the people picker hold multiple user names and you want to grant user permission based on the user in the text box.
    I have a test based on your description,the results are: When there are multiple users in the text box, the workflow will throw an error'Error Occurred'.It is the same with the people picker column.
    You need to limit the peopel picker to only allow to select one user,in this way the text box will only hold one user.Then you can use the people picker or the text box to grant user permission.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • How can I display assignment-level Work in hours and days in the same view?

    I have a view based on Task Usage and I shows the Work figure for each resource assigned to a task.  My Options settings are to display Work in hours.  Want I'd like to do is have a custom field to calculate the equivalent number of days for each
    assignment-level work value.  Our hours per day are 7.4 so the calculated field should be [Work]/7.4.  eg.
    Task Name >  Work         >  Work-days (Calc'd Field)
    Task 1
        Fred        >  7.4 hrs     >  1 days
     I tried creating a Resource custom field to do this but what displays is the value of the Task-level Work and this same value is repeated on every assignment row.  MSP is not using the Work value of the assignment. 
    Is there a way to acheive this view?
    Thanks
    John

    You're welcome John.
    You could have a calculated task custom field which could divid the work in hours by 7.4 hours, but even like this you couldn't add it to a usage view and it would be only at task level, not assignment. Maybe a VBA macro could switch automatically the option
    but I'm not sure.
    If a reply above helped you, please mark it as an answer so other users with a similar concern can refer to it.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Is there a way to sort by description in the list view of bridge?

    I am trying to sort a mass amount of PDF files using the description meta tag. Is there away to add that tab in the list view under the content panel, or a way to use another panel to view the details of multiple files at once with description included and be able to sort them that way?

    These are the tabs that are displayed and the ones it gives me options for.
    There are many improvements needed for Bridge and the default metadata workspace is certainly one of them. In fact, in its current state it is next to useless and no help at all. But you are right, it should provide you with at least the description field but it does not. Oddly enough, the only way to achieve this is using the bottom right icons in the Bridge window. You see three of them, thumbs, large thumb with list and small thumbs with list. Currently you have selected the default small thumbs with list, if you use the middle one (large thumbs with list) and fiddle around with the slider for the size of the thumbs the description field magically appears in view but you are not able to put it in a separate column.
    So the find option is still your best option I'm afraid...
    You can also try to create your own workspace. Start dragging the borders to change the size of the panels to your comfort so you have a good overview of the panels you want to have in view.
    You can also change the order and place of panels in multiple rows but you are limited to max three columns. Place the cursor on a panel tab and start dragging it to a new location. A single blue line means either between a row or a column, a surrounded blue line means add as a tab in same location. You also can drag the tabs for your custom order.
    Now with the content panel in reasonable size use the icon bottom right for large thumbs and list view and use the slider for correct position of the description field. Save it as a new workspace (important to retrieve it when messed up). You can also have multiple windows in Bridge (at least on a Mac, you seem to be on Windows) and use one for list view and another for find results. etc. etc.

  • Add columns in DataGridView And display it in the report Viewer at RunTime

    Hello Everyone , this is my first participation here, I am civil Engineer and I have a Question 
    I created dataGridViewer connected to a database , when I change the records and reopen the application the changed are saved However , I let the user to add/delete columns during the runtime (by using sql command) ,even though those columns are saved and
    appear at datagridviewer 
    The reported Viewer (which i designed using wizard) is not showing these columns
    what should i do , I have been trying to solve this for a week ! could it be a year ? !  
    I am using c# visual studio 2012 

    Hi Azzam,
    According to your description, you want to display changed columns in ReportViewer control. Right?
    In Reporting Services, when we retrieve the data, the query or stored procedure will only execute one time. So during runtime, the data in a report will not change. So we can't display the changed columns in report during runtime. However, we can set the
    Auto-refresh properties for report so that the report can refresh every X seconds. This is the most effective workaround. Please refer to links below:
    SSRS report auto refresh
    Automatically refreshing your SQL Reporting Services reports with the AutoRefresh element
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

  • How to add custom columns to the list view in Finder

    Hi,
    I'm looking for a way to view additional file details in the list view in Finder, for example audio bit rate, so I don't have to do "Get Info" for each file separately. I couldn't find a way to add columns other than the ones listed on the view options dialog.
    Can anyone help me find a way to do it?
    Thanks,
    Tal

    Have you checked the Help menu for what you want to do? I found this in Apple support - List View Options
    Check the AppleScript Forums. There is probably a script that you can use.

  • MM50 : add new column in the material view

    Dear guru.
    I need to add a new column of material master in the material view of MM50.
    Do you have a solution (exit) in order to solve my problem ?
    Thanks.

    > I need to add a new field in the MM50 transaction not in MM02.
    Der Friend,
    Pls be specific about your query. As you know MM50 is for material view extension which is a std SAP trxn to help extend the views set by standard SAP pack and if you are referring new field as a new view then it is not so easily approachable.
    Shiva

Maybe you are looking for