Item subinventory and procurement details table info
hi all
i have this requirement to take a report of all Spare parts and Other Inventory Organization Items, which are active, from ERP with the Last Procurement details. If the Procurement information is not available , the supplier name field should be blank. also to provide the UOM, inventory org and sub inventory information too against each item.
i tried the following query from the INV abc super user responsibility
select DESCRIPTION,segment1,segment2,segment3,PRIMARY_UOM_CODE,PRIMARY_UNIT_OF_MEASURE ,
organization_id
from mtl_system_items where
rowid IN
select rowid from
select rowid, row_number() over (partition by SEGMENT1 order by null) rn from mtl_system_items
where INVENTORY_ITEM_STATUS_CODE ='Active'
and organization_id IN (105,121)
where rn = 1
)kindly guide me to include subinventory information ,when the Master Item form is opened in tools there is Item Subinventory ,i am not
able to get the table name related to item subinventory so i could include in my query
also how do i get the procurement information
kindly guide
thanking in advance
hi
thank you very much for the helpful guidance
could you please guide as to which column info has to be fetched in the query
for the procurement details from the table po_lines_all
also which column wud show the subinventory information ( i see source_subinventory
and secondary_inventory) from the view MTL_ITEM_SUB_INVENTORIES_ALL_V
with the joins you have suggested i have made th query below
SELECT DISTINCT msi.description, msi.segment1, msi.segment2, msi.segment3, msi.primary_uom_code,misalv.SECONDARY_INVENTORY,misalv.source_subinventory,
pov.vendor_name,
msi.primary_unit_of_measure, msi.organization_id
FROM mtl_system_items msi,MTL_ITEM_SUB_INVENTORIES_ALL_V misalv, po_lines_all pla,po_headers_all pha,po_vendors pov
WHERE msi.inventory_item_id=misalv.inventory_item_id and
msi.inventory_item_id= pla.item_id and
pla.po_header_id=pha.po_header_id and
pha.vendor_id=pov.vendor_id and
msi.organization_id=misalv.organization_id and
inventory_item_status_code = 'Active'
AND msi.organization_id IN (105, 121)now this query has only 3586 reecords whereas the initial query you had posted had 7785 records
i suppose the items without vendor name ,procuremnt details dont come up thts why the decrease in record count
is it possible to show those items too which dont have subinventry,procurement,vendor info
kindly guide
thanking in advance
Similar Messages
-
Problem with a master tree table and its detail table
Hello,
I have a master treetable showing on a page and a separated detail table below the treetable on the same page.
To make the things clear, three tables are involved here: one master and one detail table to compose the treetable, and another detail table for the current selected row in the treetable.
Things usually work fine when operating on the detail table. However, if I create or delete some rows from the detail table and press Rollback, some unwanted behaviour happens.
In facts, on Rollback, both the master treetable and the detail table are redrawn on the page.
However, once refreshed, despite the current selected row in the treetable still appears as the one before clicking Rollback (suppose not the first one), the detail table always correspond to the first row of the master treetable.
Is there a way to either make the current selected row the first one the master treetable, or (preferred) to make detail table reflect the visible current selected row in the treetable?
thanksjabr,
ok . i will go through
but if u don mine here john n timo says for me. pls check it.
on rollback
create insert options
Edited by: Erp on Oct 12, 2011 5:14 AM
Edited by: Erp on Oct 12, 2011 5:15 AM -
Passport and Visa Details Tables
Hi,
Pls give me the passport and visa details tables for employee(pernr).
thanks.Just have a look into the technical details of the fields of the standard applications that are handling with those data. After that the wehre-used list is recommened finding the related tables.
Cheers,
André -
TWO MASTER AND ONE DETAIL TABLE
HI,
I HAVE TWO SEPARATE MASTER TABLE WITH SAME DETAILS I MADE ONE DETAIL TABLE REFERENCES BOTH OF THE MASTER TABLES(BOTH MASTER HAVE SAME PRIMARY COLUMN NAME) , BUT WHEN INSERT RECORD IN DETAIL IT GIVES ME ERROR THAT PARENT KEY NOT FOUND(ALTOUGH I HAVE INSERTED MASTER DATA IN ONE MASTER TABLE BUT NOT THE SECOND ONE AND IT'S NOT POSSIBLE TO INSERT SAME DATA IN SECOND MASTER TABLE), WHAT I WANT TO ASK THAT HOW IT'S POSSIBLE TO USE SAME DETAIL TABLE WITH DIFFERENT MASTER TABLES. STRUCTURE OF BOTH OF THE TABLES ARE BELOW.
MASTER ONE
SQL> DESC INCIDENT
Name
REF_NO
INC_TYPE_CODE
DISTRICT_CODE
KV33
KV11
INC_DATE
EMERGENCY
TRIP
CAUSE_TYPE_CODE
SUB_CAUSE
INC_DESC
REASON
OPER_SEQ
REM_RECOM
CON_COMP_CODE
CTRL_ENG_APP
DELAY_OCCURED
DELAY_REASON
SECOND MASTER
SQL> DESC SWITCHING
Name
REF_NO
INC_TYPE_CODE
JOB_CODE
DISTRICT_CODE
KV33
KV11
CON_COMP_CODE
INC_DATE
INT_NOTICE_ISSUE
INTERRUPTION
REM_RECOM
CTRL_ENG_APP
WORK_DESC
DETAIL TABLE
SQL> DESC INTERP_DETAIL
Name
REF_NO
INC_TYPE_CODE
FEEDER_CODE
VOL_LEVEL
START_DT_TIME
GRID_CODE
END_DT_TIME
LOAD_AMP
LOAD_MW
LOSS_MWHR
THANKS IN ADVANCE.
KHAWARHi,
When you establish the relations using the references, then oracle will look for the parent key in both the parent tables. Either you need to remove the foreign keys or change your db design to add one more table and have one-one parent child relationships.
HTH
Regards,
Badri. -
Master details tables and no xml data source
Hello
I want to create mater - details tables where details table will be repeated for each master row.
So i created master table and placed detail table into master table cell.
so what i want to have
product1 quantity
- item1
- item2
product2 quantity
- item3
- item3
for now i have
product1 quantity
- item1
- item2
- item3
- item3
product2 quantity
here is how i fill the table
for i in 1..5 do
("Cell1r", "quantity" + i.ToString())
("Cell2r", "product" + i.ToString())
] |>p
for j in 1..2 do
("Cell11", "product" + i.ToString())
("Cell21", "serial" + j.ToString())
("Cell31", "function" + j.ToString())
]|>p
i found an axample how to do it from xml data sourcem but have no idea and did not find how to do it manualy(when i bing by name from code dynamicaly)i found hot to do it with xml source
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000241.html
but how to do it manualy ? -
Updating a customer infotype detail table (in PIQSTM) from an interface
We have a customer infotype that has a header table (HRP....) and a detail table (HRT.....) and we have this attached to transaction PIQSTM. This works fine. However, we now have a requirement to update the infotype via an interface and we have hit a problem using the standard function modules. We have tried, for example, using FM 'HRIQ_PNNNN_MAINTAIN' but have found that whilst it updates the header ok, if any detail record exists it is always overwritten. We need to keep the existing detail records attached to the same header.
I've debugged the way our tables are updated when saved in PIQSTM and can see that there is a lot going on with buffers. It seems that buffers are updated and then FM 'RH_BASE_UPDATE_DB_DIALOG' is called, ultimately resulting in an insert to our detail infotype table. In our interface program, obviously I would prefer not to update the table directly. I guess BDC is always an option but again, I'd prefer not to use it if possible.
Has anyone out there done this and can offer me any advice ?
thanks,
Malcolm.Malcom,
Try to feed old HRT record and New records(from interface) to Insert/update info-type function module.
Thanks,
Prabhat Singh -
Can the Performance Detail reports be exported as PDF without the Detail Table?
We previously generated significant numbers of Performance Detail reports out of SCOM 2007 R2 as PDF files, and the 'Detail Table' did not show.
Now that we are on SCOM 2012 R2, the same reports show the 'Detail Table' when exported to PDF. We report on 6 to 12 months of data, so these tables are huge, and are also useless for our purposes.
Is there some way to suppress the Detail Table when exporting a Performance Detail report to PDF?Hello,
Please see if the method in the following post can meet your requirements:
SCOM reports on performance counters for large groups of servers
http://www.bictt.com/blogs/bictt.php/2010/11/28/scom-reports-on-performance-counters-for-large-groups-of-servers -
JBO 35007 Row Currency has changed - Master Detail Table
Hi,
I have a one master table and one detailed table. I can create rows in the master table with no errors. However, when I try to insert rows in the detailed table, I receive JBO-35007 error, Row currency has changed.
How do I fix this?
thank youWe also has exact same error in Hyperion 11.1.1.3 on Windows 2003 with Oracle 11.1.7.0 database .. can someone advise please?
Regards
-Naveed- -
Jheadstart 10.1.2 master form-detail table error
Hi everyone;
I use Jheadstart 10.1.2 and I have 1 master 6 detail table.I want to show master form and 3 detail table in same page. I configure pages in jheadstart and generate master form- detail table when module run it gives this error in detail tables place;
java.lang.RuntimeException: Range binding ALTERNATIF_SATICILAR does not exist in STOK_MASTERUIModel
at oracle.jheadstart.view.strutsadf.TableBindingFactory.get(TableBindingFactory.java:137)
at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:221)
at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:146)
at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:242)
at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:201)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:138)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:166)
at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:109)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
at web2d__131_nf._page._STOK__MASTER._jspService(STOK_MASTER.jsp:872)
[SRC:/WEB-INF/page/STOK_MASTER.jsp:251]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Thanks for all helps..........Which build of JHeadstart are you using?
kind regards,
Sandra Muller
JHeadstart Team -
Iterator estimatedRowCount for detail table
Hi,
My UI page has two tables - master and detail table. I would like to hide the "Edit" button for the details table if there is no row in the details table. Here is the code snipplet
+<af:commandToolbarButton>+
+....+
+rendered="#{bindings.ItasStateTransitionsVO1Iterator.estimatedRowCount gt 0}+
+</af:commandToolbarButton>+
However, when first entering the page, bindings.ItasStateTransitionsVO1Iterator.estimatedRowCount returns 0 even though there are some rows. Only when I clicked on a row in the master table, then the details table got refreshed, then the bindings.ItasStateTransitionsVO1Iterator.estimatedRowCount will return the correct value.
Any ideas of how to fix this issue so bindings.ItasStateTransitionsVO1Iterator.estimatedRowCount will return the correct value the first time entering the page?
Thanks.
-MinaI didn't do any additional coding to select the first row in the master table but somehow I believe the ADF framework automatically selected it when the page renders as I can see the first row in the master table is highlighted and the detail table is rendered correctly with the data. But the detail table's iterator estimatedRowCount is returning 0. Any ideas why?
Thanks.
-Mina -
Does anyone know how I can use XE to create a Master-Detail Form using one master table and multiple detail tables? Currently it seems to only allow one detail table.
Thanks.
Pat.Hello,
I created the following tables (Location, Dept, Emp ). The master table is Location Table and detail tables are emp and dept.
I created view for emp and dept tables then I created the master detail form which was include the location table as the master and the created view as the detail.
But I need to create 3 blocks like in the oracle developer that helps me to insert the records in 3 tables at the same time.
Best Regards, -
How to Create (CREATE MODE) for four details table.....
Hello,
I am using ADF Faces, BC for my web app. Now, I have one master, and four details table in my page. How will I automatically make them in insert/create mode, upon loading the page...
Thanks.Thanks,
That actually worked for me! :) My question now is, what's the difference between, CREATE and CREATEINSERT? Im quite new to ADF...
And another thing, when I click a button inside my page, while they are in CREATE MODE, my application throws the following exception:
Error Message:
JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[-27 ]
Error Stack Trace:
oracle.jbo.JboException: JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[-27 ]
at oracle.adf.model.binding.DCBindingContainerState.throwRowNotFoundException(DCBindingContainerState.java:204)
at oracle.adf.model.binding.DCBindingContainerState.validateIterator(DCBindingContainerState.java:227)
at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:366)
at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:442)
at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:3357)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
Thanks! -
Need detailed info about Active,New and Change log table in BI 7.0
Dear Experts,
I am new to this technology. Can you any one explain in very detail about ACTIVE, NEW and CHANGE LOG tables workflows.
And also i am requesting you all to give tips to how to study BI 7.0
Regards,
Ameer.NFor your first problem solution is this note: 936644
You might have not mapped the filed in your tarnsfer/update rules? -
we are using 11i.
we have about 300 item codes and every month we have 10 new item codes.
we have about 500 subinventory code to represent our stores.
we would like to maintain the item subinventory where
1) limit some stores to have some item codes, and not allow some other item codes.
2) min-max for each item codes in each stores.
thus, we have to do maintenance of 300* 500 =150000 records, and every month we have 10 * 500=5000 new records.
can we have a upload functions?
we ruled out data loader-> too troublesome.
we can't find the interface table, we can't find the API.
please advice.there is no such API or interface table for this case, please see:
Bug 5380622 : ITEM SUBINVENTORY LOCATOR RELATIONSHIP API -
Master and Details Tables Data
Hi all
I have two tables one is Master table and other one is Details table.
How to write a query to get Master as well as Details table data.
Detail table contain more than one record for particular Master Record.
Pls Help me.My version is Oracle 9i
My Tables structures are :
SQL> desc TFMS_CONTRACT_PRICES
Name Null? Type
ITEMNUMBER NOT NULL VARCHAR2(30)
ITEMDESCR VARCHAR2(2000)
PRICE NOT NULL NUMBER
UOM VARCHAR2(30)
UNITSAWARDED NUMBER
DELIVERYPERIOD NUMBER
COMMENTSREASON VARCHAR2(15)
TOTALPOINTSSCORED NUMBER
FREEDELIVERY VARCHAR2(250)
YEAR VARCHAR2(15)
UPDATEDBY NOT NULL NUMBER
UPDATEDON NOT NULL TIMESTAMP(6)
BRANDID NOT NULL NUMBER
CONTRACTORID NOT NULL NUMBER
ISPRICEESCALATED NOT NULL CHAR(3)
SQL> desc TFMS_ACCESSORIES_MASTER
Name Null? Type
ACCESSORYID NOT NULL NUMBER
ACCESSORYNAME NOT NULL VARCHAR2(150)
DESCR VARCHAR2(250)
ISDELETED NOT NULL CHAR(1)
UPDATEDBY NOT NULL NUMBER
UPDATEDON TIMESTAMP(6)
CONTRACTORID NOT NULL NUMBER
Sample Out put:
ITEMNUMBER ACCESSORYNAME
RT57-01-13-01 Truck ToolBoxes,Riding Sun Glass
RT57-01-13-02 Door Guard,Maruthis
For one item number there may be one accessory name or more than one accessory name.i need to display accessory names with delimeter(,).
Pls help me.
Thanks in Advance.
Maybe you are looking for
-
Which is better, VM Fusion or Parallels?
which one of these emulation packages are currently better and should stay on top? does one run more window apps than the other?
-
Is my wireless keyboard dead?
Hi, I'm just wondering... I packed my wireless low profile keyboard with the batteries taken off in a soft bag with the Powerbook. A day or two later, I put the batteries in, but the green led doesn't light on and there is no link with the Powerbook.
-
Material staging for process order
Dear All, Can we use material staging for process orders. If possible pls brief the procedure. Subbu.
-
On some pages i am building i have a link that opens a new browser window and i trying to have the new window open maximized. I have tried every which way i can think of, but nothing is working. Is this possible and how do i do it? Thanks, Kittyf
-
JDBC Interaction response time difference in j2sdk1.4 and jdk1.3
Hi All I am working on performance issues regarding response time . i have upgraded my system from jdk1.3 to j2sdk1.4 . I was expecting the performance gain in terms of response time in j2sdk1.4. but to my surprise it shows varied results with my app