SlideShare a Scribd company logo
Run Report From Personalization
Purpose : Run Request From Tools Menu And Get Parameter From Current Record
1. To Get Request Information
A- Login to Oracle Apps with the specified user name and password
B- Navigate to System Administrator Responsibility > Concurrent >Program >Define
Program Parameter
Report Template Information
Application Inventory INV
Program XX LOT Number Label XX-INV-LOT-INFO
Template Name XX-INV-LOT-INFO
2. Login To Oracle Database Using Apps user
- Create Package Or Add this Procedure To Existing Package
Package
Specification CREATE OR REPLACE PACKAGE APPS.XX_RUN_REQUEST
AS
PROCEDURE XX_INV_LOT_INFO
( P_1 number Default Null,
P_2 varchar2 Default Null ,
P_3 varchar2 Default Null ,
P_4 varchar2 Default Null
) ;
END XX_RUN_REQUEST;
Package Body CREATE OR REPLACE PACKAGE BODY APPS.XX_RUN_REQUEST AS
PROCEDURE XX_INV_LOT_INFO
(
-- Calling Request by Personlization
--ERRBUF out VARCHAR2 , RETCODE out NUMBER
/* Parameter For E Business Suit Report Status and Logs ** Don't Use Here
Because that will be Called From Personalization */
--- Report Parameter
P_1 number Default Null ,
P_2 varchar2 Default Null ,
P_3 varchar2 Default Null ,
P_4 varchar2 Default Null
---- Module and Layout Parameter
/*
P_Module_NAME varchar2 ,--default 'INV' ,
P_TEMPLATE_CODE varchar2 ,--default 'XX' ,
P_PROG_SHORT varchar2 --default 'XX'
*/
)
IS
req_id number;
xml_layout boolean;
print_status boolean;
l_return boolean;
typ varchar(10):='Y';
UserName varchar2(255);
x_time boolean;
l_phase varchar2(255);
l_status varchar2(255);
l_dev_phase varchar2(255);
l_dev_status varchar2(255);
l_message varchar2(255);
timestart varchar2(255);
BEGIN
apps.fnd_global.apps_initialize(user_id =>fnd_global.USER_ID ,resp_id
=>fnd_global.RESP_ID ,resp_appl_id =>fnd_global.RESP_APPL_ID);
UserName := fnd_global.user_name;
SELECT SYSDATE + 3 / 1440 INTO timestart FROM DUAL; --> Calc 3 minuts After the
Current sysdate on Varaib;e timestart
IF FND_REQUEST.set_options('NO', 'YES') then --->> appear the Request to
user and protect against update
/*Optionally call before submitting a concurrent request to set request
options.
to appear to user on his concuurent Screen " Concureent Request Form "
first Parmeter implicit
Values NO --> Appear to user
YES --> appear For only system Administrator
ERROR --> Appear Only for user if Ended with Fails
WOrNING --> appear to user only if End with Error or Warning
-------------------------
seconf parameter protected ( Protected Against update )
YES --> Protected
NO --> Not Protected
Third anf FOur to detec the Trritory and language
*/
xml_layout := fnd_request.add_layout ('INV','XX-INV-LOT-INFO','en',NULL,'PDF');
--->
IF( fnd_request.set_print_options('', 'LANDSCAPE', 0, True, 'N'))then -- don't
know what is mean with '' //
-----Add the Printer to the Request Screen under Application Developer
----- if Printer defined under Request Screen , it is Not Changed Through Code
and will Taken '' as the Previous Code
----- Define the LANDSCAPE or PORTRAIT
----- Number of Copies
----- Save Output
----- Print the main Request and sub Request
--- Run Request
req_id := fnd_request.submit_request('INV','XX-INV-LOT-INFO'
,NULL,timestart,FALSE, P_1,P_2,P_3,P_4);
if FND_SUBMIT.SET_REL_CLASS_OPTIONS ('INV', NULL,'H', sysdate +10/1440)then ---
> as Scheduled to run After period 10 minutes
/*
function set_rel_class_options (application IN varchar2 default NULL,
class_name IN varchar2 default NULL,
cancel_or_hold IN varchar2 default 'H',
stale_date IN varchar2 default NULL)
return boolean is
*/
--if req_id<>0 then
--l_return :=fnd_concurrent.wait_for_request (request_id => req_id,
-- INTERVAL => 5,
-- max_wait => 60,
-- phase => l_phase,
-- STATUS => l_status,
-- dev_phase => l_dev_phase,
-- dev_status =>
l_dev_status,
-- MESSAGE => l_message
-- );
--dbms_output.put_line('4');
--end if;
commit;
end if;
end if;
end if;
END;
END XX_RUN_REQUEST;
/
3. Navigate To Inventory > On-hand, Availability> Lots
4. Click Help > Diagnostics > Custom code > Click on the last selection: 'Personalize'
5. Under Conditions tab > Trigger Event = SPECIAL10
6. Set the Context level to User and Value to
--Note: to simplify setup required, you can choose to set the condition context to responsibility.
This would allow you to assign a group of users to a responsibility, then the setup above would
only need completed once at the responsibility level. Otherwise this setup step would be required
for each user.
7. Click to Actions tab and define following actions -
Seq. Type Language Builtin Type Argument
10 Builtin All Execute a
Procedure
'declare
P_1 number := '||${ps.mfg_organization_id.value} || ' ;
P_2 varchar2(400) :=
'''||${item.MTL_LOT_NUMBERS.lot_number.value}|| ''';
P_3 varchar2(400) := '''||${item.mtl_lot_numbers.item_name.value}||
''';
P_4 varchar2(400) := '''||${item.mtl_lot_numbers.item_name.value}||
''';
begin
APPS.XX_RUN_REQUEST.XX_INV_LOT_INFO(P_1,P_2,P_3,P_4
);
end'
8.Save the changes.
Add New Line
5. Under Conditions tab > Trigger Event = WHEN-NEW-FORM-INSTANCE
6. Set the Context level to User and Value to
--Note: to simplify setup required, you can choose to set the condition context to responsibility.
This would allow you to assign a group of users to a responsibility, then the setup above would
only need completed once at the responsibility level. Otherwise this setup step would be required
for each user.
7. Click to Actions tab and define following actions -
Seq. Type Language Menu Entry Menu Label
10 Menu All SPECIAL10 Print Lot Label
8.Save the changes.
9.Close The Lots form and re-open it. Now test it.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
TestScenario
1- Open Lots From
View Requests
Done ‫هلل‬ ‫الحمد‬
Ad

More Related Content

What's hot (20)

R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfers
shravan kumar chelika
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...
Ahmed Elshayeb
 
How to apply surcharges to the sales orders surcharges to the sales orders
How to apply surcharges to the sales orders surcharges to the sales ordersHow to apply surcharges to the sales orders surcharges to the sales orders
How to apply surcharges to the sales orders surcharges to the sales orders
Subramanyam Yadav
 
Oracle EBS R12 Sales order personalization
Oracle EBS R12 Sales order personalizationOracle EBS R12 Sales order personalization
Oracle EBS R12 Sales order personalization
Ahmed Elshayeb
 
Oracle ebs otl setup document
Oracle ebs otl setup documentOracle ebs otl setup document
Oracle ebs otl setup document
Feras Ahmad
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self service
Feras Ahmad
 
Oracle hrms bg setup examples
Oracle hrms bg setup examplesOracle hrms bg setup examples
Oracle hrms bg setup examples
Oracle HRMS Functional Consultant
 
Select All Record From Tools Menu On Find Receipts For Matching Form
Select All Record From Tools Menu On Find Receipts For Matching FormSelect All Record From Tools Menu On Find Receipts For Matching Form
Select All Record From Tools Menu On Find Receipts For Matching Form
Ahmed Elshayeb
 
Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...
Ahmed Elshayeb
 
Oracle EBS HRMS SETUP
Oracle EBS HRMS SETUPOracle EBS HRMS SETUP
Oracle EBS HRMS SETUP
Hussain Abbas
 
Accrual plan set up in oracle hrms
Accrual plan set up in oracle hrmsAccrual plan set up in oracle hrms
Accrual plan set up in oracle hrms
Rajiv reddy
 
Oracle HRMS Document R12.
Oracle HRMS Document R12.Oracle HRMS Document R12.
Oracle HRMS Document R12.
Malaysia Employment Service / Business Idea.
 
Oracle Payables R12 ivas
Oracle Payables R12 ivasOracle Payables R12 ivas
Oracle Payables R12 ivas
Ali Ibrahim
 
Select all record from menu for matching item type in ap invoice personalization
Select all record from menu for matching item type in ap invoice personalizationSelect all record from menu for matching item type in ap invoice personalization
Select all record from menu for matching item type in ap invoice personalization
Ahmed Elshayeb
 
Oracle HRMS Proration
Oracle HRMS ProrationOracle HRMS Proration
Oracle HRMS Proration
runjithrocking
 
Sales Order needs to be automatically reserved, shipped & invoiced without an...
Sales Order needs to be automatically reserved, shipped & invoiced without an...Sales Order needs to be automatically reserved, shipped & invoiced without an...
Sales Order needs to be automatically reserved, shipped & invoiced without an...
Ahmed Elshayeb
 
Understanding and using life event checklists in oracle hrms r12
Understanding and using life event checklists in oracle hrms r12Understanding and using life event checklists in oracle hrms r12
Understanding and using life event checklists in oracle hrms r12
MuhammadAbubakar206124
 
Inventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktopInventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktop
Ahmed Elshayeb
 
Oracle EBS Self service from A to Z
Oracle EBS Self service from A to ZOracle EBS Self service from A to Z
Oracle EBS Self service from A to Z
Feras Ahmad
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADI
RapidValue
 
R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfers
shravan kumar chelika
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...
Ahmed Elshayeb
 
How to apply surcharges to the sales orders surcharges to the sales orders
How to apply surcharges to the sales orders surcharges to the sales ordersHow to apply surcharges to the sales orders surcharges to the sales orders
How to apply surcharges to the sales orders surcharges to the sales orders
Subramanyam Yadav
 
Oracle EBS R12 Sales order personalization
Oracle EBS R12 Sales order personalizationOracle EBS R12 Sales order personalization
Oracle EBS R12 Sales order personalization
Ahmed Elshayeb
 
Oracle ebs otl setup document
Oracle ebs otl setup documentOracle ebs otl setup document
Oracle ebs otl setup document
Feras Ahmad
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self service
Feras Ahmad
 
Select All Record From Tools Menu On Find Receipts For Matching Form
Select All Record From Tools Menu On Find Receipts For Matching FormSelect All Record From Tools Menu On Find Receipts For Matching Form
Select All Record From Tools Menu On Find Receipts For Matching Form
Ahmed Elshayeb
 
Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...
Ahmed Elshayeb
 
Oracle EBS HRMS SETUP
Oracle EBS HRMS SETUPOracle EBS HRMS SETUP
Oracle EBS HRMS SETUP
Hussain Abbas
 
Accrual plan set up in oracle hrms
Accrual plan set up in oracle hrmsAccrual plan set up in oracle hrms
Accrual plan set up in oracle hrms
Rajiv reddy
 
Oracle Payables R12 ivas
Oracle Payables R12 ivasOracle Payables R12 ivas
Oracle Payables R12 ivas
Ali Ibrahim
 
Select all record from menu for matching item type in ap invoice personalization
Select all record from menu for matching item type in ap invoice personalizationSelect all record from menu for matching item type in ap invoice personalization
Select all record from menu for matching item type in ap invoice personalization
Ahmed Elshayeb
 
Sales Order needs to be automatically reserved, shipped & invoiced without an...
Sales Order needs to be automatically reserved, shipped & invoiced without an...Sales Order needs to be automatically reserved, shipped & invoiced without an...
Sales Order needs to be automatically reserved, shipped & invoiced without an...
Ahmed Elshayeb
 
Understanding and using life event checklists in oracle hrms r12
Understanding and using life event checklists in oracle hrms r12Understanding and using life event checklists in oracle hrms r12
Understanding and using life event checklists in oracle hrms r12
MuhammadAbubakar206124
 
Inventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktopInventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktop
Ahmed Elshayeb
 
Oracle EBS Self service from A to Z
Oracle EBS Self service from A to ZOracle EBS Self service from A to Z
Oracle EBS Self service from A to Z
Feras Ahmad
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADI
RapidValue
 

Similar to Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شاشة معينة وتأخذ حدود الإستعلام من علي السجل الي انتا واقف عليه (20)

Implement auto refresh function in oracle ebs 12.1.3
Implement auto refresh function in oracle ebs 12.1.3Implement auto refresh function in oracle ebs 12.1.3
Implement auto refresh function in oracle ebs 12.1.3
Hassan Abd Elrahman
 
Merged document
Merged documentMerged document
Merged document
sreeja_16
 
2nd--mac ver
2nd--mac ver2nd--mac ver
2nd--mac ver
Shafeer Khan
 
Android Froyo
Android FroyoAndroid Froyo
Android Froyo
Robert Cooper
 
Troubleshooting oracle apps
Troubleshooting oracle appsTroubleshooting oracle apps
Troubleshooting oracle apps
vamsi18here
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
shravan kumar chelika
 
Oa Framework Tutorial
Oa Framework TutorialOa Framework Tutorial
Oa Framework Tutorial
nolimit797
 
Fndload commands
Fndload commandsFndload commands
Fndload commands
Nadia Saissi
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
keturahhazelhurst
 
Validate maximum expiration date for items lots
Validate maximum expiration date for items lotsValidate maximum expiration date for items lots
Validate maximum expiration date for items lots
Ahmed Elshayeb
 
Resilient Integration to QRadar Advisor (1).pdf
Resilient Integration to QRadar Advisor (1).pdfResilient Integration to QRadar Advisor (1).pdf
Resilient Integration to QRadar Advisor (1).pdf
hieunn131
 
Leture5 exercise onactivities
Leture5 exercise onactivitiesLeture5 exercise onactivities
Leture5 exercise onactivities
maamir farooq
 
Lecture exercise on activities
Lecture exercise on activitiesLecture exercise on activities
Lecture exercise on activities
maamir farooq
 
Apps1
Apps1Apps1
Apps1
Sultan Sharif
 
Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012
Yan Vugenfirer
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
vbpc
 
Customer bank account assignment detail report
Customer bank account assignment detail reportCustomer bank account assignment detail report
Customer bank account assignment detail report
lingaswamy vallapu
 
User hook implemantation sample example
User hook implemantation  sample exampleUser hook implemantation  sample example
User hook implemantation sample example
Ashish Harbhajanka
 
Configure &amp; send push notification on i os device
Configure &amp; send push notification on i os deviceConfigure &amp; send push notification on i os device
Configure &amp; send push notification on i os device
ShepHertz
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment system
pranoy_seenu
 
Implement auto refresh function in oracle ebs 12.1.3
Implement auto refresh function in oracle ebs 12.1.3Implement auto refresh function in oracle ebs 12.1.3
Implement auto refresh function in oracle ebs 12.1.3
Hassan Abd Elrahman
 
Merged document
Merged documentMerged document
Merged document
sreeja_16
 
Troubleshooting oracle apps
Troubleshooting oracle appsTroubleshooting oracle apps
Troubleshooting oracle apps
vamsi18here
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
shravan kumar chelika
 
Oa Framework Tutorial
Oa Framework TutorialOa Framework Tutorial
Oa Framework Tutorial
nolimit797
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
keturahhazelhurst
 
Validate maximum expiration date for items lots
Validate maximum expiration date for items lotsValidate maximum expiration date for items lots
Validate maximum expiration date for items lots
Ahmed Elshayeb
 
Resilient Integration to QRadar Advisor (1).pdf
Resilient Integration to QRadar Advisor (1).pdfResilient Integration to QRadar Advisor (1).pdf
Resilient Integration to QRadar Advisor (1).pdf
hieunn131
 
Leture5 exercise onactivities
Leture5 exercise onactivitiesLeture5 exercise onactivities
Leture5 exercise onactivities
maamir farooq
 
Lecture exercise on activities
Lecture exercise on activitiesLecture exercise on activities
Lecture exercise on activities
maamir farooq
 
Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012Windows guest debugging presentation from KVM Forum 2012
Windows guest debugging presentation from KVM Forum 2012
Yan Vugenfirer
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
vbpc
 
Customer bank account assignment detail report
Customer bank account assignment detail reportCustomer bank account assignment detail report
Customer bank account assignment detail report
lingaswamy vallapu
 
User hook implemantation sample example
User hook implemantation  sample exampleUser hook implemantation  sample example
User hook implemantation sample example
Ashish Harbhajanka
 
Configure &amp; send push notification on i os device
Configure &amp; send push notification on i os deviceConfigure &amp; send push notification on i os device
Configure &amp; send push notification on i os device
ShepHertz
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment system
pranoy_seenu
 
Ad

More from Ahmed Elshayeb (20)

Personalization who i can restrict subinventory locator to store one item only
Personalization who i can restrict subinventory locator to store one item onlyPersonalization who i can restrict subinventory locator to store one item only
Personalization who i can restrict subinventory locator to store one item only
Ahmed Elshayeb
 
Oracle Purchasing Internal Requisition
Oracle Purchasing Internal RequisitionOracle Purchasing Internal Requisition
Oracle Purchasing Internal Requisition
Ahmed Elshayeb
 
Customized security roles
Customized security rolesCustomized security roles
Customized security roles
Ahmed Elshayeb
 
Cascading dependencies
Cascading dependenciesCascading dependencies
Cascading dependencies
Ahmed Elshayeb
 
Oracle Personalization Restrict Subinventory And Lot Number LOV Dependent On...
Oracle Personalization Restrict Subinventory And Lot Number LOV  Dependent On...Oracle Personalization Restrict Subinventory And Lot Number LOV  Dependent On...
Oracle Personalization Restrict Subinventory And Lot Number LOV Dependent On...
Ahmed Elshayeb
 
How to configure LCM After receiving
How to configure LCM After receivingHow to configure LCM After receiving
How to configure LCM After receiving
Ahmed Elshayeb
 
How to install a font using xml publisher administrator
How to install a font using xml publisher administratorHow to install a font using xml publisher administrator
How to install a font using xml publisher administrator
Ahmed Elshayeb
 
Oracle Order Management (Assign freight cost on shipping transaction)
Oracle Order Management (Assign freight cost on shipping transaction)Oracle Order Management (Assign freight cost on shipping transaction)
Oracle Order Management (Assign freight cost on shipping transaction)
Ahmed Elshayeb
 
Personalization to restrict subinventory lov in interorganization transfer كي...
Personalization to restrict subinventory lov in interorganization transfer كي...Personalization to restrict subinventory lov in interorganization transfer كي...
Personalization to restrict subinventory lov in interorganization transfer كي...
Ahmed Elshayeb
 
Personalizations for control deliver to organizations in Purchase Requisition...
Personalizations for control deliver to organizations in Purchase Requisition...Personalizations for control deliver to organizations in Purchase Requisition...
Personalizations for control deliver to organizations in Purchase Requisition...
Ahmed Elshayeb
 
Personalization to restrict subinventory lov in miscellaneous transaction to ...
Personalization to restrict subinventory lov in miscellaneous transaction to ...Personalization to restrict subinventory lov in miscellaneous transaction to ...
Personalization to restrict subinventory lov in miscellaneous transaction to ...
Ahmed Elshayeb
 
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام APIItems Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Ahmed Elshayeb
 
Assign Freight Cost On Shipping Transaction
Assign Freight Cost On Shipping TransactionAssign Freight Cost On Shipping Transaction
Assign Freight Cost On Shipping Transaction
Ahmed Elshayeb
 
Procedure To Store Database Object Size And Number Of Rows In Custom Table
Procedure To Store Database Object Size And Number Of Rows In Custom TableProcedure To Store Database Object Size And Number Of Rows In Custom Table
Procedure To Store Database Object Size And Number Of Rows In Custom Table
Ahmed Elshayeb
 
Personalization to restrict values in customer name and number lov in sales o...
Personalization to restrict values in customer name and number lov in sales o...Personalization to restrict values in customer name and number lov in sales o...
Personalization to restrict values in customer name and number lov in sales o...
Ahmed Elshayeb
 
Oracle Inventory Restrict user from update item attribute personalization
Oracle Inventory Restrict user from update item attribute personalizationOracle Inventory Restrict user from update item attribute personalization
Oracle Inventory Restrict user from update item attribute personalization
Ahmed Elshayeb
 
Oracle Web Adi For upload item master
Oracle Web Adi For upload item masterOracle Web Adi For upload item master
Oracle Web Adi For upload item master
Ahmed Elshayeb
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12
Ahmed Elshayeb
 
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Ahmed Elshayeb
 
Restrict user from use account aliases incompatible with transaction action
Restrict user from use account aliases incompatible with transaction actionRestrict user from use account aliases incompatible with transaction action
Restrict user from use account aliases incompatible with transaction action
Ahmed Elshayeb
 
Personalization who i can restrict subinventory locator to store one item only
Personalization who i can restrict subinventory locator to store one item onlyPersonalization who i can restrict subinventory locator to store one item only
Personalization who i can restrict subinventory locator to store one item only
Ahmed Elshayeb
 
Oracle Purchasing Internal Requisition
Oracle Purchasing Internal RequisitionOracle Purchasing Internal Requisition
Oracle Purchasing Internal Requisition
Ahmed Elshayeb
 
Customized security roles
Customized security rolesCustomized security roles
Customized security roles
Ahmed Elshayeb
 
Cascading dependencies
Cascading dependenciesCascading dependencies
Cascading dependencies
Ahmed Elshayeb
 
Oracle Personalization Restrict Subinventory And Lot Number LOV Dependent On...
Oracle Personalization Restrict Subinventory And Lot Number LOV  Dependent On...Oracle Personalization Restrict Subinventory And Lot Number LOV  Dependent On...
Oracle Personalization Restrict Subinventory And Lot Number LOV Dependent On...
Ahmed Elshayeb
 
How to configure LCM After receiving
How to configure LCM After receivingHow to configure LCM After receiving
How to configure LCM After receiving
Ahmed Elshayeb
 
How to install a font using xml publisher administrator
How to install a font using xml publisher administratorHow to install a font using xml publisher administrator
How to install a font using xml publisher administrator
Ahmed Elshayeb
 
Oracle Order Management (Assign freight cost on shipping transaction)
Oracle Order Management (Assign freight cost on shipping transaction)Oracle Order Management (Assign freight cost on shipping transaction)
Oracle Order Management (Assign freight cost on shipping transaction)
Ahmed Elshayeb
 
Personalization to restrict subinventory lov in interorganization transfer كي...
Personalization to restrict subinventory lov in interorganization transfer كي...Personalization to restrict subinventory lov in interorganization transfer كي...
Personalization to restrict subinventory lov in interorganization transfer كي...
Ahmed Elshayeb
 
Personalizations for control deliver to organizations in Purchase Requisition...
Personalizations for control deliver to organizations in Purchase Requisition...Personalizations for control deliver to organizations in Purchase Requisition...
Personalizations for control deliver to organizations in Purchase Requisition...
Ahmed Elshayeb
 
Personalization to restrict subinventory lov in miscellaneous transaction to ...
Personalization to restrict subinventory lov in miscellaneous transaction to ...Personalization to restrict subinventory lov in miscellaneous transaction to ...
Personalization to restrict subinventory lov in miscellaneous transaction to ...
Ahmed Elshayeb
 
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام APIItems Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Items Subinventory Assignment كيفية ربط مخزن معين بعدة أصناف بإستخدام API
Ahmed Elshayeb
 
Assign Freight Cost On Shipping Transaction
Assign Freight Cost On Shipping TransactionAssign Freight Cost On Shipping Transaction
Assign Freight Cost On Shipping Transaction
Ahmed Elshayeb
 
Procedure To Store Database Object Size And Number Of Rows In Custom Table
Procedure To Store Database Object Size And Number Of Rows In Custom TableProcedure To Store Database Object Size And Number Of Rows In Custom Table
Procedure To Store Database Object Size And Number Of Rows In Custom Table
Ahmed Elshayeb
 
Personalization to restrict values in customer name and number lov in sales o...
Personalization to restrict values in customer name and number lov in sales o...Personalization to restrict values in customer name and number lov in sales o...
Personalization to restrict values in customer name and number lov in sales o...
Ahmed Elshayeb
 
Oracle Inventory Restrict user from update item attribute personalization
Oracle Inventory Restrict user from update item attribute personalizationOracle Inventory Restrict user from update item attribute personalization
Oracle Inventory Restrict user from update item attribute personalization
Ahmed Elshayeb
 
Oracle Web Adi For upload item master
Oracle Web Adi For upload item masterOracle Web Adi For upload item master
Oracle Web Adi For upload item master
Ahmed Elshayeb
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12
Ahmed Elshayeb
 
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Ahmed Elshayeb
 
Restrict user from use account aliases incompatible with transaction action
Restrict user from use account aliases incompatible with transaction actionRestrict user from use account aliases incompatible with transaction action
Restrict user from use account aliases incompatible with transaction action
Ahmed Elshayeb
 
Ad

Recently uploaded (20)

Alan Stalcup - The Enterprising CEO
Alan  Stalcup  -  The  Enterprising  CEOAlan  Stalcup  -  The  Enterprising  CEO
Alan Stalcup - The Enterprising CEO
Alan Stalcup
 
Petslify Turns Pet Photos into Hug-Worthy Memories
Petslify Turns Pet Photos into Hug-Worthy MemoriesPetslify Turns Pet Photos into Hug-Worthy Memories
Petslify Turns Pet Photos into Hug-Worthy Memories
Petslify
 
CGG Deck English - Apr 2025-edit (1).pptx
CGG Deck English - Apr 2025-edit (1).pptxCGG Deck English - Apr 2025-edit (1).pptx
CGG Deck English - Apr 2025-edit (1).pptx
China_Gold_International_Resources
 
Harnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail StrategyHarnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail Strategy
RUPAL AGARWAL
 
Smart Home Market Size, Growth and Report (2025-2034)
Smart Home Market Size, Growth and Report (2025-2034)Smart Home Market Size, Growth and Report (2025-2034)
Smart Home Market Size, Growth and Report (2025-2034)
GeorgeButtler
 
Level Up Your Launch: Utilizing AI for Start-up Success
Level Up Your Launch: Utilizing AI for Start-up SuccessLevel Up Your Launch: Utilizing AI for Start-up Success
Level Up Your Launch: Utilizing AI for Start-up Success
Best Virtual Specialist
 
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdfNewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
Strategic Enterprise Management - Unit I.pptx
Strategic Enterprise Management - Unit I.pptxStrategic Enterprise Management - Unit I.pptx
Strategic Enterprise Management - Unit I.pptx
PrekshyaRana
 
LDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts informationLDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts information
LDM Mia eStudios
 
Salesforce_Architecture_Diagramming_Workshop (1).pptx
Salesforce_Architecture_Diagramming_Workshop (1).pptxSalesforce_Architecture_Diagramming_Workshop (1).pptx
Salesforce_Architecture_Diagramming_Workshop (1).pptx
reinbauwens1
 
Alec Lawler - A Passion For Building Brand Awareness
Alec Lawler - A Passion For Building Brand AwarenessAlec Lawler - A Passion For Building Brand Awareness
Alec Lawler - A Passion For Building Brand Awareness
Alec Lawler
 
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
QX Accounting Services Ltd
 
Top 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job ApplicationTop 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job Application
Red Tape Busters
 
Looking for Reliable BPO Project Providers?"
Looking for Reliable BPO Project Providers?"Looking for Reliable BPO Project Providers?"
Looking for Reliable BPO Project Providers?"
anujascentbpo
 
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfCloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
BeMetals_Presentation_May_2025 .pdf
BeMetals_Presentation_May_2025      .pdfBeMetals_Presentation_May_2025      .pdf
BeMetals_Presentation_May_2025 .pdf
DerekIwanaka2
 
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfComments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
The Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of HatsThe Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of Hats
nimrabilal030
 
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdfAccounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
CA Suvidha Chaplot
 
Brandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled MusicianBrandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled Musician
Brandon Flatley
 
Alan Stalcup - The Enterprising CEO
Alan  Stalcup  -  The  Enterprising  CEOAlan  Stalcup  -  The  Enterprising  CEO
Alan Stalcup - The Enterprising CEO
Alan Stalcup
 
Petslify Turns Pet Photos into Hug-Worthy Memories
Petslify Turns Pet Photos into Hug-Worthy MemoriesPetslify Turns Pet Photos into Hug-Worthy Memories
Petslify Turns Pet Photos into Hug-Worthy Memories
Petslify
 
Harnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail StrategyHarnessing Hyper-Localisation: A New Era in Retail Strategy
Harnessing Hyper-Localisation: A New Era in Retail Strategy
RUPAL AGARWAL
 
Smart Home Market Size, Growth and Report (2025-2034)
Smart Home Market Size, Growth and Report (2025-2034)Smart Home Market Size, Growth and Report (2025-2034)
Smart Home Market Size, Growth and Report (2025-2034)
GeorgeButtler
 
Level Up Your Launch: Utilizing AI for Start-up Success
Level Up Your Launch: Utilizing AI for Start-up SuccessLevel Up Your Launch: Utilizing AI for Start-up Success
Level Up Your Launch: Utilizing AI for Start-up Success
Best Virtual Specialist
 
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdfNewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
Strategic Enterprise Management - Unit I.pptx
Strategic Enterprise Management - Unit I.pptxStrategic Enterprise Management - Unit I.pptx
Strategic Enterprise Management - Unit I.pptx
PrekshyaRana
 
LDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts informationLDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts information
LDM Mia eStudios
 
Salesforce_Architecture_Diagramming_Workshop (1).pptx
Salesforce_Architecture_Diagramming_Workshop (1).pptxSalesforce_Architecture_Diagramming_Workshop (1).pptx
Salesforce_Architecture_Diagramming_Workshop (1).pptx
reinbauwens1
 
Alec Lawler - A Passion For Building Brand Awareness
Alec Lawler - A Passion For Building Brand AwarenessAlec Lawler - A Passion For Building Brand Awareness
Alec Lawler - A Passion For Building Brand Awareness
Alec Lawler
 
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
The Rise of Payroll Outsourcing in the UK: Key Statistics for 2025
QX Accounting Services Ltd
 
Top 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job ApplicationTop 5 Mistakes to Avoid When Writing a Job Application
Top 5 Mistakes to Avoid When Writing a Job Application
Red Tape Busters
 
Looking for Reliable BPO Project Providers?"
Looking for Reliable BPO Project Providers?"Looking for Reliable BPO Project Providers?"
Looking for Reliable BPO Project Providers?"
anujascentbpo
 
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfCloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
BeMetals_Presentation_May_2025 .pdf
BeMetals_Presentation_May_2025      .pdfBeMetals_Presentation_May_2025      .pdf
BeMetals_Presentation_May_2025 .pdf
DerekIwanaka2
 
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdfComments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Comments on Cloud Stream Part II Mobile Hub V1 Hub Agency.pdf
Brij Consulting, LLC
 
The Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of HatsThe Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of Hats
nimrabilal030
 
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdfAccounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
Accounting_Basics_Complete_Guide_By_CA_Suvidha_Chaplot (1).pdf
CA Suvidha Chaplot
 
Brandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled MusicianBrandon Flatley - A Skilled Musician
Brandon Flatley - A Skilled Musician
Brandon Flatley
 

Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شاشة معينة وتأخذ حدود الإستعلام من علي السجل الي انتا واقف عليه

  • 1. Run Report From Personalization Purpose : Run Request From Tools Menu And Get Parameter From Current Record 1. To Get Request Information A- Login to Oracle Apps with the specified user name and password B- Navigate to System Administrator Responsibility > Concurrent >Program >Define
  • 4. Application Inventory INV Program XX LOT Number Label XX-INV-LOT-INFO Template Name XX-INV-LOT-INFO 2. Login To Oracle Database Using Apps user - Create Package Or Add this Procedure To Existing Package Package Specification CREATE OR REPLACE PACKAGE APPS.XX_RUN_REQUEST AS PROCEDURE XX_INV_LOT_INFO ( P_1 number Default Null, P_2 varchar2 Default Null , P_3 varchar2 Default Null , P_4 varchar2 Default Null ) ; END XX_RUN_REQUEST; Package Body CREATE OR REPLACE PACKAGE BODY APPS.XX_RUN_REQUEST AS PROCEDURE XX_INV_LOT_INFO ( -- Calling Request by Personlization --ERRBUF out VARCHAR2 , RETCODE out NUMBER
  • 5. /* Parameter For E Business Suit Report Status and Logs ** Don't Use Here Because that will be Called From Personalization */ --- Report Parameter P_1 number Default Null , P_2 varchar2 Default Null , P_3 varchar2 Default Null , P_4 varchar2 Default Null ---- Module and Layout Parameter /* P_Module_NAME varchar2 ,--default 'INV' , P_TEMPLATE_CODE varchar2 ,--default 'XX' , P_PROG_SHORT varchar2 --default 'XX' */ ) IS req_id number; xml_layout boolean; print_status boolean; l_return boolean; typ varchar(10):='Y'; UserName varchar2(255); x_time boolean; l_phase varchar2(255); l_status varchar2(255); l_dev_phase varchar2(255); l_dev_status varchar2(255); l_message varchar2(255); timestart varchar2(255); BEGIN apps.fnd_global.apps_initialize(user_id =>fnd_global.USER_ID ,resp_id =>fnd_global.RESP_ID ,resp_appl_id =>fnd_global.RESP_APPL_ID); UserName := fnd_global.user_name; SELECT SYSDATE + 3 / 1440 INTO timestart FROM DUAL; --> Calc 3 minuts After the Current sysdate on Varaib;e timestart IF FND_REQUEST.set_options('NO', 'YES') then --->> appear the Request to user and protect against update /*Optionally call before submitting a concurrent request to set request options. to appear to user on his concuurent Screen " Concureent Request Form " first Parmeter implicit Values NO --> Appear to user YES --> appear For only system Administrator ERROR --> Appear Only for user if Ended with Fails WOrNING --> appear to user only if End with Error or Warning ------------------------- seconf parameter protected ( Protected Against update ) YES --> Protected NO --> Not Protected Third anf FOur to detec the Trritory and language */ xml_layout := fnd_request.add_layout ('INV','XX-INV-LOT-INFO','en',NULL,'PDF'); ---> IF( fnd_request.set_print_options('', 'LANDSCAPE', 0, True, 'N'))then -- don't know what is mean with '' // -----Add the Printer to the Request Screen under Application Developer ----- if Printer defined under Request Screen , it is Not Changed Through Code
  • 6. and will Taken '' as the Previous Code ----- Define the LANDSCAPE or PORTRAIT ----- Number of Copies ----- Save Output ----- Print the main Request and sub Request --- Run Request req_id := fnd_request.submit_request('INV','XX-INV-LOT-INFO' ,NULL,timestart,FALSE, P_1,P_2,P_3,P_4); if FND_SUBMIT.SET_REL_CLASS_OPTIONS ('INV', NULL,'H', sysdate +10/1440)then --- > as Scheduled to run After period 10 minutes /* function set_rel_class_options (application IN varchar2 default NULL, class_name IN varchar2 default NULL, cancel_or_hold IN varchar2 default 'H', stale_date IN varchar2 default NULL) return boolean is */ --if req_id<>0 then --l_return :=fnd_concurrent.wait_for_request (request_id => req_id, -- INTERVAL => 5, -- max_wait => 60, -- phase => l_phase, -- STATUS => l_status, -- dev_phase => l_dev_phase, -- dev_status => l_dev_status, -- MESSAGE => l_message -- ); --dbms_output.put_line('4'); --end if; commit; end if; end if; end if; END; END XX_RUN_REQUEST; / 3. Navigate To Inventory > On-hand, Availability> Lots
  • 7. 4. Click Help > Diagnostics > Custom code > Click on the last selection: 'Personalize'
  • 8. 5. Under Conditions tab > Trigger Event = SPECIAL10 6. Set the Context level to User and Value to --Note: to simplify setup required, you can choose to set the condition context to responsibility. This would allow you to assign a group of users to a responsibility, then the setup above would only need completed once at the responsibility level. Otherwise this setup step would be required for each user. 7. Click to Actions tab and define following actions -
  • 9. Seq. Type Language Builtin Type Argument 10 Builtin All Execute a Procedure 'declare P_1 number := '||${ps.mfg_organization_id.value} || ' ; P_2 varchar2(400) := '''||${item.MTL_LOT_NUMBERS.lot_number.value}|| '''; P_3 varchar2(400) := '''||${item.mtl_lot_numbers.item_name.value}|| '''; P_4 varchar2(400) := '''||${item.mtl_lot_numbers.item_name.value}|| '''; begin APPS.XX_RUN_REQUEST.XX_INV_LOT_INFO(P_1,P_2,P_3,P_4 ); end' 8.Save the changes. Add New Line 5. Under Conditions tab > Trigger Event = WHEN-NEW-FORM-INSTANCE 6. Set the Context level to User and Value to --Note: to simplify setup required, you can choose to set the condition context to responsibility. This would allow you to assign a group of users to a responsibility, then the setup above would only need completed once at the responsibility level. Otherwise this setup step would be required for each user.
  • 10. 7. Click to Actions tab and define following actions - Seq. Type Language Menu Entry Menu Label 10 Menu All SPECIAL10 Print Lot Label 8.Save the changes. 9.Close The Lots form and re-open it. Now test it. -----------------------------------------------------------------------------------------------------------------------------------------------------------