Oracle ERP query to get which user released the Invoice hold - erp

How to get which user released the invoice hold in oracle erp query? what is the Oracle ERP financials table which I need to join to PO_RELEASE_ALL table to get the user. Should I join PO_RELEASE_ALL to FND_USERS?

Related

Get the details of all students who have written more than one exam?

3 talbles student, marks, fee
How to write query in Sql server on Tableau desktop
how many methods available in sql server and also Tableau desktop
select * from marks table where subject >1;

joining hr_organization_information and mtl_parameters in Oracle apps

I have seen many joining condition using hr_all_organization_units and mtl_parameters
but is it possible to join hr_organization_information with mtl_parameters?
In documentation I could not get difference on hr_all_organization_units and hr_organization_information
select * from hr_organization_information hou, mtl_parameters mp where
mp.organization_id=hou.organization_id;
Is the above query logically correct in Oracle EBS?
hr_all_organization_units holds all organizations, regardless of their classification, e.g. Operating Units, HR Organizations, Inventory Organizations, etc..
mtl_parameters has records only for Inventory Organizations, to store additional inventory related information.
hr_organization_information is a generic table that stores attributes for each organization, e.g. org_information_context='CLASS' to define the type of organization.
You can link this table directly with mtl_parameters as you did in the example, but you would:
only find records for inventory organizations
have duplicate records as you have more than one type of org_information_context for each organization in the hr_organization_information table.
Please note that one organization in hr_all_organization_units can have different classifications at the same time, e.g. Operating Unit and Inventory Organization.
Here is an example dataset from an Oracle Vision environment, which has one record per organization and shows their classifications in columns G to Q:
https://www.enginatics.com/example/per-organizations/
The PER Organzations Blitz Report shows the link between the organization and the org information table.

How to ensure that join table (without model) data are unique

I'm trying to have read and unread status on a particular post by the specific user using Rails 5. I'm having post_users join table in which post_id and user_id will be stored. Posts and users associated with many to many (has and belongs to many). I don't have a model for the post_users table. How to check the join table in the controller?

Is there any way to join the Identity user table with any other table (Product) of our own in MVC 5

Is there any way to join the Identity user table with any other table of our own in MVC 5. Because fetching the data is really difficult. If we want to retrieve user product on the bases of some roles and then their products. So its a join of three tables but join of Products table with other two tables i don't know how to use this. Because User and Roles tables are identity table and belongs to IdentityDbContext.

Should my delete stored procedure account for cascading to FK tables?

Say I have a Employees table (PK is employeeID) and a sales table, where the sales table has a FK column for employeeID.
Now when designing my deleteEmployee stored procedure, should I first delete rows in the Sales table or should I create seperate stored procedures to delete in each table, and then worry about that in my business logic layer?
No, no, no.
Add a field to the Employee table called "OutServiceDt" and store the date they left your company.
That way you keep the records of the sales they made, their address information, and whatever else you've got :)
If you're looking for employes who are in service, filter on "OutServiceDt is null".

Resources