I have to set Advance Search as the default search option for a look up field/prompt table. When I set the default search option in the component property, all the look up field/prompt tables used in the component follows the same. How do I set the Advance Search as default option for just one look up field?

Thanks for posting your question!

Check ‘Disable Advanced Search Options’ on the record field properties for the other fields.

Thanks

Daniel

Hi,

Please tell me how i would go about implementing DoModalComponent for MAINT_PAYROLL_INTERFACE–> ADDITIONAL_PAY component from any custom page

Thanks.

Thanks for posting your question!

You need to keep a hyperlink in the custom page where you are going to call the domodal. In the hyperlink field change event write the domodalcomponent with the menu mane, component name and the search record object. The search record name of the shared work record (preceded by the reserved word Record). This record must include:

§ Fields that are search keys in the modal component search record; if search key fields are not provided, or if they are invalid, the user accesses the modal component using the search dialog box.

§ Other fields to pass to the modal component.

§ Fields to get back from the modal component after it has finished processing.

DoModalComponent(MENUNAME.MAINTAIN_ITEMS_FOR_INVENTORY, BARNAME.USE_A, ITEMNAME.ITEM_DEFINITION, COMPONENT.ESTABLISH_AN_ITEM, “C”, &WRK_REC1);

Additional Notes:

DoModalComponent is used to navigate to a new component modally. When you navigate to a new component using this method, u cannot change values in the parent component. If you want to pass data from source component to a target component, you should create a record and put this record on the level zero of both components. This way the values assigned to the shared record on the source component are available to you on the target component once it is opened.

Thanks

Senthil Theagarajan

Sachin Deshmukh

Hi,

I have a query on Scrolls.can a scroll contain more than one grid? what objects can’t be placed inside a scroll.

Thanks for posting your question!

Scroll does not relate with Grids. You can have more than one Grid in level1 or level2 or level3 as well you can have more than one scroll area in level1 or level2 or level3. The keys in each of the scroll area of grid should be aligned with the level keys. You can either have a Scroll area or a Grid in a level.

Thanks

Senthil Theagarajan

Hi,

When are the cirmstances under which one would

1. Uncheck the add check box on a component.

2. Add the same page to 2 separate components and

— have just update display check on one component

— and update display all/correction checked on the other.

What design considerations would go into doing this as opposed to having jsut one component with update display/ update display all and correction check on all.

Thanks for your time!

Thanks for posting your question!

When you revmove the add check box, you will not be able to Add any new values into the comoponent you can search the values and then only enter the component – example Job component you will not have add.

When the update/display is selected the user can see only the most effective dated row less than the sysdate, When the update/display all and correction is selected the entire set of records will be visible. Only in the correction mode you will be able to modify the history rows.

The design consideration is that for using update /display all and correction the component should have effective dated record primarily. For example, see Job component for the update/display all and correction.

Thanks

Senthil Theagarajan

Hi,

This is about Component Interface.

I’ve CI with one key field… when I run this CI in test mode this runs fine, that is it gives me the desired result.

But when I’m calling it through peoplecode, then it is not returning any value.

Below is the code being used..

Local ApiObject &oWrkrCI = %Session.GetCompIntfc(CompIntfc.RFM_WORKER);

If &oWrkrCI <> Null Then

&oWrkrCI.PERSON_ID = &sPERSON_ID;

If &oWrkrCI.get() Then

&sGoodsRecvNo = &oWrkrCI.PHYSICAL_LOCATION;

Else

&sGoodsRecvNo = “could not get”;

End-If;

Else

&sGoodsRecvNo = “”;

End-If;

everytime the value ‘could not get’ is being returned.

please help.

Thanks for posting your question!

Please check if your userid has access to this components interface. Verify the security. Please check any of the peoplesoft provided CI implementation. There is an error display code available. If you use this error handling function in your peoplecode, you can get the exact error. Based on this error you can trouble shoot the problem. Below is the sample code for tracing the error:

Function IScript_DisplayErrors Returns string

&errMsgs = &oSession.PSMessages;

If &errMsgs.Count > 0 Then

For &i = 1 To &errMsgs.Count

&ERROR = &errMsgs.Item(&i);

If None(&ERROR.Source) Then

&Error_txt = &ERROR.Text | “ ” | &ERROR.ExplainText;

Else

&Error_txt = &ERROR.Text | “ ” | &ERROR.ExplainText | ” (Source:” | &ERROR.Source | “)”;

End-If;

MessageBox(0, “”, 0, 0, &Error_txt);

End-For;

rem &errMsgs.DeleteAll();

End-If;

Return &Error_txt;

End-Function;

Thanks

Sachin Deshmukh

Posted by Nitin Pai
Comments (0)
November 24th, 2008

Comments (0)