Sunday, March 22, 2009

Enable Search Functionality For Move Orders Created By Other Users On Find Move Orders

In the Move Orders form (INVTOMAI), when using the Find function, the Created By field cannot bechanged. For this reason, move orders from other users cannot be queried.
The security function INV_INVTOMAI_CREATOR is not enabled in the menu being used. The form INVTOMAI.fmb within the Package TOMAI_MENU and PROCEDURE CREATED_BY_CHECK checks for the function INV_INVTOMAI_CREATOR. If it is not enabled for the user, the Created By field is not updatable.
Execute the following steps to enable the INV_INVTOMAI_CREATOR function:
A. Define the INV_INVTOMAI_CREATOR function if is does not already exist:
Navigate: System Administrator > Application > Function
Enter Function Name: INV_INVTOMAI_CREATOR
Enter User Function Name: 'Move Orders Creator'
Under the Properties tab, enter Type: Subfunction
Enter Maintenance Mode support: None
Enter Context Dependence: Responsibility
Save
B. Assign the function to the Menu you are using:
Navigate System Administrator > Application > Menu
Click on the flash light icon from Tool bar.
Add a new line to the menu:Prompt: 'Move Order Creator'Function: select 'Move Orders Creator' from the LOVDescription: 'Move Orders Creator'
Save
C. Check the Functionality
Go the the responsibility that has move orders and open move order screen.
Query for menu 'INV_MOVE_ORDER'
The Created By field in the Move Order find form should now be enabled and modifiable.
When you go to created by field you will see an LOV. Select the user whose move orders have to be View or cancel.
Hit Find button
Now click on open for the records retrieved. Select from tool bar tools > Cancel if you want to cancel or close to close the move order.
Note: You may need to sign out and back in for the change to take affect.
Ref Doc: Note:280131.1