CDC beginner...
Only two questions: What do i need for CDC programing (is there something similar like WTK for CLDC)? Where can i get the CDC Java Docs?
First question:
CDC is an API specification, u can create your code in any tool and then u need an implementation of this API in order to compile your code. Resuming, for u to program for CDC u need to download an implementation of this standard.
Second question:
Have u tried to download the CDC spec in sun's page? ;-)
Cris
Similar Messages
-
How should i do for using "import static" in CDC?
Hello-
First of all, i have no good Eng. skill.
please understand me if i write wrong words.
I'm a beginner of Java ME and i want to compile some sources using CDC Java(TM) ME platform SDK 3.0.
The sources are using "*import static*" and they need to be compiled with 1.5 javac-source version.
So that, i changed some properties of 'project.properties' and 'build-impl.xml' files in project folder.
( javac.source=1.3 --> javac.source=5
javac-target=1.3 --> javac-target=1.5)
after then, it didn't come out any problem when compiling but,
'cvm.exe' error msg box came out and it could't run.
--- Error ---
Failed to connect to device 1!
Reason:
Emulator 1 failed to register in time!
Result: 1
cdc-run:
profiler.check:
open-profiler:
run:
BUILD SUCCESSFUL (total time: 56 seconds)
i think the above way i did might be a forced thing.
what should i do for this problem?
Please let me know..
Thanks,
Ji hye
Edited by: kjh10101 on Mar 29, 2010 7:28 PM
Edited by: kjh10101 on Mar 29, 2010 7:28 PMFrom the linked document:
For tab bar icons, create an icon in the following sizes:
For iPhone and iPod touch:
About 30 x 30 pixels
About 60 x 60 pixels (high resolution)
For iPad:About 30 x 30 pixels
Note: The icon you provide for toolbars, navigation bars, and tab bars is used as a mask to create the icon you see in your application. It is not necessary to create a full-color icon.
Use Preview, GraphicConverter, etc....see the Mac App Store for image editors and add an alpha channel to your image...size it, and add it to the bundle. -
Hello! I am beginner in CDC and I need help in developing cdc application..I need to view svg image..
Edited by: krunchie on Dec 15, 2009 8:32 AMThe PocketPC Support Both CDC and PP profiles, but Palm Doesn�t.
The PalmOS will support until the PalmOS 6 release.
http://www.cs.ucl.ac.uk/staff/s.zachariadis/palmjava.html -
Raw Beginner need help with Adobe Photoshop CS2
I am reading Photoshop CS2 for digital photographers by Scott Kelby. I am looking at pg 55 if any one has this book and would like to visually see what I am about to describe. I own Adobe Photoshop CS2 software. After bringing up Adobe bride RAW on my PC, I then see all the settings, Exposure, Shadows, Brightness, Contrast, and Saturation.. Located directly above all of these settings is Auto and Default which you can click on and adjust all settings at the same time. If you don't like what you see you click on Default to go back to the original, you can then make your adjustments individually. In my CS2 book there is an Auto box you can check or un-check beside each setting, Exposure, Shadows, Brightness, and Contrast. My question is how do I get the Auto box beside each setting so I can simply put a check in that box and preview changes individually instead of the Auto and Default on top which changes every setting at the same time? I hope this make since to you, if not I will try to explain again.
Thank you Ramon for your help. I will just be happy with what I have, which works fine but I thought it might be better for me to have the individual Auto check box for each setting. Thank you for the tip to double-click the sliders to reset it to default, it works in CS2 also:) Actually this gives me more control and works out great now that I think about it. I am sure there are more handy little tips I should know about but don't because I am a beginner in learning RAW. Hopefully I'll stumble across a book or some thing over the internet that will help me with my learning curve.
-
Unable to View Data in the table of a CDC enabled Data Store.
hi all,
I am trying to import some tables from the external metadata from my CDC enabled datastore, but after importing the tables i m unable to view the data in the table,
where as the same table in a normal datastore (Without CDC) is showing data in the Desginer.
Can anyone help me out???
is there any settings which we need to do, to see the data in a CDC enabled DS.any help ????
-
Execute CDC mappings from a PL/SQL procedure
Hi,
I´m using OWB 11.2.0.2 for Linux. I´ve created some CDC mappings to update cubes with changes coming from other tables and cubes (from the tables that implement those cubes with the relational option). The issues are:
- The CDC mappings run successfully from the OWB (Project Navigator - Start), but I cannot execute them from a procedure in PL/SQL with the following code:
PROCEDURE "PROC_RUNCDCMAPPINGS" IS
--inicializar variables aquí
RetVal NUMBER;
P_ENV WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
-- ventana principal
BEGIN
RetVal:= BARIK.CDC_LOAD_CUBO_RECARGA.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBO_TOR.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBO_TOAE.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBO_VIAJES.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBO_TICKETINCIDENCIA.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBO_LIQMONEDERO.MAIN(P_ENV);
RetVal:= BARIK.CDC_LOAD_CUBOS_LIQTEMPORALES.MAIN(P_ENV);
COMMIT;
END;
It doesn´t report any error (the value for RetVal after execution is 0), but the cubes are not loaded with changes, and the changes stored in the J$_%tables are not consumed.
Some of the options that may impact in the mappings are:
- All the CDC are of Simple type
- There are more than one subscriber to consume the changes, as for some tables, its changes must feed more than one CDC.
- All the mappings include only one execution unit per mapping.
- The integration/load template is the default: DEFAULT_ORACLE_TARGET_CT
Other question is: As I explained, I need more than one subscriber because same updates must be consumed by different CDC mappings, to load different cubes, but I´ve not been able to assign the subscribers to only the tables associated with them, so all the subscribers are subscribed to all the changes in all the CDC tables, but as many of those subscribers never consume the changes of same tables, in the J$_% tables remains the not consumed records, and I haven´t found the way to purge those tables (other than the delete from J$_), nor to assign the tables with the subscribers (so the subscribers are only subscribed to their interested changes, that will be consumed, so the tables will be emptied after the consumption).
Any help with these problems will be greatly appreciated.
Tell me if more info is needed to clarify the situation.
Best regards,
AnaHi David,
Thank you for your reply.
These mappings are the mappings needed to update the cubes with the changes detected by the CDC system, they are located under the Mapping Templates folder and I´m using code templates for the control of the loading and the integration (the DEFAULT_ORACLE_TARGET_CT) mapping.
What I need is to execute these mappings within a PL/SQL procedure that will be invoked from different tools.
I´ve done it for regular mappings (not CDC mappings), and it works. The code is the same as for the CDC ones:
PROCEDURE "PROC_RUNLOADMAPPINGS" IS
--inicializar variables aquí
RetVal NUMBER;
P_ENV WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
-- ventana principal
BEGIN
RetVal:= BARIK.LOAD_CUBO_RECARGA.MAIN(P_ENV);
RetVal:= BARIK.LOAD_CUBO_TOR.MAIN(P_ENV);
RetVal:= BARIK.LOAD_CUBO_TOAE.MAIN(P_ENV);
RetVal:= BARIK.LOAD_CUBO_VIAJES.MAIN(P_ENV);
RetVal:= BARIK.LOAD_CUBO_TICKETINCIDENCIA.MAIN(P_ENV);
COMMIT;
END;
-- End of PROC_RUNLOADMAPPINGS;
,and when I run it, the mappings are executed, but with the CDC ones it doesn´t (even when no error is reported).
I know that they are deployed in the selected agent (in my case the Default_Agent), but when I start them from the OWB, the mapping packages are created in the DB schema, so, I thought that maybe I could invoke them....so what you tell me is that the only way to invoke them is from SQL*Plus? not from a regular PL/SQL procedure?
Thank you very much,
Ana -
Asynchronous HotLog CDC Space to Null Issue
I have established Asynchronous HotLog CDC in one of our testing database. I have done the following steps (as described in the Asynchronous HotLog CDC oracle documentation):
ALTER DATABASE FORCE LOGGING;
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER TABLE #SCHEMA#.#TABLE_NAME# ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
In addition, all of the other steps were followed for permissions, pool sizes, change set setup, change table setup, and so forth. This work is being done as a conversion from Synchronous to Asynchronous.
The issue encountered is that when characters that have a space (' '), it is substituted with a null and inserted into the CT table. I understand per documentation if the supplemental logging is not setup correctly, you can encounter nulls for values that remain static. The problem is this is occurring on our data inserts, with the correct supplemental logging on the table as per documentation.
Any suggestions are appreciated, DB is 11.2.0.1
ThanksThank you damorgan, your example was very thorough and helpful. Unfortunately though, after following your steps with my table I was testing, I am still receiving nulls where the insert statement had a space, besides that the asynchronous cdc process works fine.
It is almost like there is a trimming occurring when inserting into the change table, even though in the source table there is a space ' '. I might just need to stay with synchronous CDC because at least the trigger is capturing the correct change data, not sure why the Asynchronous would be different with the space becoming a null.
Thanks. -
Dear experts,
we would like to use CDC for capturing data from two tables A and B in a source system. Both tables should be joined in a table C in the target system.
If we update table A we would like to get the changed values from A and the unchanged values from A and B as well.
So we will able to join this information in target system and insert the result into the table C.
Is this posssible? Can you provide us an example.
Thanks a lot!What's your Oracle version?
What's CDC stand for?
What's connection between two systems? -
How to make a really basic pong game for a beginner
Hello. I've read through a couple of threads on here dealing with making a game of pong in LabView, but in them the users had questions with far more complex aspects of the program than I want to deal with. I am a beginner programmer in LabView with limited experience in Java and Visual Basic programming. I was tasked with creating a game over winter break, and now that I finally have some time (this weekend that is), I decided that I'd make a really simple game of pong. However, I have seriously overestimated the difficulty of this for a beginner who has very limited knowledge of Lab View.
I ask you to please have some patience with me.
I know what I want to do, and just need help inplementing it.
Here is the idea for my design to keep it as simple as possible:
-Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
-Set up some simple function that can output the dimensions of this field to use with collision tracking.
-Create a ball that can be tracked by the program.
-From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
-Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year. I want to take things slow. So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
If I can at least get that far for now, then I can move on (with help I hope!) of inserting an interactive interface for the "paddle."
I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
I thank you for any and all help anyone may be able to provide.EchoWolf wrote:
-Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
Wel, there is the picture indicator in the picture palette. In newer versions it's called "2D picture". The palettes have a search function. Using the palette search function is a basic LabVIEW skill that you should know. If you've seen the example for the other discussion, it uses a 2D boolean array indicator. The boolean array is only recommended for a monochrome very low resolution display.
EchoWolf wrote: -Set up some simple function that can output the dimensions of this field to use with collision tracking.
-Create a ball that can be tracked by the program.
That seems backwards. Properly programmed, the code always knows the dimension and the ball position. The program generates, (not tracks!) the ball movement. Of course you need to do some range checking on the ball position to see when it collides with the walls.
EchoWolf wrote:
-From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
Of course you could make it more realistic by keeping track of three ball parameters: x, y, spin.
EchoWolf wrote:
-Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
Pong is typically played with the up-down arrow keys.
EchoWolf wrote:
Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year.
LabVIEW knowledge is not measured in time units. What did you do during that month? Did you attend some lectures, study tutorials, wrote some programs?
EchoWolf wrote:
So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
Start with the posted example and delete all the controls and indicators that you don't want, then surgically remove all code with broken wires.
Alternatively, start from scratch: Create your playing field. Easiest would be a 2D classic boolean array that is all false. Use initialize array to make it once. Now use a loop to show the ball as a function of time.
Start with a random ball position. to display it, turn one of the array elements true before wiring to the array indicator using replace array subset.
Keep a shift register with xy positions and xy velocities and update the positions as a function of the velocities with each iteration of the loop. Do range checking and reverse the velocieis when a edge is encountered.
What LabVIEW version do you have?
LabVIEW Champion . Do more with less code and in less time . -
Please help beginner! Few pong questions.
So, I have just started creating my own pong game after
learning the basics of Flash 8. Everything went perfectly until
now, I got a bit stuck.
I got to point where I have fully working menu, multiplayer
and singleplayer, you can play against another person using mouse
and arrows. The scoring system works too and I actually managed to
get the computer to follow the ball but here comes the first
problem. I found a whole actionscript for the ball on the internet
here it is:
onClipEvent(load){
s = {l:10,r:490,t:20,b:405,w:10,h:10};
function setSpeed(){
xspeed = Math.round(Math.random()*5)+1;
yspeed = Math.round(Math.random()*5)+1;
xspeed *= Math.round(Math.random()*2)==1 ? -1 : 1;
yspeed *= Math.round(Math.random()*2)==1 ? -1 : 1;
setSpeed();
_root.cscore = _root.pscore = 0;
onClipEvent(enterFrame){
_x += xspeed;
_y += yspeed;
if(_x+(s.w/2)+xspeed>s.r){
_x = s.r/2;
_y = s.b/2;
setSpeed();
_root.cscore += 1;
if(_x-(s.w/2)+xspeed<s.l){
_x = s.r/2;
_y = s.b/2;
setSpeed();
_root.pscore += 1;
if(_y+(s.h/2)+yspeed>s.b){
_y = s.b-(s.h/2);
yspeed *= -1;
if(_y-(s.h/2)+yspeed<s.t){
_y = s.t+(s.h/2);
yspeed *= -1;
if(this.hitTest(_root.player)){
_x = _root.player._x - _root.player._width/2;
xspeed *= -1;
xspeed *= 1.08;
yspeed *= 1.08;
if(this.hitTest(_root.computer)){
_x = _root.computer._x + _root.computer._width/2;
xspeed *= -1;
xspeed *= 1.08;
yspeed *= 1.08;
As I said I am a beginner and I dont really understand the
code. The problem is that after every hit the ball gets faster and
faster and faster until it is impossible to see it.
Here comes another problem: I have got the enemy just
following the ball so it is impossible to score the script for
enemy is:
onClipEvent(enterFrame){
ydist = _root.ball._y - _y;
_y = _root.ball._y;
Now my question is can someone plese tell me what do I have
to change in the ball code so it stays at the constant speed or it
just increases a little bit. The second qustion is how can I make
the enemy computer not perfect? So you can actually win the game?
Something like hit it randomly.
My last question is: The game should be quiz pong. So if you
score a point a qustion will pop up and you will have to answer it.
What is the best way to do that? I think it should mean somethin
like this: If score=+1 gotoandplay(lets say the question will be at
frame 20) I dont know if that is the way it should be formed in the
action script it is just my guess.
Please if someone can help me at least with one of those
questions I would be incredibly oblidged. thankshey, im not great at this easier, but i think the speed
problem can be solved by getting rid of the 2 lines
xspeed *= 1.08;
yspeed *= 1.08;
I think this increases the speed by 8% after every hit. You
can also try lowering the number, but if you go elow 1 it will slow
down. -
Beginner trying to import data from GL_interface to GL
Hello I’m Beginner with Oracle GL and I ‘m not able to do an import from GL_Interface, I have putted my data into GL_interface but I think that something is wrong with it Becose when I try to import data
with Journals->Import->run oracle answer me that GL_interface is empty!
I think that maybe my insert is not correct and that's why oracle don't want to use it... can someone help me?
----> I have put the data that way:
insert into gl_interface (status,set_of_books_id,accounting_date, currency_code,date_created,
created_by, actual_flag, user_je_category_name, user_je_source_name, segment1,segment2,segment3,
entered_dr, entered_cr,transaction_date,reference1 )
values ('NEW', '1609', sysdate, 'FRF', sysdate,1008009, 'A', 'xx jab payroll', 'xx jab payroll', '01','002','4004',111.11,0,
sysdate,'xx_finance_jab_demo');
insert into gl_interface (status,set_of_books_id,accounting_date, currency_code,date_created,
created_by, actual_flag, user_je_category_name, user_je_source_name, segment1,segment2,segment3,
entered_dr, entered_cr,transaction_date,reference1 )
values ('NEW', '1609', sysdate, 'FRF', sysdate,1008009, 'A', 'xx jab payroll', 'xx jab payroll', '01','002','1005',0,111.11,
sysdate,'xx_finance_jab_demo');
------------> Oracle send me that message:
General Ledger: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
GLLEZL module: Journal Import
Current system time is 14-MAR-2007 15:39:25
Running in Debug Mode
gllsob() 14-MAR-2007 15:39:25sob_id = 124
sob_name = Vision France
coa_id = 50569
num_segments = 6
delim = '.'
segments =
SEGMENT1
SEGMENT2
SEGMENT3
SEGMENT4
SEGMENT5
SEGMENT6
index segment is SEGMENT2
balancing segment is SEGMENT1
currency = EUR
sus_flag = Y
ic_flag = Y
latest_opened_encumbrance_year = 2006
pd_type = Month
<< gllsob() 14-MAR-2007 15:39:25
gllsys() 14-MAR-2007 15:39:25fnd_user_id = 1008009
fnd_user_name = JAB-DEVELOPPEUR
fnd_login_id = 2675718
con_request_id = 2918896
sus_on = 0
from_date =
to_date =
create_summary = 0
archive = 0
num_rec = 1000
num_flex = 2500
run_id = 55578
<< gllsys() 14-MAR-2007 15:39:25
SHRD0108: Retrieved 51 records from fnd_currencies
gllcsa() 14-MAR-2007 15:39:25<< gllcsa() 14-MAR-2007 15:39:25
gllcnt() 14-MAR-2007 15:39:25SHRD0118: Updated 1 record(s) in table: gl_interface_control
source name = xx jab payroll
group id = -1
LEZL0001: Found 1 sources to process.
glluch() 14-MAR-2007 15:39:25<< glluch() 14-MAR-2007 15:39:25
gl_import_hook_pkg.pre_module_hook() 14-MAR-2007 15:39:26<< gl_import_hook_pkg.pre_module_hook() 14-MAR-2007 15:39:26
glusbe() 14-MAR-2007 15:39:26<< glusbe() 14-MAR-2007 15:39:26
<< gllcnt() 14-MAR-2007 15:39:26
gllpst() 14-MAR-2007 15:39:26SHRD0108: Retrieved 110 records from gl_period_statuses
<< gllpst() 14-MAR-2007 15:39:27
glldat() 14-MAR-2007 15:39:27Successfully built decode fragment for period_name and period_year
gllbud() 14-MAR-2007 15:39:27SHRD0108: Retrieved 10 records from the budget tables
<< gllbud() 14-MAR-2007 15:39:27
gllenc() 14-MAR-2007 15:39:27SHRD0108: Retrieved 15 records from gl_encumbrance_types
<< gllenc() 14-MAR-2007 15:39:27
glldlc() 14-MAR-2007 15:39:27<< glldlc() 14-MAR-2007 15:39:27
gllcvr() 14-MAR-2007 15:39:27SHRD0108: Retrieved 6 records from gl_daily_conversion_types
<< gllcvr() 14-MAR-2007 15:39:27
gllfss() 14-MAR-2007 15:39:27LEZL0005: Successfully finished building dynamic SQL statement.
<< gllfss() 14-MAR-2007 15:39:27
gllcje() 14-MAR-2007 15:39:27main_stmt:
select int.rowid
decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5|| int.SEGMENT6
, '', replace(ccid_cc.SEGMENT2,'.','
') || '.' || replace(ccid_cc.SEGMENT1,'.','
') || '.' || replace(ccid_cc.SEGMENT3,'.','
') || '.' || replace(ccid_cc.SEGMENT4,'.','
') || '.' || replace(ccid_cc.SEGMENT5,'.','
') || '.' || replace(ccid_cc.SEGMENT6,'.','
, replace(int.SEGMENT2,'.','
') || '.' || replace(int.SEGMENT1,'.','
') || '.' || replace(int.SEGMENT3,'.','
') || '.' || replace(int.SEGMENT4,'.','
') || '.' || replace(int.SEGMENT5,'.','
') || '.' || replace(int.SEGMENT6,'.','
') ) flexfield , nvl(flex_cc.code_combination_id,
nvl(int.code_combination_id, -4))
, decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5|| int.SEGMENT6
, '', decode(ccid_cc.code_combination_id,
null, decode(int.code_combination_id, null, -4, -5),
decode(sign(nvl(ccid_cc.start_date_active, int.accounting_date-1)
- int.accounting_date),
1, -1,
decode(sign(nvl(ccid_cc.end_date_active, int.accounting_date +1)
- int.accounting_date),
-1, -1, 0)) +
decode(ccid_cc.enabled_flag,
'N', -10, 0) +
decode(ccid_cc.summary_flag, 'Y', -100,
decode(int.actual_flag,
'B', decode(ccid_cc.detail_budgeting_allowed_flag,
'N', -100, 0),
decode(ccid_cc.detail_posting_allowed_flag,
'N', -100, 0)))),
decode(flex_cc.code_combination_id,
null, -4,
decode(sign(nvl(flex_cc.start_date_active, int.accounting_date-1)
- int.accounting_date),
1, -1,
decode(sign(nvl(flex_cc.end_date_active, int.accounting_date +1)
- int.accounting_date),
-1, -1, 0)) +
decode(flex_cc.enabled_flag,
'N', -10, 0) +
decode(flex_cc.summary_flag, 'Y', -100,
decode(int.actual_flag,
'B', decode(flex_cc.detail_budgeting_allowed_flag,
'N', -100, 0),
decode(flex_cc.detail_posting_allowed_flag,
'N', -100, 0)))))
, int.user_je_category_name
, int.user_je_category_name
, 'UNKNOWN' period_name
, decode(actual_flag, 'B'
, decode(period_name, NULL, '-1' ,period_name), nvl(period_name, '0')) period_name2
, currency_code
, decode(actual_flag
, 'A', actual_flag
, 'B', decode(budget_version_id
, 1210, actual_flag
, 1211, actual_flag
, 1212, actual_flag
, 1331, actual_flag
, 1657, actual_flag
, 1658, actual_flag
, NULL, '1', '6')
, 'E', decode(encumbrance_type_id
, 1000, actual_flag
, 1001, actual_flag
, 1022, actual_flag
, 1023, actual_flag
, 1024, actual_flag
, 1048, actual_flag
, 1049, actual_flag
, 1050, actual_flag
, 1025, actual_flag
, 999, actual_flag
, 1045, actual_flag
, 1046, actual_flag
, 1047, actual_flag
, 1068, actual_flag
, 1088, actual_flag
, NULL, '3', '4'), '5') actual_flag
, '0' exception_rate
, decode(currency_code
, 'EUR', 1
, 'STAT', 1
, decode(actual_flag, 'E', -8, 'B', 1
, decode(user_currency_conversion_type
, 'User', decode(currency_conversion_rate, NULL, -1, currency_conversion_rate)
,'Corporate',decode(currency_conversion_date,NULL,-2,-6)
,'Spot',decode(currency_conversion_date,NULL,-2,-6)
,'Reporting',decode(currency_conversion_date,NULL,-2,-6)
,'HRUK',decode(currency_conversion_date,NULL,-2,-6)
,'DALY',decode(currency_conversion_date,NULL,-2,-6)
,'HLI',decode(currency_conversion_date,NULL,-2,-6)
, NULL, decode(currency_conversion_rate,NULL,
decode(decode(nvl(to_char(entered_dr),'X'),'X',1,2),decode(nvl(to_char(accounted_dr),'X'),'X',1,2),
decode(decode(nvl(to_char(entered_cr),'X'),'X',1,2),decode(nvl(to_char(accounted_cr),'X'),'X',1,2),-20,-3),-3),-9),-9))) currency_conversion_rate
, to_number(to_char(nvl(int.currency_conversion_date, int.accounting_date), 'J'))
, decode(int.actual_flag
, 'A', decode(int.currency_code
, 'EUR', 'User'
, 'STAT', 'User'
, nvl(int.user_currency_conversion_type, 'User'))
, 'B', 'User', 'E', 'User'
, nvl(int.user_currency_conversion_type, 'User')) user_currency_conversion_type
, ltrim(rtrim(substrb(rtrim(substrb(int.reference1, 1, 50)) || ' ' || int.user_je_source_name || ' 2918896: ' || int.actual_flag || ' ' || int.group_id, 1, 100)))
, rtrim(substrb(nvl(rtrim(int.reference2), 'Journal Import ' || int.user_je_source_name || ' 2918896:'), 1, 240))
, ltrim(rtrim(substrb(rtrim(rtrim(substrb(int.reference4, 1, 25)) || ' ' || int.user_je_category_name || ' ' || int.currency_code || decode(int.actual_flag, 'E', ' ' || int.encumbrance_type_id, 'B', ' ' || int.budget_version_id, '') || ' ' || int.user_currency_conversion_type || ' ' || decode(int.user_currency_conversion_type, NULL, '', 'User', to_char(int.currency_conversion_rate), to_char(int.currency_conversion_date))) || ' ' || substrb(int.reference8, 1, 15) || int.originating_bal_seg_value, 1, 100)))
, rtrim(nvl(rtrim(int.reference5), 'Journal Import 2918896:'))
, rtrim(substrb(nvl(rtrim(int.reference6), 'Journal Import Created'), 1, 80))
, rtrim(decode(upper(substrb(nvl(rtrim(int.reference7), 'N'), 1, 1)),'Y','Y', 'N'))
, decode(upper(substrb(int.reference7, 1, 1)), 'Y', decode(rtrim(reference8), NULL, '-1', rtrim(substrb(reference8, 1, 15))), NULL)
, rtrim(upper(substrb(int.reference9, 1, 1)))
, rtrim(nvl(rtrim(int.reference10), nvl(to_char(int.subledger_doc_sequence_value), 'Journal Import Created')))
, int.entered_dr
, int.entered_cr
, to_number(to_char(int.accounting_date,'J'))
, to_char(int.accounting_date, 'YYYY/MM/DD')
, int.user_je_source_name
, nvl(int.encumbrance_type_id, -1)
, nvl(int.budget_version_id, -1)
, NULL
, int.stat_amount
, decode(int.actual_flag
, 'E', decode(int.currency_code, 'STAT', '1', '0'), '0')
, decode(int.actual_flag
, 'A', decode(int.budget_version_id
, NULL, decode(int.encumbrance_type_id, NULL, '0', '1')
, decode(int.encumbrance_type_id, NULL, '2', '3'))
, 'B', decode(int.encumbrance_type_id
, NULL, '0', '4')
, 'E', decode(int.budget_version_id
, NULL, '0', '5'), '0')
, int.accounted_dr
, int.accounted_cr
, nvl(int.group_id, -1)
, nvl(int.average_journal_flag, 'N')
, int.originating_bal_seg_value
from GL_INTERFACE int,
gl_code_combinations flex_cc,
gl_code_combinations ccid_cc
where int.set_of_books_id = 124
and int.status != 'PROCESSED'
and (int.user_je_source_name,nvl(int.group_id,-1)) in (('xx jab payroll', -1))
and flex_cc.SEGMENT1(+) = int.SEGMENT1
and flex_cc.SEGMENT2(+) = int.SEGMENT2
and flex_cc.SEGMENT3(+) = int.SEGMENT3
and flex_cc.SEGMENT4(+) = int.SEGMENT4
and flex_cc.SEGMENT5(+) = int.SEGMENT5
and flex_cc.SEGMENT6(+) = int.SEGMENT6
and flex_cc.chart_of_accounts_id(+) = 50569
and flex_cc.template_id(+) is NULL
and ccid_cc.code_combination_id(+) = int.code_combination_id
and ccid_cc.chart_of_accounts_id(+) = 50569
and ccid_cc.template_id(+) is NULL
order by decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5|| int.SEGMENT6
, rpad(ccid_cc.SEGMENT2,30) || '.' || rpad(ccid_cc.SEGMENT1,30) || '.' || rpad(ccid_cc.SEGMENT3,30) || '.' || rpad(ccid_cc.SEGMENT4,30) || '.' || rpad(ccid_cc.SEGMENT5,30) || '.' || rpad(ccid_cc.SEGMENT6,30)
, rpad(int.SEGMENT2,30) || '.' || rpad(int.SEGMENT1,30) || '.' || rpad(int.SEGMENT3,30) || '.' || rpad(int.SEGMENT4,30) || '.' || rpad(int.SEGMENT5,30) || '.' || rpad(int.SEGMENT6,30)
) , int.entered_dr, int.accounted_dr, int.entered_cr, int.accounted_cr, int.accounting_date
control->len_mainsql = 16402
length of main_stmt = 7428
upd_stmt.arr:
update GL_INTERFACE
set status = :status
, status_description = :description
, je_batch_id = :batch_id
, je_header_id = :header_id
, je_line_num = :line_num
, code_combination_id = decode(:ccid, '-1', code_combination_id, :ccid)
, accounted_dr = :acc_dr
, accounted_cr = :acc_cr
, descr_flex_error_message = :descr_description
, request_id = to_number(:req_id)
where rowid = :row_id
upd_stmt.len: 394
ins_stmt.arr:
insert into gl_je_lines
( je_header_id, je_line_num, last_update_date, creation_date, last_updated_by, created_by , set_of_books_id, code_combination_id ,period_name, effective_date , status , entered_dr , entered_cr , accounted_dr , accounted_cr , reference_1 , reference_2
, reference_3 , reference_4 , reference_5 , reference_6 , reference_7 , reference_8 , reference_9 , reference_10 , description
, stat_amount , attribute1 , attribute2 , attribute3 , attribute4 , attribute5 , attribute6 ,attribute7 , attribute8
, attribute9 , attribute10 , attribute11 , attribute12 , attribute13 , attribute14, attribute15, attribute16, attribute17
, attribute18 , attribute19 , attribute20 , context , context2 , context3 , invoice_amount , invoice_date , invoice_identifier
, tax_code , no1 , ussgl_transaction_code , gl_sl_link_id , gl_sl_link_table , subledger_doc_sequence_id , subledger_doc_sequence_value
, jgzz_recon_ref , ignore_rate_flag)
SELECT
:je_header_id , :je_line_num , sysdate , sysdate , 1008009 , 1008009 , 124 , :ccid , :period_name
, decode(substr(:account_date, 1, 1), '-', trunc(sysdate), to_date(:account_date, 'YYYY/MM/DD'))
, 'U' , :entered_dr , :entered_cr , :accounted_dr , :accounted_cr
, reference21, reference22, reference23, reference24, reference25, reference26, reference27, reference28, reference29
, reference30, :description, :stat_amt, '' , '', '', '', '', '', '', '', '' , '', '', '', '', '', '', '', '', '', '', ''
, '', '', '', '', '', '', '', '', '', gl_sl_link_id
, gl_sl_link_table
, subledger_doc_sequence_id
, subledger_doc_sequence_value
, jgzz_recon_ref
, null
FROM GL_INTERFACE
where rowid = :row_id
ins_stmt.len: 1818
glluch() 14-MAR-2007 15:39:27<< glluch() 14-MAR-2007 15:39:27
LEZL0008: Found no interface records to process.
LEZL0009: Check SET_OF_BOOKS_ID, GROUP_ID, and USER_JE_SOURCE_NAME of interface records.
If no GROUP_ID is specified, then only data with no GROUP_ID will be retrieved. Note that most data
from the Oracle subledgers has a GROUP_ID, and will not be retrieved if no GROUP_ID is specified.
SHRD0119: Deleted 1 record(s) from gl_interface_control.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
No data was found in the GL_INTERFACE table.
Concurrent request completed
Current system time is 14-MAR-2007 15:39:27
---------------------------------------------------------------------------As per the error message said, you need to specify a group id.
as per documentation :
GROUP_ID: Enter a unique group number to distinguish import data within a
source. You can run Journal Import in parallel for the same source if you specify a
unique group number for each request.
For example if you put data for payables and receivables, you need to put different group id to separate payables and receivables data.
HTH -
I am a former user of Adobe Photoshop CS3 as a very beginner. I have had no training. I wish to know if the new Creative Cloud will do everything that my Photoshop CS3 did for me. Can you help me?
Please refer to:
Photoshop Help | Photoshop CC / Common Questions
https://helpx.adobe.com/lightroom/faq.html
Photoshop CC is much enhanced than CS3 & you would love the new features too.
Regards
Rajshree -
Hello,
I am working on a CDC application, with Emulator platform - CDC Java(TM) Platform Micro Edition SDK 3.0, Device - SunVgaAGUIPhone1 and Device Profile - PBP-1.1. The following (Hello World app) works fine for me:
import java.awt.*;
public class Main extends Frame {
public Main () {
initComponents();
private void initComponents() {
pack();
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Main().setVisible(true);
public void paint(Graphics g) {
g.drawString("Hello, World!", 80, 50);
My understanding is that CDC with AGUI supports swing. However, when I change the above code to the following, it does not work:
import java.awt.*;
import javax.swing.*;
public class Main extends JFrame {
public Main () {
initComponents();
private void initComponents() {
pack();
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Main().setVisible(true);
public void paint(Graphics g) {
g.drawString("Hello, World!", 80, 50);
Can anyone tell me what am I missing? Or is this even possible?
Thanks!Welcome to the forum. Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now. -
Hi all
1. Is it possible to apply CDC on views?
I was attempting to apply CDC on views.
When i executed the Start Journal i got the following error:
java.sql.SQLException: ORA-25001: cannot create this trigger type on this type of view
(The code snippet for creating a trigger in JKM :
triggerCmd = """
create or replace trigger ODI_SOURCE_11G.T$VW_PARTY_PARTY_EMP
after insert or update or delete on ODI_SOURCE_11G.VW_PARTY_PARTY_EMP
for each row
2. Can the code/JKM be customized to apply CDC on views? (to include INSTEAD OF).
3. Will there be any other impacts due to changing the code?Hi ,
Duplicate the JKM and give it a name say JKM ON VIEW
Now change the create trigger statement to create instead of trigger
use it in your project .
Thanks,
Sutirtha -
Opening a new window in CDC/AGUI?
Hi,
I am working in CDC/AGUI application. I have created a JFrame with a menu. I am trying to open a new InternalFrame window from menu , but which is not visible. This is the code what i have used. Please help me out why it is happening?. I am using Netbeans IDE fro my develoment.
Note:The same code is working in JRE 6.0
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyVetoException;
import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
* @author sathiq.ali
public class InternalFrameMain extends javax.swing.JFrame {
int i = 0;
private JDesktopPane desktop = new JDesktopPane();
/** Creates new form InternalFrameMain */
public InternalFrameMain() {
initComponents();
setContentPane(desktop);
setJMenuBar(getManiMenu());
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 400, Short.MAX_VALUE)
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 300, Short.MAX_VALUE)
pack();
// </editor-fold>
private JMenuBar getManiMenu() {
JMenuBar mainmenubar = new JMenuBar();
JMenu menuDoc = new JMenu("Document");
mainmenubar.add(menuDoc);
JMenuItem item = new JMenuItem("Create");
menuDoc.add(item);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JInternalFrame frame = new JInternalFrame("Try" + i++, true, true, true, true);
desktop.add(frame);
frame.add(new JLabel("Try" + i++));
frame.pack();
frame.setLocation(100, 100);
try {
frame.setSelected(true);
} catch (PropertyVetoException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
frame.setVisible(true);
return mainmenubar;
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new InternalFrameMain().setVisible(true);
// Variables declaration - do not modify
// End of variables declaration
}Techie,
I don't have org.jdesktop.layout.GroupLayout installed so I commented this portion of the code out. To get the internal frame to show, I made a change on this line. From:
frame.add(new JLabel("Try" + i++));
to
frame.getContentPane().add(new JLabel("Try" + i++));
and the code worked for me in the emulator. Below is the complete listing which works for me. BTW, I get a runtime exception when not using getContentPane which warns me I must use getContentPane.
-Darryl
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyVetoException;
import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
* @author sathiq.ali
public class InternalFrameMain extends javax.swing.JFrame {
int i = 0;
private JDesktopPane desktop = new JDesktopPane();
/** Creates new form InternalFrameMain */
public InternalFrameMain() {
initComponents();
setContentPane(desktop);
setJMenuBar(getManiMenu());
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 400, Short.MAX_VALUE)
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 300, Short.MAX_VALUE)
pack();
// </editor-fold>
private JMenuBar getManiMenu() {
JMenuBar mainmenubar = new JMenuBar();
JMenu menuDoc = new JMenu("Document");
mainmenubar.add(menuDoc);
JMenuItem item = new JMenuItem("Create");
menuDoc.add(item);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JInternalFrame frame = new JInternalFrame("Try" + i++, true, true, true, true);
desktop.add(frame);
frame.getContentPane().add(new JLabel("Try" + i++));
frame.pack();
frame.setLocation(100, 100);
try {
frame.setSelected(true);
} catch (PropertyVetoException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
frame.setVisible(true);
return mainmenubar;
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new InternalFrameMain().setVisible(true);
// Variables declaration - do not modify
// End of variables declaration
}
Maybe you are looking for
-
Ist es möglich, Dokumente direkt in LR 4 zu scannen? Wenn Ja, wie geht das. Danke
-
PDF export of adobe illustrator files loses layers
When we export an iBooks Author file as a PDF (best quality), Adobe Illustrator files that have transparent layers lose their transparency. The .ai files look fine iBooks Author (where is gives the file name of the image as a .pdf because that is how
-
Hi all, I m in great problem.During the change of my dbid in one of mine production database it shows a error.It tells tempfie can't open and the dbid change could not complete.But when i tried to revert it it shows the same problem tht temfile can't
-
Okay, so I'm a little slow.
<Alert> nothing to do with java networking </Alert> Umm, I just now noticed that I was no longer 'watching' the old Sun/Oracle java network forum since the end of September and eventually found my way here. Did I miss something? Last I saw was a mess
-
Mgmt 0 Interface Down - HA not ready
Setting up a new set of 6248 FIs running 2.1(a) – HA never becomes ready – After some investigation within NXOS mgmt 0 reports as down "link not connected", even though I am connected on that interface to both FIs and the cluster IP - I have changed