To implement the solution, execute the following steps to enable the INV_INVTOMAI_CREATOR function:
A. Define the INV_INVTOMAI_CREATOR function if it does not already exist:
1. Navigate: System Administrator > Application > Function
2. Enter Function Name: INV_INVTOMAI_CREATOR
3. Enter User Function Name: 'Move Orders Creator'
4. Under the Properties tab, enter Type: Subfunction
5. Enter Maintenance Mode support: None
6. Enter Context Dependence: Responsibility
7. Save
B. Assign the function to the Menu you are using:
1. Navigate System Administrator > Application > Menu
2. Query for menu 'INV_MOVE_ORDER'
3. Add a new line to the menu:
Prompt: 'Move Order Creator'
Function: select 'Move Orders Creator' from the LOV
Description: 'Move Orders Creator'
4. Save
The Created By field in the Move Order find form should now be enabled and modifiable. You may need to sign out and back in for the change to take affect.
Reference: Metalink Note: 280131.1
Search This Blog
Thursday, July 30, 2009
Enable Created By Field in the Find Move Order Screen
Posted by Suresh Vaishya at 10:14 AM 0 comments
Labels: Oracle Inventory
Friday, July 24, 2009
Retrieve IP Address and Host Name usingPL/SQL
On request from one of our reader.
Using the UTL_INADDR package, a PL/SQL subprogram can determine the host name of the local system or the IP address of a given host name.
E.g. Retrieve the local host name and IP address.
SET serveroutput on
BEGIN
DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_NAME); -- get local host name
DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_ADDRESS); -- get local IP addr
DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_ADDRESS('www.oracle.com'));
DBMS_OUTPUT.PUT_LINE(UTL_INADDR.GET_HOST_NAME('141.146.9.91'));
END;
Reference: www.oracle.com
Posted by Suresh Vaishya at 9:54 AM 5 comments
Labels: Oracle
Tuesday, July 14, 2009
Changing the color of an Item in Forms using Forms Personalization
On request here are the steps to change the Font colors of an item using Forms Personalization.
I am using Item Screen for an example and displaying Item number in Red Color.
This is how form looks before customization. Note that Item number is displayed in its default color.
Now lets change the color. Select Help->Diagnostics->Custom Code->Personalize to open the forms personalization screen.
At this point of time there is no condition specified and the Item number is displayed in red in all the cases. So the trigger is written in WHEN-NEW_FORMS-INSTANCE
Click on Actions tab and enter as shown in the screen shot
Save your changes and re-open and query for an item
Note the change in the font color of Item Number.
The Foreground color used in above example is r255g0b0, which can be explained as follows
Any Color is made using combination of Red(r), Green(g) and Blue(b) color with a value ranging from 0 to 255. To create a red color give the value of r to maximum 255 and leave g and b to zero.
Similarly green color can be defined as r0g255b0
P.S. Click on the image to zoom it.
Posted by Suresh Vaishya at 1:34 PM 12 comments
Labels: Forms Personalization
Thursday, July 2, 2009
Set Profile Option Value using PL/SQL
On request here is how to set the profile option value using PL/SQL
Function FND_PROFILE.SAVE can be used to set the value of any profile option at any level i.e. Site, Application, Responsibility, User etc.
Below is a sample code of how to use this function
DECLARE
a BOOLEAN;
BEGIN
a := fnd_profile.SAVE ('CONC_REPORT_ACCESS_LEVEL'
, 'R'
, 'USER'
, '22746'
, NULL
, NULL
);
IF a
THEN
DBMS_OUTPUT.put_line ('Success');
COMMIT;
ELSE
DBMS_OUTPUT.put_line ('Error');
END IF;
END;
Posted by Suresh Vaishya at 11:06 AM 8 comments
Labels: profile
Profile Option to View Output of Request submitted by other User
Set the value of profile Concurrent:Report Access Level to Responsibility.
The output submitted by other users can now be viewed from the responsibility through which the request was submitted.
The other option available is User,which restricts the output only to the user who submitted the request.
Posted by Suresh Vaishya at 10:53 AM 5 comments
Labels: profile, System Administrator