F1 Regarding Following Querry
Hello,
I want to develop a application of Database.Which can run on any machine,I.E. A machine which does not contain oracle can also resolve a querry given by application.
Look in an simple language i want to design a application which can run on any machine without oracle interpreter and that application is using all pl/sql command
ThanK YOu
Go ahead and write, I prefer C++ or assembly or at least JAVA ;)
Similar Messages
-
SAP QM Issues regarding follow-up action after Usage Decision
Dear Gurus -
Kindly need your expertise to resolve these issues regarding follow-up action.
1. After taking the UD i need to trigger the follow-up action to send an email with the long text to a group of people. As per standard SAP the email goes to the person taking the UD. Kindly can some one explain what & where do i need to make the changes. Also please let me know what is the customized Email ID table where mail ID's will be stored which fuction module can extract.
2. Can i also use the same functionality for partial lots during inprocess inspection. I need to send an email to a group in case the valuation is rejected for that operation.
Any response is highly appreciated.
Thank You.
Edited by: sunil t on Jan 6, 2010 7:03 PMHi
Please go through my recent thread
Incomming Inspection Auto mail if Rejected
Regards
Sujit -
I am not getting proper guidelines from apple regarding the querry
I am not getting proper guidelines from apple regarding the querry, really iPhone is headache for me as I am unable to use the same from last 10 days
If you would like help from here, you'll have to say what the problem is. "Unable to use" and "not getting proper guidelines... regarding the query" tells nothing about your problem other than your phone isn't working.
Also, judging by your other post where you are looking for an alternative to the iPhone, do you want a non-Apple phone or do you want your problem fixed. No sense having people waste their time helping you fix this one if are going to get another phone. -
Regarding sales querry.
Hi All,
I have a querry to build on sales standard extractor in bw side,with following requirements
the querry must capture any changes or modification done to sales order .
1) creation of sales order
2)modification of sales order
3)deletion of sales order
in total it has to capture minute details on sales order and to be shown.
for eg:
on certain date you sold 10 pcs phones with amt1000 ,for an item 10.
and next day the customer has returned 3 pcs now in querry it has to show in item 10 ,7 pcs are left with 700amt. and another line the cancelllation of item 10 with 3 cancelled with amt 300.i mean any changes to sales order creation ,modification and deletion should be captured with respective dates.
this is not possible with only the sales standard extractor in place so any one has idea as to how to deal with the situation it would be of great help.
thanks
venkatMadhu,
Go to the contract in change mode. Goto the contract Header, then click on Partners tab page.
in the field of partner functions, click on to a blank field, enter partner function 'AW' and in the next field enter the ship to party partner number.
Regards,
PATHIK -
Regarding Update querry at JDBC Sender adapter
Dear all
need you help for this requirement
My Select statement is working fine where flag column has some time null value
below is the Select statement and ( EMP_MAXQTY_AUTH_FLAG is Flag field here & EMPLOYEE_MST is table name)
SELECT EMP_ORG_CD,EMP_CD,EMP_NAME,EMP_STATUS,EMP_MAXQTY_AUTH_FLAG FROM EMPLOYEE_MST WHERE EMP_MAXQTY_AUTH_FLAG<>'Y'or EMP_MAXQTY_AUTH_FLAG is null
but update querry is as given below
UPDATE EMPLOYEE_MST SET EMP_MAXQTY_AUTH_FLAG='Y' WHERE ((EMP_MAXQTY_AUTH_FLAG <>'Y') OR (EMP_MAXQTY_AUTH_FLAG is NULL))
Please suggest the exact query
if Flag row ahs some value any thing it is updating , but when there is NULL value ,
problem is coming
Please help.....
Regards
PriyaHi Priya,
I think it is the mistake in query:
SELECT EMP_ORG_CD,EMP_CD,EMP_NAME,EMP_STATUS,EMP_MAXQTY_AUTH_FLAG FROM EMPLOYEE_MST WHERE EMP_MAXQTY_AUTH_FLAG'Y'or EMP_MAXQTY_AUTH_FLAG is null
means select all record whose *EMP_MAXQTY_AUTH_FLAG is 'Y' or Null *
UPDATE EMPLOYEE_MST SET EMP_MAXQTY_AUTH_FLAG='Y' WHERE ((EMP_MAXQTY_AUTH_FLAG 'Y') OR (EMP_MAXQTY_AUTH_FLAG = ' '))
means update those records where *EMP_MAXQTY_AUTH_FLAG is 'Y' or Null * and the new value to be updated is 'Y'
Change your update query to
UPDATE EMPLOYEE_MST SET EMP_MAXQTY_AUTH_FLAG='D' WHERE ((EMP_MAXQTY_AUTH_FLAG 'Y') OR (EMP_MAXQTY_AUTH_FLAG = ' '))
Regards
Suraj -
Hi All,
I am facing problem while executing querry in SQ01, in material master we have maintained the quantity and cost for the materials but while executing Forecast querry for some materials we are getting value 0 (zero) for the Planned forecast value, Incoming order value and Absolute difference value column. These three cloumn should be quantity evaluated using standard cost from material master. but we are getiing it as 0.
Can you please expalin me the logic behind this.
With Regards,
Preeti.Preeti,
If you have an SQ01 query that is called 'Forecast', then the query was built by someone from your company, and it is uniqe to your system. We can't help you solve a query problem without a lot more details about how it works and what it is designed to display.
You would be well advised to find the person who wrote the query, and ask them why the data is not displayed according to your expectation.
Best Regards,
DB49 -
Hi
Can anyone give me the querry for creating a report which will show me the backorder quantities and their respective sales oders and the report should also give me the details on the open ordered quanities for the same items in the purchase order with the expected delivery dates.Its a kind of backorder fullfilment report.
We tried the following querry but this one gives a lot of instances for each warehouse or item and we are looking at a consolidated report for each item.
SELECT T1.[OpenQty], T0.[DocNum], T0.[CardCode], T1.[ShipDate], T0.[CardName],(T1.[ItemCode]), T1.[WhsCode], T0.[DocDate], T2.[OnOrder], T1.[DelivrdQty], T3.[CardCode], T3.[CardName], T3.[DocNum], T4.[LineNum], T4.[OpenQty], T4.[ShipDate] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode, OPOR T3 INNER JOIN POR1 T4 ON T3.DocEntry = T4.DocEntry WHERE T1.[OpenQty] >0 and T3.[DocStatus] = 'o' and T4.[OpenQty] >0 and T0.[DocStatus] = 'o' ORDER BY T2.[ItemCode]
Regards
C.Louis
Edited by: Philip Eller on Jun 27, 2008 9:56 AM
Edited by: Rui Pereira on Aug 8, 2008 11:35 AMHi C.Louis,
From your example, if the PO information you want to get is the ones that created from sales orders, I am afraid only the PO number can be listed in SO report in XL Reporter.
Of course most of the relevant information in SO header and row information can be found.
I drag following information from Report Composer:
go to Sales Module>Drag down:
Item(dimension) ; Document Number(light dimension) ; Document Date ; PO Target No.
PO Target No. column will give you the relevant PO no. But it is not possible in XLR to get more PO information because there is no more link in Sales module.
To list them in a report, please expand two rows in XL Reporter Designer and list SO and PO information seperately.
That also should be a clear report.
Hope this helps.
Regards,
Maggie An
SAP Business One Forum Team -
How to add a receipt number in the following Query for PO Report
Hi Guys,
I need a help regarding following query.
Its a PO report for 11.5.10.2
select distinct pv.segment1 supplier_number,
pv.vendor_name supplier_name,
pha.segment1 po_number,
pha.revision_num revision_num,
pha.authorization_status po_status,
to_char(pha.creation_date, 'DD/MM/YYYY') creation_date,
pha.currency_code currency_code,
pla.sum_amount_ordered sum_amount_ordered,
pda.sum_quantity_ordered sum_quantity_ordered,
pda.sum_amount_received sum_amount_received,
pda.sum_quantity_received sum_quantity_received,
(pla.sum_amount_ordered - pda.sum_amount_received) sum_accrued, --AVI
( pda.sum_quantity_ordered - pda.sum_quantity_received) quantity_accrued, --AVi
to_char(rsl.date_receipt, 'DD/MM/YYYY') date_receipt,
-- rsl.receipt_num receipt_number,
ppa.segment1 project_code, ppa.project_status_code, --10.0.0.4
aia.invoice_num invoice_num,
aia.invoice_date invoice_date, --AVI
aia.creation_date invoice_creation_date, --AVI
aia.amount invoice_amount_allocated_to_po, --AVI
pla.purchase_basis,
pla.category_id,
-- pda.item_description,
haou.name organisation, --10.0.0.3
pda.sum_quantity_billed sum_quantity_billed , --10.0.0.3
gcc1.CONCATENATED_SEGMENTS,
gcc2.CONCATENATED_SEGMENTS
from po_headers_all pha,
po_vendors pv,
pa_projects_all ppa,
hr_all_organization_units haou,
(select po_header_id,
sum(quantity * unit_price) sum_amount_ordered,
org_id,
purchase_basis,
category_id
-- pla.item_description,
from po_lines_all
group by po_header_id, org_id
, purchase_basis,
category_id
-- pla.item_description
) pla,
(select pla.po_header_id,
pda.project_id,
sum(pda.quantity_ordered) sum_quantity_ordered,
sum(pda.quantity_delivered * pla.unit_price) sum_amount_received,
sum(pda.quantity_delivered) sum_quantity_received,
sum(pda.quantity_billed) sum_quantity_billed, --10.0.0.3
accrual_account_id
from po_distributions_all pda, po_lines_all pla
where pla.po_line_id = pda.po_line_id
group by pla.po_header_id, pda.project_id,accrual_account_id
) pda,
(select po_header_id, charge_account_id,
-- rsh.receipt_num,
min(rsl.creation_date) date_receipt
from rcv_shipment_lines rsl
where rsh.SHIPMENT_HEADER_ID=rsl.SHIPMENT_HEADER_ID
group by po_header_id,charge_account_id
) rsl,
(select distinct aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
, aia.creation_date , sum(aida.amount) amount
from po_distributions_all pda,
ap_invoice_distributions_all aida,
ap_invoices_all aia
where pda.po_distribution_id = aida.po_distribution_id(+)
and aia.invoice_id(+) = aida.invoice_id
Group by
aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
, aia.creation_date) aia,
(select haou2.organization_id, haou2.name
from fnd_flex_value_sets ffvs,
fnd_flex_value_norm_hierarchy ffvnh,
fnd_flex_values_vl ffvv,
hr_all_organization_units haou1,
FND_FLEX_VALUE_CHILDREN_V ffvcv,
hr_all_organization_units haou2
where ffvs.FLEX_VALUE_SET_NAME = 'CAP_CODE_BU'
and ffvs.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
and ffvnh.parent_flex_value like 'PO%'
and ffvv.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
and ffvv.FLEX_VALUE between ffvnh.child_flex_value_low and ffvnh.child_flex_value_high
and substr(haou1.name, 1, Instr(haou1.name, '-')) =
substr(ffvv.DESCRIPTION, 1, Instr(ffvv.DESCRIPTION, '-'))
and haou1.organization_id = fnd_global.org_id
and ffvcv.parent_flex_value = ffvnh.parent_flex_value
and ffvcv.flex_value_set_id = ffvs.flex_value_set_id
and substr(haou2.name, 1, Instr(haou2.name, '-')) =
substr(ffvcv.DESCRIPTION, 1, Instr(ffvcv.DESCRIPTION, '-'))
union --10.0.0.1
select f.organization_id, f.name --10.0.0.1
from hr_all_organization_units f --10.0.0.1
where f.organization_id = fnd_global.ORG_ID --10.0.0.1
) bu
, po_line_locations_all plla --10.0.0.4
, gl_code_combinations_kfv gcc1
,gl_code_combinations_kfv gcc2
where pv.vendor_id = pha.vendor_id
and pla.po_header_id = pha.po_header_id
and pda.po_header_id = pha.po_header_id
and pha.po_header_id = rsl.po_header_id(+)
and pda.project_id = ppa.project_id(+)
and pha.po_header_id = aia.po_header_id(+)
and aia.po_header_id = pha.po_header_id
and pla.org_id = haou.organization_id
and pha.authorization_status in ('APPROVED', 'OPEN')
and plla.po_header_id = pha.po_header_id --10.0.0.4
and plla.closed_code in ('APPROVED', 'OPEN', 'CLOSED FOR INVOICE', 'CLOSED FOR RECEIVING', 'CANCELLED') --10.0.0.4
and bu.organization_id = haou.organization_id
AND gcc1.code_combination_id = pda.accrual_account_id
AND gcc2.code_combination_id =rsl.CHARGE_ACCOUNT_ID
In the following query I have commented receipt_num using the table rcv_transaction_headers.
If I uncomment it the query results huge number of unexpected report.
How can I add receipt number to the following query?
Should I use rcv_transactions. If yes, what would be the join conditions.
Kindly help as its urgent.
Thanks in advance.
Regards
AvijitSandeep is correct. I don't have time to tell you the correct query, but mine is something like this based on Sandeep's information:
SELECT rsh.receipt_num
FROM rcv_transactions rcvt,
po_lines_all pla,
rcv_shipment_headers rsh
WHERE rcvt.shipment_header_id = rsh.shipment_header_id
AND rcvt.PO_LINE_ID = pla.PO_LINE_ID
AND pla.item_id = (select distinct inventory_item_id
from mtl_system_items
where segment1 = '1216107-2') -
We get this error with the following querry:
SELECT
DISTANCE FROM DIST_PTS
WHERE (CLLI = 'CHCGILCL') AND (MDSYS.SDO_NN (GEOLOC,
MDSYS.SDO_GEOMETRY (2001, NULL,
MDSYS.SDO_POINT_TYPE (-87.63804626464844, 41.879520416259766, NULL),
NULL, NULL), 'SDO_NUM_RES=1') = 'TRUE');
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-13236: internal error in R-tree processing: [failed to allocate memory]
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
ORA-06512: at line 1
Our table has 25 million records and we are using Oracle 8.1.7
We were getting this error with 8.1.6 and were advised to upgrade. We did but we get the same error. Has anyone seen this ?I am getting a similar error code trying to run the "Nearest
Neighbor" sample code:
error message:
ORA-29902: error in executing ODCIindexStart()routine
ORA-13207: incorrect use of the [NO UNITS SUPPORTED] operator
ORA-06512: at "MYSYS.SDO_INDEX_METHOD" line 83
partial code:
v_latlong := v_latlong.findlocation();
if v_latlong.numTotalCand > 0 then
v_lat := v_latlong.getLatitude(1);
v_long := v_latlong.getLongitude(1);
found3 := FALSE;
dist := .25;
while found3 = false loop
dist := dist + .25;
select a, b, c INTO r_a, r_b, r_c from atable where
SDO_WITHIN_DISTANCE(atable.GEOLOC,MDSYS.SDO_GEOMETRY
(2001,NULL,MDSYS.SDO_POINT_TYPE(v_long,v_lat,NULL),NULL,NULL),
'distance = dist, Unit=MILE, layer_gtype = POINT')
= 'TRUE';
cnt := cnt + 1;
end loop;
if cnt >= 2 then
found3:= TRUE;
end if;
The only references I am finding to the ODCI Index is in the
Oracle Data Cartridge Developers manual. SInce I am not
developing a Data Cartridge, I am assuming the error is coming
from either the Oracle Geocoder or the MapInfo implementation of
that. In either case I do not see how I can correct the
problem.
Is the suggestion that there might be a problem with the
geometry (in my case both are x,y points)?
Thank you for any help -
Hi,
This are the tables needed for my querry:
gi_eevent
projid clientid name
106 2 test2
107 3 test3
projemployee
projid empid function
106 1 mm
106 2 sm
106 3 cc
106 4 cl
107 5 mm
employee
fname lname empid
ennio frais 1
jan vlas 2
sofie dries 3
kris kans 4
ellen bies 5
Now I want to display each project, but the problem is when I use the following querry (see at the bottom) it displays projid with number 106,n 4 times.
What I want is, only once the projid (106) and then the 4 functions of the employees linked to it.
Can anybody help?
Thx
Querry:
SELECT e.projid, e.clientid, e.projname, e.entrydate, e.enddate, e.orderconfirdate, e.kickoffdate, e.reldatspecs, e.ponum, e.fixfee,
floor(sysdate-e.entrydate) timespent, e.timebudget, e.bestprice, e.salescountry, e.oppcountry, e.teamid, e.invoicenum, e.commodity, e.reservedprice, e.varfee, e.varcost, e.invoiceorigin, e.initialvol, e.tenddescr,
c.companyname, c.contactperslname,
em.empfname || ' ' || em.emplname name
FROM gi_eevent e, client c, employee em, projemployee p
WHERE e.clientid = c.clientid AND e.projid = p.projid
AND p.empid = em.empid;have a look at the following url: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:3027089372477
If you are just looking for something to use in sql*plus, you could also just use the formatting options to suppress multiple listings of the same value.
sql*plus formatting documantation: http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a90842/ch7.htm#1005594
greetings
Freek D -
Hi,
I have a particular scenario wherein the mrp run
generates a non account assigned PR
Parent item (FG): Pump Assembly
Child items:
1.Bare pump
2.Coupling
3.Base
Now when u run MRP for an assemble to order sales order
via MDO2,coupling and base are sent to subcontractor against sales order from stock, but when it comes to bare pump our scenario is such that this child item is sometimes available in stock while most
of the time it is procured from subcontractor itself
directly who then performs the assembly whose charges are
included in the subcontracting info record of the parent item.
Now, i want to know what is the exact setting in the
material master records for indivigual/collective requirements in each of material master records?
Any HELP regarding this querry, it would
be really appreciated!
Thanks in Advance...
SantoshHi Santosh,
Individual/Collective indicator
Parent item (FG): Pump Assembly "1"
Child items:
1.Bare pump "2"
2.Coupling "1"
3.Base "1"
Coupling and Base can also be defined as "2" provided it is a standard part.
Regards,
Prasobh -
Collection Querry Software detect
Hello,
defined a Collection with the following querry:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID
= SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName like "%Trend Micro%" and SMS_G_System_ADD_REMOVE_PROGRAMS.Version
like "10.%"
The aim was: That i get all Clients into the Group which have Tern Micro 10.x have installed.
Problem: But a lot more clienst come into the Group because
1. All clienst with Ternd Micro installed
2. All clienst having a random Software installed with version 10.x; e.x MS Visual C++ 10.0.0That's because you are mixing two different classes:
... where
SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName like "%Trend Micro%" and
SMS_G_System_ADD_REMOVE_PROGRAMS.Version like "10.%"
Just pick one of them.
Torsten Meringer | http://www.mssccmfaq.de -
Regarding Prompts a typical requirement
Hi Experts,
I got one typical requirement in prompt level please help me as this is high priority
I have a prompt for customer names here in the prompt if i enter A it as to show all customer names which starts with A from that customer names i have to select names what i want.
If i enter RA it as show customer names starts with RA from all the customers from that list i have to select the name what i want.
Just to make easy selection of customers from huge number of list according to our requirement.
Regards,Follow this links
http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/prompts.htm#BEIJEJGI
or
http://debaatobiee.wordpress.com/2009/10/04/javascript-in-obiee-to-search-a-report-and-custom-data-format/
If helps pls mark correct -
Hi i wrote the following querry but getting error
Comma without preceding colon (after SELECT ?).
the queerry is like this
SELECT ekko~lifnr
lfa1~adrnr
adr6~smtp_addr
into ( l_lifnr, l_adrnr, l_smtp_addr )
from ( ( ekko inner join lfa1 as lfa1 on ekko1~lifnr = lfa1~lifnr )
inner join adr6 as adr6 on lfa1~adrnr = adr6~adrnr ).
ENDSELECT.Hi,
try like this:
make a structure taking the reqd fiedls from the mentioned tables and then make a internal table e.g it_a
SELECT ekko~lifnr
lfa1~adrnr
adr6~smtp_addr
into corresponding fields of table it_a
from ( ( ekko inner join lfa1 as lfa1 on ekko1lifnr = lfa1lifnr )
inner join adr6 as adr6 on lfa1adrnr = adr6adrnr ).
ENDSELECT.
Regards
Rajesh Kumar -
Can anyone plz clarify the following querry :-
If my flat file has three header level records then in that case there will be three IDOC (MInOccurence = 1 and MaxOccurence = 1) generated at R/3 level right.
How XI send these IDOCS does it send them one by one or collect all the IDOCS and send them togather.
Looking forward for quick replies ! ! ! !
Regards
HemaHI Raju
while creating the partner profile, there is an option
triggering immediately etc...
with that you will post the idocs...
Cheers..
Vasu
<i>** Reward Points if found useful **</i>
Maybe you are looking for
-
Viewing animated GIFs in the Finder and Preview
I was wondering why my animated gif images do not play while I view them in the preview in the Finder or Preview. I know it plays when I view gifs in Explorer and was wondering why doesn't the Finder/Preview. I would really like to be able to view th
-
I can't seem to reopen Firefox. I HAVE, in fact, closed Firefox. I've even "force quit" it. When I shut down my computer and restarted it, I got Firefox back, but then when I went off and tried to come back on, the problem reoccurred. When I try to r
-
Writing JSPs to play chess; I get a null at a point, where I shouldn't
I am writing a set of JSP pages in order to play chess online. I know it is better to do this task using an applet, but the man I am working for doesn't want it to be an applet. The idea is two clients play a game, while in fact manipulating a single
-
Flash Slide Show not Showing after Hosting Change
Hey guys! I don't know if this question is for you or for the good folks at the Dreamweaver forum, but I thought I would try here first. I took over a website for a family member to help them update it from time to time (They were paying a company
-
How Do I Tell A Version From A Master
Masters can only be stored in one Project. Correct? If I drag a photo from a Project into an Album I'm assuming what's in the Album is a Version. Correct? How can I tell I'm looking at a Version and not a Master?