

To minimize compliance risks and prevent accidental data damage, you should avoid querying data through the highly privileged APPS schema. A safer, compliant alternative is to create a dedicated read-only database user (such as query_apps)
CREATE USER query_apps IDENTIFIED BY query_apps;
GRANT CONNECT TO query_apps;
GRANT SELECT ANY TABLE TO query_apps;
GRANT SELECT ANY DICTIONARY TO query_apps;
GRANT SELECT_CATALOG_ROLE TO query_apps;
GRANT SELECT ON SYS.USER$ TO query_apps;
—————————————–
CREATE OR REPLACE TRIGGER apps.query_apps_logon_trg
AFTER LOGON ON query_apps.SCHEMA
BEGIN
— This is essential for EBS to resolve object names correctly
EXECUTE IMMEDIATE 'ALTER SESSION SET CURRENT_SCHEMA = APPS';
— Initialize the Multi-Org context for R12.2.x
— This is crucial for views that filter data by Operating Unit
apps.mo_global.init('M');
END;
/
———————————
GRANT EXECUTE ON apps.fnd_global TO query_apps;
GRANT EXECUTE ON apps.mo_global TO query_apps;
GRANT ALL ON apps.mo_glob_org_access_tmp TO query_apps;

The inside story. And the outside story, too.
With its durable unibody enclosure, LED-backlit display, and Multi-Touch trackpad, MacBookPro looks beautiful. And works beautifully.
Strength. Lightness. Beauty. Seamlessly integrated.
MacBook Pro is machined from a single piece of aluminum, an engineering breakthrough that replaced many parts with just one. It’s called the unibody. And the first time you pick up aMacBook Pro you’ll notice the difference it makes. The entire enclosure is thinner and lighter than other notebooks. It looks polished and refined. And it feels strong and durable – perfect for life inside (and outside) your briefcase or backpack.
| Pricing | |
|---|---|
| Part Number | MD101LZ/A |
| Battery Information | |
| Battery Chemistry | Lithium Polymer (Li-Polymer) |
| Maximum Battery Run Time | 7 Hour |
| Interfaces/Ports | |
| FireWire/i.LINK | Yes |
| Total Number of USB Ports | 2 |
| Number of USB 3.0 Ports | 2 |
| Audio Line Out | Yes |
| Thunderbolt | Yes |
| Display & Graphics | |
| Screen Size | 13.30 “ |
| Display Screen Type | Active Matrix TFT Color LCD |
| Aspect Ratio | 16:10 |
| Screen Mode | WXGA |
| Screen Resolution | 1280 x 800 |
| Backlight Technology | LED |
| Graphics Controller Manufacturer | Intel |
| Graphics Controller Model | HD 4000 |
| Graphics Memory Technology | DDR3 SDRAM |
| Graphics Memory Accessibility | Shared |
| Storage | |
| Storage Size | 500 GB |
| Hard Drive Interface | Serial ATA |
| Hard Drive RPM | 5400 |
| Optical Drive Type | DVD-Writer |
| General Information | |
| Manufacturer | Apple, Inc |
| UPC Code | 2003BB |
| Manufacturer Part Number | MD101LZ/A |
| Brand Name | Apple |
| Product Name | MacBook Pro, 13-inch |
| Marketing Information | The inside story. And the outside story, too.With its durable unibody enclosure, LED-backlit display, and Multi-Touch trackpad,MacBook Pro looks beautiful. And works beautifully.Strength. Lightness. Beauty. Seamlessly integrated.MacBook Pro is machined from a single piece of aluminum, an engineering breakthrough that replaced many parts with just one. It’s called the unibody. And the first time you pick up a MacBook Pro you’ll notice the difference it makes. The entire enclosure is thinner and lighter than other notebooks. It looks polished and refined. And it feels strong and durable – perfect for life inside (and outside) your briefcase or backpack. |
| Product Model | MD101LZ/A |
| Product Type | Notebook |
| Manufacturer Website Address | http://www.apple.com |
| Product Line | MacBook Pro |
| Memory | |
| Memory Card Supported | Secure Digital Extended Capacity (SDXC) |
| Standard Memory | 4 GB |
| Maximum Memory | 8 GB |
| Memory Technology | DDR3 SDRAM |
| Memory Standard | DDR3-1600/PC3-12800 |
| Memory Card Reader | Yes |
| Miscellaneous | |
| Package Contents |
|
| Network & Communication | |
| Wireless LAN | Yes |
| Wireless LAN Standard | IEEE 802.11a/b/g/n |
| Ethernet Technology | Gigabit Ethernet |
| Bluetooth | Yes |
| Bluetooth Standard | Bluetooth 4.0 |
| Physical Characteristics | |
| Height | 1.0″ |
| Width | 12.8″ |
| Depth | 8.9″ |
| Weight (Approximate) | 72.0 oz |
| Built-in Devices | |
| Webcam | Yes |
| Microphone | Yes |
| Speakers | Yes |
| Processor & Chipset | |
| Processor Manufacturer | Intel |
| Processor Type | Core i5 |
| Processor Speed | 2.50 GHz |
| Processor Core | Dual-core (2 Core) |
| Cache | 3 MB |
| Software | |
| Operating System | Mac OS X 10.7 Lion |
| Input Devices | |
| Keyboard Backlight | Yes |
| Pointing Device Type | Track Pad |
| TouchPad Features | Multi-touch Gesture |
# psrinfo -p 2 # psrinfo -pv The physical processor has 64 virtual processors (0-63) UltraSPARC-T2+ (cpuid 0 clock 1165 MHz) The physical processor has 64 virtual processors (64-127) UltraSPARC-T2+ (cpuid 64 clock 1165 MHz) # psrinfo -v | more Status of virtual processor 0 as of: 08/12/2009 12:01:00 on-line since 08/08/2009 06:03:02. The sparcv9 processor operates at 1165 MHz, and has a sparcv9 floating point processor. Status of virtual processor 1 as of: 08/12/2009 12:01:00 on-line since 08/08/2009 06:03:05. The sparcv9 processor operates at 1165 MHz, and has a sparcv9 floating point processor. Status of virtual processor 2 as of: 08/12/2009 12:01:00 on-line since 08/08/2009 06:03:05. The sparcv9 processor operates at 1165 MHz, and has a sparcv9 floating point processor. ......... Finding cores To find total number of cores across all the CPUs : # kstat cpu_info|grep core_id|sort -u|wc -l 16 Now to find number of core per CPU simply do the math : total number of cores / total number of physical CPUs Another way of gathering CPU related info is using the prtdiag command : # prtdiag -v | more System Configuration: Oracle Corporation sun4v SPARC T2+ Memory size: 65536 Megabytes ================================ Virtual CPUs ================================ CPU ID Frequency Implementation Status ------ --------- ---------------------- ------- 0 1400 MHz SPARC-T2+ on-line 1 1400 MHz SPARC-T2+ on-line 2 1400 MHz SPARC-T2+ on-line 3 1400 MHz SPARC-T2+ on-line 4 1400 MHz SPARC-T2+ on-line 5 1400 MHz SPARC-T2+ on-line 6 1400 MHz SPARC-T2+ on-line 7 1400 MHz SPARC-T2+ on-line 8 1400 MHz SPARC-T2+ on-line 9 1400 MHz SPARC-T2+ on-line 10 1400 MHz SPARC-T2+ on-line 11 1400 MHz SPARC-T2+ on-line 12 1400 MHz SPARC-T2+ on-line 13 1400 MHz SPARC-T2+ on-line 14 1400 MHz SPARC-T2+ on-line 15 1400 MHz SPARC-T2+ on-line .... Gathering Memory information Getting memory information is trivial. use the prtconf command and grem for Memory : # prtconf | grep Memory Memory size: 65536 Megabytes We can also use the prtdiag command to find the memory in the system : # prtdiag -v | grep Memory Memory size: 65536 Megabytes Finding CPU information on T-series hardware with LDOMs If you have LDOMs installed on the T-series hardware tyhat you have, above commands may not give you the correct values. Use the “ldm list-devices -a” command to list core, virtual CPUs (VCPUs) and resource assignments. # ldm list-devices -a CORE ID %FREE CPUSET 0 12 (0, 1, 2, 3, 4, 5, 6, 7) 1 0 (8, 9, 10, 11, 12, 13, 14, 15) 2 0 (16, 17, 18, 19, 20, 21, 22, 23) 3 0 (24, 25, 26, 27, 28, 29, 30, 31) 4 0 (32, 33, 34, 35, 36, 37, 38, 39) 5 0 (40, 41, 42, 43, 44, 45, 46, 47) 6 0 (48, 49, 50, 51, 52, 53, 54, 55) 7 0 (56, 57, 58, 59, 60, 61, 62, 63) 8 0 (64, 65, 66, 67, 68, 69, 70, 71) 9 0 (72, 73, 74, 75, 76, 77, 78, 79) 10 0 (80, 81, 82, 83, 84, 85, 86, 87) 11 0 (88, 89, 90, 91, 92, 93, 94, 95) 12 0 (96, 97, 98, 99, 100, 101, 102, 103) 13 0 (104, 105, 106, 107, 108, 109, 110, 111) 14 0 (112, 113, 114, 115, 116, 117, 118, 119) 15 0 (120, 121, 122, 123, 124, 125, 126, 127) 16 0 (128, 129, 130, 131, 132, 133, 134, 135) ........................... Number of physical cpu: psrinfo -p Number of cores: kstat cpu_info|grep core_id|sort -u|wc -l Number of threads: psrinfo -pv # echo "`psrinfo -p` socket(s)" 2 socket(s) # echo "`kstat -m cpu_info|grep -w core_id|uniq|wc -l` core(s) " 8 core(s) # echo "`psrinfo|wc -l` logical (virtual) processor(s)" 64 logical (virtual) processor(s)
Generally when we create RTF using BI Publisher Desktop by default Fields will store in <xdo:ref0091> format.But when we attach this template it will throw an error.So we need to replace those with actual Data fields.Follow below steps to Resolve this issue.
The source of error is RTF Template.
1. Open RTF template. Double Click a field to display properties dialog.

2. Click Add Help Text button
3. In Type your own section, write field name like this <?Brand?>, if ‘<xdo:refxxxx>’ or similar found.
4. Click OK Save template.

If still encountering with same error, check all Fields in RTF Template.
Error :
Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'ref' used but not declared.
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
This Error generally due to higher BI Publisher versions.
If Word Properties of the XML Field has source something like ‘<?ref:xdo0040?>’ you will face this error
Solution :
Make BI Publisher backward compatible.
Go to Options

Build -> Form field size -> Set to Backward Compatible
