Query to get the flex field values description.
Hello
Entering invoices-> all the Distributions screen 'Special Mentions for the India' is here. Here we enter the value for the field TDS - tax. I want to get the list of values for TDS - tax in a query.
Can you please help me.
Thank you
Nanga.
where 'jtc.tax_type =' TDS
and jtc.section_type = 'TDS_SECTION. '
and org_id =: inv_sum_folder.org_id
and jtc.section_code in
(
Select section_code
of jai_ap_tds_th_vsite_v
where vendor_id =: inv_sum_folder.vendor_id
and vendor_site_id =: inv_sum_folder.vendor_site_id
)
order of jtc.tax_id
Tags: Oracle Applications
Similar Questions
-
Getting the text field value?
How can I get the value entered into the field of action tf_1?
Let's say I'm going to number 5 in the text field tf_1, how can I receive it for use in the code?
I would like to store that value in the variable, so that I can work with him in a function.
Can someone help me? I am already grateful!
var num:Number;
calcular.addEventListener (MouseEvent.CLICK, resolver);
function resolver(Event:MouseEvent): void {}
NUM = Number (tf_1.text);
If (num/400 = 0) {}
trace ("Yes!");
}
}
-
query to get the maximum integer value of varchar columns
I have the following values in the column of type Varchar.
USR_LOGIN (VARCHAR2)
-----------------------------
50
52
53
55
57
123
111
145
XELSYSADM
TESTUSER
USER123
12TESTUSER
But I need to get the result as 145.
Can you help me with the sql query?Maybe it's
SQL> with t as ( select '50' usr_login from dual union all select '52' from dual union all select '53' from dual union all select '55' from dual union all select '57' from dual union all select '123' from dual union all select '111' from dual union all select '145' from dual union all select 'XELSYSADM' from dual union all select 'TESTUSER' from dual union all select 'USER123' from dual union all select '12TESTUSER' from dual ) -- -- select max(to_number(regexp_substr(usr_login, '\d+'))) usr_login from t / USR_LOGIN --------------- 145 1 row selected.
-
SQL query to get the NULL records after the last matching flag
I have a xx1 table with id and flag columns. So I want the data in this table, after the last flag matched. I want that data to id 7 in the rooms. Even if the id 2,3,5 are null flag 'Y' was at 6. ID so I need a query to get the data of the xx1 table after the last correspondence flag (from 7 to 9 id).
SQL > create table xx1
2 (identification number,
3 flag varchar2 (10));
Table created.
SQL > insert into xx1 values (1, 'Y');
1 line of creation.
SQL > insert into values xx1 (2, null);
1 line of creation.
SQL > insert into values xx1 (3, null);
1 line of creation.
SQL > insert into xx1 values (4, 'Y');
1 line of creation.
SQL > insert into values xx1 (5, null);
1 line of creation.
SQL > insert into xx1 values (6, 'Y');
1 line of creation.
SQL > insert into values xx1 (7, null);
1 line of creation.
SQL > insert into values xx1 (8, null);
1 line of creation.
SQL > insert into values xx1 (9, null);
1 line of creation.
SQL > select * from xx1.
FLAG OF THE ID
---------- ----------
1. IS
2
3
4. IS
5
6. IS
7
8
9
9 selected lines.
SQL >
Hello
user11164339 wrote:
Hi Frank - when I run the query, I don't see the results data.
I get
FLAG OF THE ID
----- ----------
7
8
9
What you do differently?
-
Query to get the data of the column and the metadata in the same set of results.
Is it possible to build a query to get the values of the columns in a table and also be able to get some metadata (data type, data_length, data_precision, data_scale) for columns in the same set of results.If I use a join, have a common value to join on the two tables?
you use a cross join, not requiring common values.
create table T (n number, d date, v varchar2(30)); insert into T values (1,sysdate,'ABC'); commit; select C.column_name, c.data_type, c.data_length, case c.column_id when 1 then to_char(T.N) when 2 then to_char(T.D) when 3 then T.V end VALUE from USER_TAB_COLUMNS C, T where C.table_name='T' order by c.column_id;
-
Get the range of values such as the value of my line
Hello
I want one of my column in the table ("for example: column name = ' GVW") appears as below
{code}
PBV
----------------
0-> 5
5. > 10
10 > 15
{code}
The values of the line comes from the table, called report_range_parameters table and it looks like in below
{code}
ID group name min_value max_value
1 gvw_group 0 5 gvw_name
gvw_group 2 5 10 gvw_name
3 gvw_group 10 15 gvw_name
{code}
Here's my INSERT sample data.
{code}
INSERT INTO REPORT_RANGE_PARAMETERS (ID, GROUP, NAME, MIN_VALUE, MAX_VALUE)
VALUES ('1 ', 'SPEED_GROUP', 'SPEED_NAME', '0', 5')
INSERT INTO REPORT_RANGE_PARAMETERS (ID, GROUP, NAME, MIN_VALUE, MAX_VALUE)
VALUES ('2 ', 'SPEED_GROUP', 'SPEED_NAME', '5', 10')
INSERT INTO REPORT_RANGE_PARAMETERS (ID, GROUP, NAME, MIN_VALUE, MAX_VALUE)
VALUES ('3 ', 'SPEED_GROUP', 'SPEED_NAME', '10', 15')
{code}
How I write a query to get the values of line like below?
-----------------
GVW |
-----------------
0-> 5
5. > 10
10 > 15
Thank youHello
SELECT min_value || ' -> ' || max_value AS GVW FROM REPORT_RANGE_PARAMETERS;
Kind regards
Published by: Walter Fernández on 12 June 2009 20:45
-
How to read or get the current selected value of selectonechoice
How to read or get the current selected value of selectonechoice, so that it can be used in the custom query.
selectOneChoice11.getValue () m:System.NET.SocketAddress.ToString () returns the index of the list.
from 0 - number of values in selectonechoice.
I want to read the exact value of selected.
Concerning
Niaz MWhy don't you try this?
Re: Value of SelectOneChoice in valueChangeListener
Both approaches will work...
Julian
-
How to get the ActiveX component value change event?
Hi all
LV 8.6.1
I try to get the ActiveX component value change event. I covered forum and through examples, but I can't get an idea of how "Recalling vi. For example, in the example 'ActiveX event Callback for IE.vi' it is used "recall vi". I've added an example where the change event of value with the mouse to the bottom of the event are scheduled to the structure of the event. Mouse down event OK work but change the value no. Can anyone describe what I need to add to my example vi who value the change event works fine?
BR, Jim
Here is the solution! "Value changed event" is not performed in the structure of the event, but in "Reminder VI".
-
Given an asset Flex, how can I get the Flex related definition?
I have a trump card of a certain Type of assets Flex flex. How can I get the Flex related definition?
I'm trying to make a well-founded on the definition of Flex with which it was created. Do you have good suggestions on what steps I can take?
Hello
Try something like: -.
-
IOM sql Query to get the status of the failed task
Hello world
We have an obligation as we need to get the status of a particular task (say Create User in OID - Completed\Rejected status resource) for the particular user. We are able to get the status of the provisioed of resources to the user but not the status of the special mission which is trigerred for the user.can someone put some light on it. We must have the SQL query to do this.
Thanks in advance.
Kind regards
MKNHello
Use this query to get the status of the task, also check the coomentsSELECT USR. USR_LOGIN, OSI. SCH_KEY, ANN. SCH_STATUS, STA. STA_BUCKET OF
OSI, CHS, STA, MIL, TOS, PKG, OUEDRAOGO, USR, OBJ, OST
WHERE OSI.MIL_KEY = MIL.MIL_KEY
AND ANN. SCH_KEY = OSI. SCH_KEY
AND STA. STA_STATUS = SCH. SCH_STATUS
AND TOS. PKG_KEY = PKG. PKG_KEY
AND MIL. TOS_KEY = TOS. TOS_KEY
AND OUÉDRAOGO. USR_KEY = USR. USR_KEY
AND OUÉDRAOGO. OST_KEY = OST. OST_KEY
AND OST. OBJ_KEY = OBJ. OBJ_KEY
AND OSI. ORC_KEY = OUEDRAOGO. ORC_KEY
AND OBJ. OBJ_NAME = "User AD".
AND OST. OST_STATUS = "Provisioning" - filter accordinglly
AND STA. STA_BUCKET = 'pending' - filter accordinglly
AND PKG. PKG_NAME = "AD User" - filter accordinglly
AND MIL.MIL_NAME = 'System' - filter accordinglly Validation
;
Thank you
Kuldeep -
How to write a simple select query to get the data of the table as an XML.
How to write a simple select query to get the data of the table as an XML. In the query, I'm just adding items below which i need be there in the XML document
I have need to add the root tag as well in the beginning and the end of < root > < / root > this xml file. Please advice if this is possible with the select queryselect '<test_tag>'||EMP_NAME||'</test_tag>','<date>'||sysdate||'</date>' from temp_table where id_num BETWEEN 1 AND 10;
without using XMLGEN, XMLQUERY or any other packages built and function?I need to URL escapes with the UTF-8 code points that we have already achieved using the utl_http package. Please help how to do that without using the utl_http package.
What is wrong with him?
At present, the only way I can think of to avoid a call to UTL_HTTP. SET_BODY_CHARSET is to write your own little wrapper.
In this way, you can specify the Boolean parameter or omit it if you choose to use named parameters:SQL> create or replace function my_url_escape (url in varchar2) 2 return varchar2 3 deterministic 4 is 5 begin 6 return utl_url.escape(url, false, 'AL32UTF8'); 7 end; 8 / Function created SQL> select my_url_escape('http://some.uri.com/param?lang=fr&text=contrôle') from dual; MY_URL_ESCAPE('HTTP://SOME.URI -------------------------------------------------------------------------------- http://some.uri.com/param?lang=fr&text=contr%C3%B4le
-
How to get the current zoom value in the ID?
Is there a way that can get the current zoom value in InDesign?
Thank you very much.
You could glance at the widget shown in your screenshot, at least when frame MDI (?) is displayed.
The title of the window to kLayoutPresentationBoss, IID_IDOCUMENTPRESENTATION also reflects the value.
Probably the best would be the kLayoutWidgetBoss, IID_IPANORAMA, GetXScaleFactor() - and GetYScaleFactor()!
I'm just trying to imagine how a document would look like if these differ from each other ;-) and, better yet, how to achieve this objective in the user interface.
BTW, only one notification is kDocWorkspaceBoss, Protocol IID_IWINDOW, order kUpdateDocumentUIStateCmdBoss.
Another: there's a kDocWindowTitleModifyService...
Edit: I note once again of course IID_IPANORAMA, observable of the subject kLayoutWidgetBoss.
Dirk
-
How to get the RGB color values on the color picker component?
How to get the RGB color values on the color picker component?
trace (cp.selectedColor);
Returns something like:
16750950
trace (key2cp.hexValue);
Returns:
ff9966
I'm looking for RGB, for example, 0.5 0.5 0.5, corresponding to a gray color.
Is there a chance that the RGB settings are hidden somewhere or is there a conversion function at least?
Thank you.
If key2cp.hexValue returns a string like 'abcdef', use:
var s:String = key2cp.hexValue;
var n: Number = Number("0x"+s);
var r: Number = n > 16 & 0xff;
var g:Number = n > 8 & 0xff;
var b:Number = n & 0xff; -
Get the "selected lines" value after sql custom query in the database adapter
We execute a custom query in a database adapter. With other technologies (JDBC, etc.) the result of a query produces not only a game but the number of lines selected results. For example, the output of the script of Oracle SQL Developer will display something like:
9999 selected lines
at the end of the output of the script.
I would like to obtain this value for a BPEL process. Of course, I could run a 2nd interview whose where clause is identical to the first, but select count (*) instead. However, it is not only ineffective but (in rare circumstances in an active database) could be the problem.
It is not obvious to the novice BPEL how to get the selected value and the result set row in an Invoke. Is this possible?Maybe it's not the only solution - but this is how I did in the past.
After step to invoke the adapter, use a step of the having-right/copy to fill a variable of integer type BPEL using the xpath count function...
That should affect the number of records returned by the query.
I hope this helps.
Rod.
Published by: Tunnels of Rod on December 15, 2009 13:16
-
A query to get the values of the batch % off tab Formulation of incoming materials.
Does anyone have a request that they would like to share to get the % batch out of the tab of the formulation of specifications of Formulation of incoming materials? Thank you!
David
I believe you can find this on the table of gsmFormulationInputs, using the percentBatchFactor column (* 100), while the percentage of step is PercentStepFactor.
Is that what you are looking for?
Maybe you are looking for
-
How to remove adds that cover the text making it impossible to read the text
When an item is open, run to the bottom of the article an add is superimposed on the text makes it impossible to read the details of the new. Any attempt to remove fail it and the result of the opening to add it. How can I block the inclusion of thes
-
How can I save icloud photolibrary on an external hard drive
I'm operating an iMac and 20.5 "mid-2010. I'm on OSX El Capitan, 10.11.2 My pictures version is Version 1.3 (350.23.0) The hard drive on my computer space is now filled and I need make arrangements to save a lot of my files off the computer. One opti
-
How to RESTORE my recovery partition?
Hey, I have a hp pavilion dv 6 notbook and by mistake I delelted the volume of D: drive which it has the orginal recovery 'factory settings', and I don't have any what previous piont to restore! So I want the partition with the original settings, I c
-
Unable to open log cbs.log admin Vista command line
Why findstr cannot open windir\logs\cbs\cbs.log from the administrator command prompt?
-
XPS 15 beep black screen with no display, no error message
I have a DELL XPS 15 L521X, (mid-2012), I have Windows 8 on my machine, suddenly a black screen when I restart my PC is visible without any error, but the system will continue to beep. Then I press the power button / stop and stop it, after a while w