Scale type or objects not working
Using the shift key to constrain proportions on type or objects doen't seem to work for me. I'm using version 13.0.2. It doesn't work using the scale tool or by dragging endpoints. Am I missing something here?
Michael
Hi,
It's not the "trim" that implies "not null", but rather the fact that:
- "not like" operator works only on non-null values and
- "not like" operator disregards null values.
Consider this:
test@ORA92>
test@ORA92>
test@ORA92> l
1 with x as (
2 select null as y from dual union all
3 select 'a9999' from dual union all
4 select 'bxx' from dual
5 )
6 select * from x
7* where y not like '%9999'
test@ORA92>
test@ORA92> /
Y
bxx
1 row selected.
test@ORA92>
test@ORA92>Here, trim function was not used, but still the first row (that had null for y) was not returned. That's because Oracle disregarded the first row for comparison and out of the next two rows, it returned the third row because it satisfied the condition.
As for your query, do the following conditions hold true:
1. if status_code is null - show the row regardless of order_type
2. if status_code <> 'T' - show the row regardless of order_type
3. if status_code in (a,b,c,d) and order_type is not null and order_type ends with something other than 9999 - show the row
4. if status_code in (a,b,c,d) and order_type is null - do not show the row
5. if status_code in (a,b,c,d) and order_type is not null and it ends with 9999 - do not show the row
6. if status_code is anything other than (a,b,c,d) - do not show the rowpratz
Similar Messages
-
Create Type as Object not working in linux oracle 11g
Pleae refer to the following simple create type as object statement.
CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
It is working in oracle 11g and windows server 2008 environment.
But it is not working in oracle 11g with linux environment.
I am executing this statement as dynamic sql as follows
CREATE OR REPLACE PROCEDURE TEMP_SP
AS
BEGIN
DECLARE vcType VARCHAR2(30);
BEGIN
SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
COMMIT;
RETURN;
END;
END;
exec TEMP_SP
please let me know what i am missing ?And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
ORA-01403: no data found
ORA-06512: at line 1
..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
COMMIT;
RETURN;
END;
END; -
ZSAPLINK for Object type = CLAS is not working
Dear Experts,
ZSAPLINK for Object type = CLAS is not working. On executing by selecting Export Object to Slinkee with Object type = CLAS and class name, It is giving the dump which is shown in below snapshots. Pls guide me how to resolve this error.
Thanks
KHFrom the screenshot, It seems that the object _renderer did not point to any memory location.
You can verify this by putting a breakpoint in method IF_IXML~CREATE_RENDERER of class CL_IXML
If the return value RVAL is initial, this mean there something wrong with the kernel module abkm_iXML_CreateRenderer. If it is, you will have to check with your Basis team to apply some kernel patches.
Hope it helps. Cheers! -
File type associations is not working in the App-V 4.6 SP3
Hello,
I found issue, that file type associations is not working in App-V 4.6 SP3. When I try to open associated file with double click I receive next window:
Translate: This action is only valid for products that are currently installed.
I have checked associations in App-V Console and in OSD file, everything looks like OK.
Maybe someone has some ideas?
Could you please share them with me?
Thank you in advance.Is this only happening on one client machine? If so can you completely clear the application and re-stream\cache it again?
If that fails, you could try to create the FTA locally on the client
PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
rorymon.com Twitter: @Rorymon -
Text keeps disappearing when I select it to make type at all / make changes / edit. Type tool is not working. I am running CS6 on a Macbook Pro Retina (which I am hating!) 10.9.4 - wish I'd never upgraded.
Photoshop General DiscussionThe RAM needs specs as shown below.
Maximum Memory
16 GB (Actual) 8 GB (Apple)
Memory Slots
2 - 204-pin PC-10600 (1333 MHz) DDR3 SO-DIMM -
input type="file" multiple / not working in IE 10.
< input type="file" multiple /> not working in IE 10.
I am trying to use the HTML 5 multi-file upload capability in a MVC 4 app.
The control allows me to select multiple files when running under localhost but does not work when trying it from the web server.
Is there some web server configuration I need to do? Web server is running IIS 7.Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).
-
Quicktime objects not working on GoLive
I have a GoLive CS2 Student Version. My Quicktime Objects are not working. I tried to drag the track objects to the page or to layer and no avail.
Can you help me? I spent a whole day to finally figure out the Quicktime objects not working.Thank you for the support John,
To explain what I am doing in more detail: I am basically making an image gallery with thumbnail buttons of each image. When the user enters this page I want to have the automatic slideshow of a few images. Then the user have the option to click on the buttons to see the images. I was able to make a slideshow in GoLive. But the transition is abrupt. According to the GoLive Help Menu there is a way to make the trasnition smoother using the timeline editor, but it is too difficult to follow up for me. So I downloaded another program called SWFn'Slide which was very easy to make the smooth transitional slideshow. Now I am trying to insert the SWF file into my page. But I can't figure out how to do it. In my understanding, I must place a layer on the page and on that layer I must place the SWF track from the Quicktime Objects tab. But I cannot drag any of the Quicktime Objects tools into the page. Again I am having a problem inserting a SWF file into the page. -
Dynamic Action on DOM object not working
Thru a dynamic action I am executing PL/SQL Code that creates additional item using APEX_ITEM.CHECKBOX (see code on bottom). Thru another Dynamic action, I am trying to execute additional Java. I have it set to fire like this:
Event: Click
Type: DOM Object
DOM Object: document.forms[0].f11 (this matches the APEX_ITEM.checkbox fxx value)
Just trying a simple alert("hi"). doesn't work. Am I missing something?
DECLARE
l_hold_table_name varchar2(1000) := :P1223_HOLD_TABLE_NAME;
l_hold_html varchar2(32000) := '';
l_hold_session_state varchar2(32000) := '';
CURSOR get_columns IS
select b.column_heading, b.column_name
from dual
BEGIN
l_hold_html := '<DIV><TABLE border="2"><THEAD><TR><TH>' || l_hold_table_name ||
'</TH></TR></THEAD>';
FOR x in get_columns LOOP
l_hold_html := l_hold_html || '<TR><TD>' || APEX_ITEM.CHECKBOX(20,x.column_name,null) || x.column_heading || '</TD></TR>';
END LOOP;
l_hold_html := l_hold_html || '</TABLE><DIV>';
:P1223_HOLD_INNERHTML := l_hold_html;
END;Hi,
first your code in example does not compile.
CURSOR get_columns IS
select b.column_heading, b.column_name
from dual
There is a ; missing and even with that this query is not OK.
If you have a problem with DOM selector, then try jquery selector:
Event:Click
Selection Type: jQuery Selector
jQuery Selector: input:checkbox[name*='f11']
For testing I created a test page with one dynamic PLSQL region and following source:
DECLARE
l_hold_table_name varchar2(1000) := 'MYTABLE';
l_hold_html varchar2(32000) := '';
l_hold_session_state varchar2(32000) := '';
CURSOR get_columns IS
select
'My Checkbox' column_heading, 'a' column_name
from dual ;
BEGIN
l_hold_html := '<TABLE border="2"><THEAD><TR><TH>'
|| l_hold_table_name
|| '</TH></TR></THEAD>';
FOR x in get_columns LOOP
l_hold_html := l_hold_html ||
'<TR><TD>' ||
APEX_ITEM.CHECKBOX(20,x.column_name,null) ||
x.column_heading ||
'</TD></TR>';
END LOOP;
l_hold_html := l_hold_html || '</TABLE>';
htp.p( l_hold_html );
END;And Dynamic Action with properties as described above (only that in my case name of the checkbox is f20)
You can see working example here : http://apex.oracle.com/pls/apex/f?p=60428:4
Regards,
Aljaz
Edited by: Aljaz on 5.3.2012 22:36 -
Substituting View object not working.....
Hi All,
I am working on iSupplier portal, I am trying to add requeter name on the line lavel of PO details page of iSupplier.
But the by substitutions of Standard View Object is not working.
1. I have extend the PosViewLinesVO object with Custome PosViewLInesVOEx
2. Add the View Object in the ViewOrderAM.class
3. Go to SSTest.jpr file and add the substitutinons by edit optin.
4.Then trying to test on the standalon . But the it's not working
5. The View PosViewLInesVO having viewlink with PosViewShipmentsVO so i am unable understand, if i am add a new column requeter name on the personalization than it giving error.
6. I f i open the about the page is shown both the view original view PosViewLineVO and the Extend View PosViewLinesVOEx.
Can any body help me. why the View Substitution is not working.
I have the screenshots of the error but am not able to attach it over here. Could you please ping me your ID so that I can forwards the Error Msg file to you guys.
In the doc,I have attached the screen sort and the requirement details.
Help Appreciated.
ThanksIf you are working on R12, there are some bugs with VO extension :
1)If a expert mode VO based on EO is extended and new attributes from EO are included, the new attributes turn out to be transient.The resolution is you would have to manually edit the extended VO xml file and include EO reference in new attributes.
2) If expert mode VO based on sql query is extended all attributes automatically become Update : Never in extended VO, you need to go to each attribute in VO wizard and change the type to Update:Always.
--Mukul -
Java object with ArrayList of custom objects not working
I have a custom java object that has an ArrayList of another set of custom objects (code listed below). I can pull back a Customer object (to flex client) and it's recognized as a Customer action script object, but the ArrayList in the Customer object is not recognized as an ArrayCollection of Accounts. Instead it is an ArrayCollection of Action Script Objects.
At first I thought something was wrong with my action script Account class, but then I tried to pull back just an Account and it was recognized as an action script Account. It's just when I have my Customer object with an ArrayList of Accounts that it isn't getting converted.
Is there something else I need to do to have that ArrayList be recognized as an ArrayCollection of Accounts on the Flex Client side? Is there some way of specifying what type an ArrayCollection is mapped to?
Thanks in advance for the help!
public class Customer {
private String name;
private String address;
private ArrayList<Account> accounts;
public Customer(){
public String getName(){
return name;
public void setName(String str){
name = str;
public String getAddress(){
return address;
public void setAddress(String str){
address = str;
public ArrayList<Account> getAccounts(){
return accounts;
public void setAccounts(ArrayList<Account> list){
accounts = list;
public class Account {
private long accountNumber;
private String type;
private double balance;
public Account(){
public long getName(){
return accountNumber;
public void setName(long l){
accountNumber= l;I accidently found how to make this work. I may have missed something while reading about blazeDS reflection, but I thought I'd pass this along anyway.
What I have is I have an class A. In class A I have an arraycollection of Class B. If I want that arraycollection to return to the server with the correct class, then I need to include Class B in the compiled swf. How I have done that is to create a dummy variable of type B. Importing B will not work you actually need to have a member variable of type B even if you don't need it.
Example
import dataobjects.B;
[RemoteClass(alias="dataobjects.A")]
public class A {
private var _b:B; //This is never used, but needed to include B object in swf to be reflected.
private var_ bList:ArrayCollection = new ArrayCollection();
public function A(){
public function set bList(list:ArrayCollection):void{
_bList = list;
public function get bList():ArrayCollection{
return _bList; -
Date type parameters do not work package procedure
a cordial greeting to the whole community, in advance thank you very much for your precious time
a general way I have the following, a package in which I have a main procedure which I recible three parameters: a start date, a final, and a number of client
to use the dates I enter as parameter to query yields no records, but if I assign the date internally in the procedure, if it sheds records, the strange thing is that both the data and the parameters that are identical internally assigned even in its length and I checked, the truth and I stay out of ideas thank you very much for your time attaching the code
for now I'm just using the second query forget the first
------call to procedure-----
DECLARE
errcode VARCHAR2(200);
errbuf VARCHAR2(200);
BEGIN
xxxxx.pkg.xxxinitial_end(errcode ,errbuf
,'2013/08/19 00:00:00'
,'2013/08/23 00:00:00','456456456546');
END;
-----------------------------------------------------------------procedure---------------------------------------------------------------------
PROCEDURExxxinitial_end (ERRCODE OUT VARCHAR2
, ERRBUFF OUT VARCHAR2
, p_initial_date IN VARCHAR2
, p_end_date IN VARCHAR2
, customer IN VARCHAR2)IS
l_encoding_line VARCHAR2(240);
cur_without_customer SYS_REFCURSOR;
cur_with_customer SYS_REFCURSOR;
initial_date DATE;
end_date DATE;
initial_date2 DATE;
end_date2 DATE;
BEGIN
l_encoding_line := '<?xml version="1.0" encoding=' || '"iso-8859-1"' ||
' ?>' || chr(10) || '<XXOCS_TOTAL_VENTAS_SINEXP>';
initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');-----------------input parameters NOT WORKING
end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');-------------------input parameters
initial_date2:=to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS');---------------------default values
end_date2:=to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS');---------------------default values WORKING FINE
IF customer IS NULL THEN
-- OPEN cur_without_customer;
DBMS_OUTPUT.PUT_LINE('se ejecuto el primero');
-------------------------cursor -----------------------------------
OPEN cur_without_customer FOR
SELECT rct.customer_trx_id
,rctl.customer_trx_line_id
,hp.party_name ---cliente
,hca.account_number ----N° Cliente
,rctl.line_number -----item
,rctt.name---descripcion transaccion
,rct.trx_number -----numero
,rctt.type ------tipo de transaccion
,hp.party_id--control solamente
,rct.trx_date------Fecha de emisión Comprobante de Venta
,rct.attribute1 ---No. de autorización del Comprobante de Venta
,mp.attribute9||rct.trx_number N_Comprobante---No. de Comprobante de Venta
,rct.attribute4-----Unidad Estratégica de Negocio
,mp.attribute9---- N° de establecimiento
,rctl.description-----Descripción (Tipo de Combustible)
,rctl.quantity_invoiced---Cantidad Vendida en galones
,rctl.unit_selling_price---Precio de venta unitario
--,rctl.taxable_amount-------Valor Base Imponible --restriccion
--,rctl.extended_amount---valor iva 12%
-- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
FROM ra_customer_trx_all rct,
ra_customer_trx_lines_all rctl,
hz_cust_accounts hca,
hz_parties hp,
ra_cust_trx_types_all rctt,
mtl_parameters mp
-- mtl_system_items_b msi,
-- zx_lines zl
--ra_batch_sources_all rbs
WHERE
--rct.trx_date BETWEEN initial_date AND end_date --parametros de fecha
rct.trx_date BETWEEN to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*initial_date*/ AND to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*end_date*/
AND rct.sold_to_customer_id = hca.cust_account_id
AND hca.party_id = hp.party_id
AND rct.customer_trx_id=rctl.customer_trx_id
--AND rctl.inventory_item_id=msi.inventory_item_id
AND mp.organization_id=rctl.warehouse_id
AND rct.cust_trx_type_id = rctt.cust_trx_type_id;
print_output(fnd_file.output, l_encoding_line);
get_xml(cur_without_customer, 'G_REGISTER', 'CABECERA', ERRCODE);
IF ERRCODE = 1 THEN
ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
ERRCODE := 2;
RETURN;
ELSIF ERRCODE = 2 THEN
ERRBUFF := SQLERRM;
RETURN;
END IF;
print_output(fnd_file.output, '</XXOCS_TOTAL_VENTAS_SINEXP>');
ELSE
-- OPEN cur_with_customer;
DBMS_OUTPUT.PUT_LINE('se ejecuto el segundo');
-----------------------cursor 2---------------------------
DBMS_OUTPUT.PUT_LINE('customer ' || customer);
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS '||length(p_initial_date));
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS '||length(p_end_date));
DBMS_OUTPUT.PUT_LINE('customer ' || customer);
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS quemados '|| length(initial_date2));
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS quemados '|| length(end_date2));
DBMS_OUTPUT.PUT_LINE('customer ' || customer);
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS convertidso '|| length(initial_date));
DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS convertidos '|| length(end_date));
OPEN cur_with_customer FOR
SELECT rct.customer_trx_id
,rctl.customer_trx_line_id
,hp.party_name ---cliente
,hca.account_number ----N° Cliente
,rctl.line_number-----item
,rctt.name---descripcion transaccion
,rct.trx_number -----numero
,rctt.type ------tipo de transaccion
,hp.party_id---control solamente
,rct.trx_date------Fecha de emisión Comprobante de Venta
,rct.attribute1 ---No. de autorización del Comprobante de Venta
,mp.attribute9||rct.trx_number N_Comprobante--No. de Comprobante de Venta
,rct.attribute4------ Unidad Estratégica de Negocio
,mp.attribute9---------N° de establecimiento
,rctl.description---------Descripción (Tipo de Combustible)
,rctl.quantity_invoiced----Cantidad Vendida en galones
,rctl.unit_selling_price ---Precio de venta unitario
-- ,rctl.taxable_amount-------Valor Base Imponible --restriccion
-- ,rctl.extended_amount---valor iva 12%
-- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
FROM ra_customer_trx_all rct,
ra_customer_trx_lines_all rctl,
hz_cust_accounts hca,
hz_parties hp,
ra_cust_trx_types_all rctt,
mtl_parameters mp
-- mtl_system_items_b msi,
--zx_lines zl
WHERE hca.account_number=customer
AND hca.party_id=hp.party_id
AND hca.cust_account_id=rct.sold_to_customer_id
AND rct.customer_trx_id=rctl.customer_trx_id
-- AND rctl.inventory_item_id=msi.inventory_item_id
AND mp.organization_id=rctl.warehouse_id
AND rct.cust_trx_type_id = rctt.cust_trx_type_id
AND rownum = 1
AND rct.trx_date BETWEEN initial_date AND end_date;<------------when I assign these parameters( initial_date AND end_date )--are the insert by parameter initial_date2 AND end_date2 defualt
DBMS_OUTPUT.PUT_LINE('customer ' || customer);
DBMS_OUTPUT.PUT_LINE('fe inicial ' || initial_date);
DBMS_OUTPUT.PUT_LINE('fe final ' ||end_date);
print_output(fnd_file.output, l_encoding_line);
get_xml(cur_with_customer, 'G_REGISTER', 'CABECERA', ERRCODE);
IF ERRCODE = 1 THEN
ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
ERRCODE := 2;
RETURN;
ELSIF ERRCODE = 2 THEN
ERRBUFF := SQLERRM;
RETURN;
END IF;
print_output(fnd_file.output, '</XXOCS_TOTAL_VENTAS_SINEXP>');
END IF;
EXCEPTION
WHEN OTHERS THEN
print_output(fnd_file.log, 'Error Ventas sin Exportaciones:' || SQLERRM);
ERRCODE := 2;
ERRBUFF := SQLERRM;
-- Initialization
END xxxinitial_end;Welcome. As a note, this question has nothing to do with PL/SQL XML programming and everything to do with SQL and PL/SQL
That said, the simple test case I setup, because I don't have all your tables, works just fine.
declare
l_errcode VARCHAR2(300);
l_errbuff VARCHAR2(300);
PROCEDURE xxxinitial_end (ERRCODE OUT VARCHAR2
, ERRBUFF OUT VARCHAR2
, p_initial_date IN VARCHAR2 -- why not a date?
, p_end_date IN VARCHAR2 -- why not a date?
, customer IN VARCHAR2)
IS
initial_date DATE;
end_date DATE;
l_value VARCHAR2(10);
BEGIN
initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');
end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');
-- Not trapping the No Data Found on purpose
SELECT 'hit'
INTO l_value
FROM dual
WHERE SYSDATE BETWEEN initial_date AND end_date;
END xxxinitial_end;
begin
-- Test statements here
xxxinitial_end(l_errcode, l_errbuff
,'2013/08/19 00:00:00'
,'2013/10/19 00:00:00'
,null);
end;
As a comment above says, if you are dealing with dates, why not use a DATE parameter in the procedure and avoid the conversion in your code.
Also, you can simplify your code a bit by using a third sys_refcursor and setting one of the opened cursors to it. This allows you to pull out the common logic following the OPEN and only have one copy of it.
PROCEDURE xxxinitial_end (ERRCODE OUT VARCHAR2
, ERRBUFF OUT VARCHAR2
, p_initial_date IN VARCHAR2 -- why not a date?
, p_end_date IN VARCHAR2 -- why not a date?
, customer IN VARCHAR2)
IS
l_encoding_line VARCHAR2(240);
cur_without_customer SYS_REFCURSOR;
cur_with_customer SYS_REFCURSOR;
cur_comm SYS_REFCURSOR;
initial_date DATE;
end_date DATE;
BEGIN
l_encoding_line := '<?xml version="1.0" encoding=' || '"iso-8859-1"' ||
' ?>' || chr(10) || '<XXOCS_TOTAL_VENTAS_SINEXP>';
initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');-----------------input parameters NOT WORKING
end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');-------------------input parameters
IF customer IS NULL THEN
-------------------------cursor -----------------------------------
OPEN cur_without_customer FOR
SELECT rct.customer_trx_id
,rctl.customer_trx_line_id
,hp.party_name ---cliente
,hca.account_number ----N° Cliente
,rctl.line_number -----item
,rctt.name---descripcion transaccion
,rct.trx_number -----numero
,rctt.type ------tipo de transaccion
,hp.party_id--control solamente
,rct.trx_date------Fecha de emisión Comprobante de Venta
,rct.attribute1 ---No. de autorización del Comprobante de Venta
,mp.attribute9||rct.trx_number N_Comprobante---No. de Comprobante de Venta
,rct.attribute4-----Unidad Estratégica de Negocio
,mp.attribute9---- N° de establecimiento
,rctl.description-----Descripción (Tipo de Combustible)
,rctl.quantity_invoiced---Cantidad Vendida en galones
,rctl.unit_selling_price---Precio de venta unitario
--,rctl.taxable_amount-------Valor Base Imponible --restriccion
--,rctl.extended_amount---valor iva 12%
-- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
FROM ra_customer_trx_all rct,
ra_customer_trx_lines_all rctl,
hz_cust_accounts hca,
hz_parties hp,
ra_cust_trx_types_all rctt,
mtl_parameters mp
-- mtl_system_items_b msi,
-- zx_lines zl
--ra_batch_sources_all rbs
WHERE
--rct.trx_date BETWEEN initial_date AND end_date --parametros de fecha
rct.trx_date BETWEEN to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*initial_date*/ AND to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*end_date*/
AND rct.sold_to_customer_id = hca.cust_account_id
AND hca.party_id = hp.party_id
AND rct.customer_trx_id=rctl.customer_trx_id
--AND rctl.inventory_item_id=msi.inventory_item_id
AND mp.organization_id=rctl.warehouse_id
AND rct.cust_trx_type_id = rctt.cust_trx_type_id;
cur_comm := cur_without_customer;
ELSE
-----------------------cursor 2---------------------------
OPEN cur_with_customer FOR
SELECT rct.customer_trx_id
,rctl.customer_trx_line_id
,hp.party_name ---cliente
,hca.account_number ----N° Cliente
,rctl.line_number-----item
,rctt.name---descripcion transaccion
,rct.trx_number -----numero
,rctt.type ------tipo de transaccion
,hp.party_id---control solamente
,rct.trx_date------Fecha de emisión Comprobante de Venta
,rct.attribute1 ---No. de autorización del Comprobante de Venta
,mp.attribute9||rct.trx_number N_Comprobante--No. de Comprobante de Venta
,rct.attribute4------ Unidad Estratégica de Negocio
,mp.attribute9---------N° de establecimiento
,rctl.description---------Descripción (Tipo de Combustible)
,rctl.quantity_invoiced----Cantidad Vendida en galones
,rctl.unit_selling_price ---Precio de venta unitario
-- ,rctl.taxable_amount-------Valor Base Imponible --restriccion
-- ,rctl.extended_amount---valor iva 12%
-- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
FROM ra_customer_trx_all rct,
ra_customer_trx_lines_all rctl,
hz_cust_accounts hca,
hz_parties hp,
ra_cust_trx_types_all rctt,
mtl_parameters mp
-- mtl_system_items_b msi,
--zx_lines zl
WHERE hca.account_number=customer
AND hca.party_id=hp.party_id
AND hca.cust_account_id=rct.sold_to_customer_id
AND rct.customer_trx_id=rctl.customer_trx_id
-- AND rctl.inventory_item_id=msi.inventory_item_id
AND mp.organization_id=rctl.warehouse_id
AND rct.cust_trx_type_id = rctt.cust_trx_type_id
AND rownum = 1
AND rct.trx_date BETWEEN initial_date AND end_date;<------------when I assign these parameters( initial_date AND end_date )--are the insert by parameter initial_date2 AND end_date2 defualt
cur_comm := cur_with_customer;
END IF;
print_output(fnd_file.output, l_encoding_line);
get_xml(cur_comm, 'G_REGISTER', 'CABECERA', ERRCODE);
CLOSE cur_comm;
IF ERRCODE = 1 THEN
ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
ERRCODE := 2;
RETURN;
ELSIF ERRCODE = 2 THEN
ERRBUFF := SQLERRM;
RETURN;
END IF;
EXCEPTION
WHEN OTHERS THEN
print_output(fnd_file.log, 'Error Ventas sin Exportaciones:' || SQLERRM);
ERRCODE := 2;
ERRBUFF := SQLERRM;
-- Initialization
END xxxinitial_end; -
A/R Invoice linked object not working all the time
I have a LinkedButton that is set to SAPbouiCOM.BoLinkedObject.lf_Invoice. When the selected A/R Invoice has a Document Type of Service the link works. When the selected A/R Invoice has a Document Type of Items the link does not work and I get the following error:
"No matching records found 'A/R Invoice' (ODBC -2028)"
I there another property that I should be setting? I could not find anything.Hi,
I've added a code sample that works fine for me.
add this code to a simple vb project with the correct references....
1. Enter a number of the Invoice you want
2. click on the second EditText to set the linkedButton
3. click the LinkedButton
<i>Public WithEvents m_App As SAPbouiCOM.Application
Private Sub Class_Initialize()
Dim oForm As SAPbouiCOM.Form
Dim oDBDS As SAPbouiCOM.DBDataSource
Dim oItem As SAPbouiCOM.Item
Dim oLB As SAPbouiCOM.LinkedButton
Dim oST As SAPbouiCOM.StaticText
Dim oET As SAPbouiCOM.EditText
Set m_App = getCurrentApplication()
' m_App.MessageBox "You have COM UI connection"
'form
Set oForm = m_App.Forms.Add("UUID")
oForm.Height = 150
oForm.Width = 400
oForm.Top = 100
oForm.Left = 400
Set oDBDS = oForm.DataSources.DBDataSources.Add("OINV")
'Edittext
Set oItem = oForm.Items.Add("EditT", it_EDIT)
oItem.Left = 200
oItem.Width = 40
oItem.Top = 50
oItem.Height = 15
Set oET = oItem.Specific
Call oET.DataBind.SetBound(True, "OINV", "DocNum")
'static
Set oItem = oForm.Items.Add("StaticT", it_STATIC)
oItem.Left = 50
oItem.Width = 100
oItem.Top = 50
oItem.Height = 15
oItem.LinkTo = "EditT"
Set oST = oItem.Specific
oST.Caption = "Business Partner Code"
Set oItem = oForm.Items.Add("EditT2", it_EDIT)
oItem.Left = 200
oItem.Width = 40
oItem.Top = 80
oItem.Height = 15
Set oET = oItem.Specific
Call oET.DataBind.SetBound(True, "OINV", "DocNum")
Set oItem = oForm.Items.Add("StaticT2", it_STATIC)
oItem.Left = 50
oItem.Width = 100
oItem.Top = 80
oItem.Height = 15
oItem.LinkTo = "EditT2"
Set oST = oItem.Specific
oST.Caption = "Business Partner Decs"
'linked button
Set oItem = oForm.Items.Add("Linked", it_LINKED_BUTTON)
oItem.Left = 180
oItem.Top = 50
oItem.LinkTo = "EditT"
Set oLB = oItem.Specific
oLB.LinkedObject = lf_Invoice
oForm.Visible = True
End Sub</i>
Regards,
Yaniv G.
SDK Consultant,
SAP Manage Israel. -
The type tool is not working on new projects - although I can use it on an existing one?
My type tool has stopped working on projects - although I can see the letters in the layer grid when I press save - they are just not showing up on the project itself. Thank you for any help you can give me!
Nope they are different colors - the cursor doesn't move!
-
Display/Change/Delete of planning object not working in BPS
Hi Guys
While displaying or changing object in planning workbench, system is taking too long to process the request and request doesn't completes even in hours. The following operations are not working
1. Delete Planning Area/Level.
2. Display/Change planning Level.
3. Display/Change Planning Layout.
4. When clicking on Variable Tab of infoarea.
5. When clicking on Set variable button.
In all of the above mentioned cases System displays a message "Generating Environment" and it runs for indefinite time.All this is ha0
We are on Suppport Pack 12 of BI NetWeaver(2004S)and we are using BPS for our planning application.
Thanks
Tripple kHi Dear
Thanks for info. i know that it will take some time to regenerate the BPS classes after making changes in cube but in my system its taking at least half an hour which i think is too much.....i don't think that its normal behaviour of system...
Thanks
Kamal -
CS4's 3d object not working in snow leopard
when my system was leopard, photoshop cs4's 3d object is working properly...but when i upgraded it to snow cs4 indicates that the feature no longer support it....why was it? T_T
when my system was leopard, photoshop cs4's 3d object is working properly...but when i upgraded it to snow cs4 indicates that the feature no longer support it....why was it? T_T
Maybe you are looking for
-
Why again funtion modules in ABAP OO ?
if you look at the code inside cl_gui_frontend_services->gui_upload they use gui_upload function. there is no difference. internally the class also uses GUI_UPLOAD .......... there is conflict like data consistancy problem with function module .. why
-
IPhoto automatically imported EVENT and its photos?
I imported some photos into iPhoto on my MacBook Air this weekend while away. This morning (I'm back home), I started the MacBook Air with the intent of copying the imported photos to my iMac and eventually into the iPhoto library. So the Air is runn
-
Deleting Photo Files in Lightroom 4
I use Aperture 3 and am thinking of switching to Lightroom 4. I do not store my photos in the Aperture 3 library. Instead I store my photos in my own folder system on an external hard drive and I reference the files in Aperture. This works well for
-
Replacing Panels in JTabbedPane
I'll try to explain this coherently... hopefully it makes sense. - I have a Jtabbedpane with multiple tabs. Tab1 and Tab2. - Panel1 and Panel2 are associted with Tab1 and Tab2 respectively. - I have a button on Panel2 and when it's pressed I call set
-
Can I replace my video card on my current Macbook pro?
Is it possible to replace a video card on a macbook pro? I have a 15.4 inch late 2007 model running a nvidia gefore 8600m gt 256mb. Does any one know where I can buy another video card to replace if it is possible. Thank you.