How listing & exclusion table starts from 'KTOG'
As pricing table starts with 'A' as usage for picing like that listing & exclusion usage is 'G' but how all exclusion table starts with 'KTOG'?
Please help me if anyone know this...
First, switching the drive on and off should not have any effect (excecpt maybe a few stray encoder counts) switching the controller on and off is what will cause you to lose track of position.
One posible solution is to use an anolog feedback rather than an incremental quarature encoder. With analog feedback your postion is absolute rather than rleative.
The other solution is to move to a known location. This is done by using either a home or a limit switch. Take a look at:Home and Index in Motion Control.
Regards,
Amaury
NI Applications Engineer
Similar Messages
-
How get all table name from database
hi master
sir
how get all table name from databaseThe big question is 'why'.
Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
The correct answer and the meaningful answer may be two different things. -
How to transfer table data from one client to another client?
How to transfer table data from one client to another client?
Hi,
Look at the Blog
/people/community.user/blog/2007/01/07/transport-table-entries
Regards
Sudheer -
How to copy table data from onde DB to another DB using clipboard
HI,
i copied table data from one DB to another DB, but it displays an error as "policy with check option violation" when inserting the table data.. so how to resolve the proble.. thanks in advance.DECLARE
log_utl_dir VARCHAR2(100) :=('/apps/home/cmsftp/log/gaa');
CURSOR tb_compy_cur is
select tb.compy_acronym
-- QC 158113 - added below
,tb.ivr_plan_num
from tb_fc_compy tb,tb_xop_entitlements te
where tb.grant_award_accept_flag = 'Y'
and tb.ivr_plan_num = te.ivr_plan_num
and te.entitle_name = 'GAA_RECONCILED'
union all
select compy_acronym
-- QC 158113 - added below
,tb.ivr_plan_num
from tb_fc_compy tb
where tb.res_stock_flag = 'Y'
--and (tb.res_auto_lapse_flag = 2 OR
--tb.res_auto_lapse_flag = 3)
and exists (select entitle_name from tb_xop_entitlements te
where tb.ivr_plan_num = te.ivr_plan_num
and te.entitle_name = 'GAA_RES_FLAG'
and te.optionee = 'Y'
and te.psrep = 'Y'
and te.sponsor = 'Y'
and te.advisor = 'Y');
v_xopgrantz_insertcount NUMBER := 0;
-- QC 158113 - added below
v_xopgrantz_accpt_count NUMBER := 0;
v_user_id VARCHAR2(30);
insert_file_id UTL_FILE.FILE_TYPE;
insert_log_file varchar2(45) := 'xop_grantz_insertstats.log';
BEGIN
DBMS_OUTPUT.PUT_LINE('success1');
insert_file_id := UTL_FILE.fopen(log_utl_dir,insert_log_file,'w');
UTL_FILE.put_line(insert_file_id,'Starting the Process at '|| CURRENT_TIMESTAMP);
UTL_FILE.put_line(insert_file_id,'INSERTING ROWS FOR Companies turned on for GAA_RECONCILE and GAA/RESSTOCK');
for compy_rec in tb_compy_cur loop
v_user_id := 'CMS'||compy_rec.compy_acronym||'_USER';
ctx_set_session.set_user_session(v_user_id);
dbms_output.put_line ('success2'||''|| v_user_id);
INSERT into xop_grantz(grant_num,
user_id,
last_user_id,
restrict_grant,
child_symbol,
parent_grant_flag,
bulking_overide_flag,
exerrestrict_code,
rounding_method,
exercisiable_dt,
def_res_units_flag,
opt_gain_def_elig_flag,
opt_gain_deferred_flag,
opt_gain_deferred_dt,
opts_accepted,
lst_updtby_usercd,
accepted_type,
GAA_eligible,
GAA_LST_UPDTBY)
select g.grant_num,
v_user_id,
'GRNTACCPT',
'N',
'N',
(sel ect code
from tb_xop_exerrestrict_codes
where cash_allowed = 'Y'
and cashlesshold_allowed = 'Y'
and cashlesssell_allowed = 'Y'
and stockswap_allowed = 'Y'
and restricted_allowed = 'Y'
and sar_allowed = 'Y'
and cashmargin_allowed = 'Y'
and cashpartial_allowed = 'Y'
and sarsale_allowed = 'Y'),
NULL,
'N',
'N',
'N',
NULL,
NULL,
NULL,
'N',
NULL,
NULL
from grantz g
where not exists(select 1
from xop_grantz xg
where xg.grant_num = g.grant_num);
v_xopgrantz_insertcount := SQL%ROWCOUNT;
dbms_output.put_line ('1');
-- QC158113 - Optimisation fix--starts
DELETE FROM gt_xop_grant_accpt_type;
INSERT INTO gt_xop_grant_accpt_type
SELECT g.grant_num,e.ivr_plan_num,
pk_xop_grntaccpt.fn_get_accpt_type (v_user_id,
g.plan_num,
g.grant_dt,
g.opt_num,
g.grant_cd,
g.plan_type,
'Y'
FROM grantz g,tb_xop_entitlements e
WHERE plan_type IN (2, 4, 5, 7, 8)
and g.user_id = v_user_id
and e.ivr_plan_num = compy_rec.ivr_plan_num
and entitle_name = 'GAA_RES_FLAG' ;
dbms_output.put_line ('success3');
v_xopgrantz_accpt_count := SQL%ROWCOUNT;
UTL_FILE.put_line(insert_file_id,'Inserted count in gt_xop_grant_acceptance '|| v_user_id||v_xopgrantz_accpt_count);
-- QC158113 - Optimisation fix--ends
COMMIT;
UTL_FILE.put_line(insert_file_id,'Inserted count in XOP_GRANTZ for USER_ID '|| v_user_id||v_xopgrantz_insertcount);
ctx_set_session.set_user_session('');
dbms_output.put_line ('process completed');
end loop;
UTL_FILE.fclose(insert_file_id);
EXCEPTION
when others then
rollback;
dbms_output.put_line ('Code '||SQLCODE||':'||SQLERRM||' at '||v_user_id||' .pr_xopgrantz_insert');
pr_xop_log_errors('Code '||SQLCODE||':'||SQLERRM||' at '||v_user_id||' .pr_xopgrantz_insert');
pr_xop_log_errors('Code '||SQLCODE||':'||SQLERRM||'INSERTING into xop_grantz for ALL grants');
END;
i received this error when running the procedure also, so the table gt_xop_grant_accpt_type is not populated
{Code -28115:ORA-28115: policy with check option violation at CMSFB_USER .pr_xopgrantz_insert} -
How to access table ADR6 from smartform
I'm trying to get the email address of a customer in my smartform but I don't know how to pass table ADR6 to my smartform. I've tried using a SELECT statement from ADR6 but nothing ever gets set to the variable, so I'm guessing I need to store the table into a local workspace first? How do I do this? If I'm on the wrong path can someone tell me how to pass in an external table that has no connection to your form interface variables being passed in?
Hi,
I've tried using a SELECT statement from ADR6 but nothing ever gets set to the variable, so I'm guessing I need to store the table into a local workspace first? How do I do this? If I'm on the wrong path can someone tell me how to pass in an external table that has no connection to your form interface variables being passed in?
Need not to store the whole table. SELECT statement works in this case. In Global declaration-->Types define the structute with the fields u want to display. like this
TYPES: begin of type_adr6,
ADDRNUMBER like ADR6-ADDRNUMBER,
SMTP_ADDR like ADR6-SMTP_ADDR,
end of type_adr6.
and then declare it in Global data Tab like this
WA_ADR6 TYPE TYPE_ADR6
end then write SELECT statement in program lines node and fetch the required fields into the work area WA_ADR6.
now u display these fields.
regards
raam -
How to change tables in from clause dynamically
Hi,
I have to add some join conditions in where clause and tables in from clause based on some input parameters and data in other tables.
How can i achieve this ? I must use procedure/function or dynamic query preparation or any more alternatives?
Regards,
KrishnaYes, you can use dynamic sql for that.
But be aware that you'll be needing to concatenate the table names in your FROM-clause, you cannot bind them...
So you'll be trashing the shared pool.
Maybe alternative approaches are possible, but you provide too little input for my crystal ball here... -
Calendar - how to make it start from Nov 1 2013
Hi,
I have a calender item in my application.... my data has started to archive from Nov 1 2013.... is there a way to restrict my calender to start from Nov 1 (at the moment it pretty much shows all the months/days and causing confusion to my userbase as they think I have previous month's data as well)
Thanks in advanceHi (???)
Which version of Apex are you on?
By "Calendar item" do you mean the Date Picker ?
If so, the Date item Picker in Apex 4 onwards has a Minimum Date Setting
See the links below.
http://blog.iadvise.eu/2010/07/08/apex-4-0-date-picker-item-minimumdate-and-maximumdate/
Oracle & Apex Geekery: Dynamic Date Range in APEX Datepicker - no Plugin required
Kofi -
How to make Percentage start from zero in SSRS Report?
Hi,
I am new to SSRS Reporting. I have developed a small report which has percentage in it.
My Report snapshot as below
I want the percentage(orange line) to start from begining(from zero). As of now it starts from Feb, 2014. What am i suppossed to do to achieve this??
Regards, Shreyas R SHi Shreyas R S,
Based on my research, it seems that the Percentage line is a line chart. In this scenario, the line should be started from the first value to the last value in the X-Axis. This is by design. If the percentage line is a horizontal line, we can use a StripLine
to simulate it. For more details, please see:
Click the Primary Vertical Axis and click the StripLines option in the Properties pane.
Add a new member, select a color (Orange) for BackgroundColor item.
In the Interval category, set a value (17) as the IntervalOffset and set the StripWidth to 0.5 to widen the line.
To hide the original percentage line, we can right-click the percentage field to open the Series Properties dialog box, then type: =noting in the Value field in the Values pane.
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
Simple:How is Copying table space from instance to other?
Please .. Can u give me the complete way to Copy table space from instance to other using imp/exp???
Given you didn't post a version you seem to assume there is only one way ... there are at least four I know of so you need to look up the answer for your version yourself.
http://tahiti.oracle.com
look up transportable tablespaces
http://www.psoug.org/library.html
Working demos under Transportable Tablespaces
http://www.caleb.com
look under the DBA scripts -
How to stop table row from being split onto two pages
How do I stop a row of output from being split between two
pages. When the CFDocument loads, sometimes, the last row on a page
"spills" over onto the next. I'd like to figure out who to prevent
these "orphans" from happening, and force the row onto one page or
the other.
Here's my code for the doc... I have a sp that querys the sql
db. Using CFDocument - CF Version 7.02If you know roughly how many lines of output will fit on a
page (you can test to find out), then you can count result lines
(you should be able to use RecordCount and do some math) and cfif
against your counter and force a page break beforehand if the next
table will be too much to fit on the page. Then just reset the
counter after you page break. -
EF 5 Model First Approach- How to avoid Table names from pluralized
I'm using Entity Framewrok 5.0 Model First approach using Visual Studio 2012 express. The generated database tables are pluralized. How do I avoid this? Please advice. I'm using Model First approach (Designed the entities in the EF designer and generated
the Database.) . Please note that following technic does not apply to this scenario as it applies to code - first approach.
using System.Data.Entity.ModelConfiguration.Conventions;
protected override void OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();Hi Arasheed,
Welcome to the MSDN forum.
I tested your problem. It seems a default setting that Table names are pluralized. If you want to avoid pluralizing, you can do it manually:
Right click the empty area and select “Generate Database from Model…”.
Choose the correct connection and click “Next”.
You will see the generated DDL. Please copy all the content, then click “Cancel”.
Click “Data” on the Visual Studio bar and select “Tansact-SQL Editor”. Then click “New Query Connection…”.
Connect to the right server.
Paste the DDL we copied before.
Modify the table creation lines. Note: do not forget to change the corresponding name in constraints.
Right click the empty area and click “Execute SQL”.
In addition, you can submit your feature requests here to improve Entity Framework:
http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions
Good day.
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us -
How to export table xml from ID CS4
Hi,
Could any one clarify my below doubts.
I have an xml file for Table. The root tag <informaltable> of the table have the attributes id="xx" and float="0". This xml file is imported into the Indesign document without any problem. But when I export the xml from Indesign, these attributes were not exported. Only the XML tag is exported.
Could anyone tell how to export this table root tag with its attributes.
Thanks,
GopalApology for bu** in, but my general practice (or for that matter mentioned scripting manual) is that
function ProcessProduct(){
this.name = "ProcessElements";
this.xpath = "//B/C";
should be
function ProcessProduct(){
this.name = "ProcessProduct";
this.xpath = "//B/C";
name of the rule and matches theRuleName,but both of them seems to be working fine here.
Defining correctly in ruleset does the trick
var myRuleSet = new Array (new ProcessProduct);
Does it not matter for having the same name or I am missing something.
--PC -
How to get table result from XML
Hi I am new to XML, I was playing with node, but wasn't successfull
I have XML fragment
DECLARE @XML xml =
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A1</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E1</IDTNR>
</E1EDP19>
</E1EDP01>
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A2</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E2</IDTNR>
</E1EDP19>
</E1EDP01>
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A3</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E3</IDTNR>
</E1EDP19>
</E1EDP01>'
and I need to create query, which list all products and his two codes, result should be like this
ProductCode1
ProductCode2
A1
E1
A2
E2
A3
E3
It is visible from XML fragment, how those values are organised in segments......
I tried to use
select PC1.query('./text()')
AS PC1,
PC2.query('./text()')
AS PC2
from @XML.nodes('/E1EDP01/E1EDP19[1]/IDTNR') as PC1(PC1)
CROSS APPLY @XML.nodes('/E1EDP01/E1EDP19[2]/IDTNR') as PC2(PC2)
But it gets all combinations of ProductCode1 and PRoductCode2, somtehing like cross join and result has 9 rows...
Could you help pleaseTry this,
DECLARE @XML xml ='
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A1</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E1</IDTNR>
</E1EDP19>
</E1EDP01>
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A2</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E2</IDTNR>
</E1EDP19>
</E1EDP01>
<E1EDP01 SEGMENT="1">
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>A3</IDTNR>
<KTEXT>PRF NUDE MAGIQUE BB MEDIUM M-UP TST</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>E3</IDTNR>
</E1EDP19>
</E1EDP01>'
SET @XML = '<ROOT>' + CAST(@XML AS NVARCHAR(MAX)) + '</ROOT>'
SET @XML = CAST(@XML AS XML)
;WITH CTE AS (
select t.u.value ('QUALF[1]','varchar(10)') as QUALF,
t.u.value ('IDTNR[1]','varchar(30)') as IDTNR,
t.u.value ('KTEXT[1]','varchar(30)') as KTEXT,
t.u.value ('..','varchar(30)') as DESCR
from @XML.nodes('/ROOT/E1EDP01/E1EDP19') t(u)
SELECT [002] AS ProductCode1,[003] AS ProductCode2 FROM (SELECT QUALF,IDTNR,DESCR FROM CTE) X
PIVOT(MAX(IDTNR) FOR QUALF IN ([002],[003])) PVT
Regards, RSingh -
How insert into table select from table works in jdbc driver?
Hi, Supposing one table has two LOB fields, one LOB field is BLOB type while the other is CLOB type, I use the following sql statement to copy a row into a new row:
insert into table (id, file_body, file_content) select new_id, file_body, file_content from table where id = '111';
After commit on the connection, I can see the copied record in the table and both LOB fields are not null and this's the expected behavior.
However after some days later, the copy function becomes to be a problem, the BLOB field named file_body can be null when the copy job is done, while other fields copy successfully.
The issue can not be reproduced every time.
I suppose the jdbc driver may try to allocate byte buffer in the heap to perform copy operation for BLOB fields,if there is no enough memory available in the heap the copy operation may fail but the commit on the connection can be successful.b/c I can see a lot of OOM errors in the log files and I believe this can contribute to the issue.
Hope someone can give me a hint or comments.
Thanks,
SuoNayiI want to figure out what's memory leak point and I have tried the following solutions but none worked:
1.I have tried to dump the memory of the JVM but failed,I can see the following errors :
[root@localhost xxx]# jmap -heap:format=b 3027
Attaching to process ID 3027, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_16-b02
Unknown oop at 0x00002b21a24cd550
Oop's klass is null
Finding object size using Printezis bits and skipping over...
Unknown oop at 0x00002b21a3634380
Oop's klass is null
Finding object size using Printezis bits and skipping over...
2.and the thread stack can not be dumped successfully as well:
Thread 3046: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)
Error occurred during stack walking:
the version of java is:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode)
I have to added dump thread stack option in JVM arguments, -XX:+HeapDumpOnOutOfMemoryError.
If there are other solutions please let me know, thanks. -
How to find tables changed from one table authorization group to other.
Hi Experts,
We have a issue where certain tables have been moved from one Authorizaiton group to the othe table authorization group.
We want to find all tables previous authorization group.
Is there any wayt we could find the old authorization group.
(for example)
Consider a scenario where a table agr_1251 was moved to the new auth group ZAUTH.
I wanted to find which auth group was holding the table agr_1251 previously.
Can you please help me on this request?
Thanks.One more way is to check TR (Table E070, E071). But you need to find the details for table (Like for role it is R3TR, ACGR).
Regards,
Arpan Paik
Maybe you are looking for
-
FDM export to HFM - 2nd export did not clear all data from 1st export?
Has anyone experienced exporting a replacement FDM file to HFM where the 2nd file did not contain an account that was present in the original file and that account/value in the 1st file then remained in the HFM trial balance and caused it to be out o
-
Thinpad Yoga (12.5'') - Sticker + Transition Software
After just 7 days of use the Thinkpad Logo came off (it being a sticker). Support said, well thats cosmetical damage, maybe the reseller would do anything (which he won't as its under Lenovo Warrenty and he won't care). I asked if he could just send
-
Dear all, I am asking rather lame question. Does anyone know of places where I can get extra theme and template for Apex? The default ones are too ugly. Thanks. Regards, Kueh.
-
Itunes not responding error after install
i have been having problems installing the newest itunes. i did have an older version of itunes on this computer but i removed it over a year ago. i have tried several times to uninstall and reinstall the newest version according to the kb articles.
-
Viewing Raw files from Canon G15 in Aperture
I cannot view my raw files from my new Canon G15 on my IMAC using aperture 3.1.3