PLSQL APIs for MOAC
Oracle E-Business Suite R12
I am accessing vision (vanila) instance where in the profile MO: Operating Unit is set to a default value "Vision Operations" (204) and the profile MO: Security Profile is set to "Global Vision" (340)
Now I am trying to query OE_ORDER_HEADERS_V in the backend (sql developer session) without calling any of the APIs.. and I see no records (as expected)
Though the default output of the function fnd_profile.value ('ORG_ID') in the backend points to 240, the above view fails to fetch any records because as per Oracle documentation, unless the global temporary table "mo_glob_org_access_tmp" is populated with a record for organization_id 240 the query against the above-mentioned multi-org partitioned view shall not fetch any record.