Help needed on Data Carrier
Hi,
We have a scenario where in we need to have three Data Carriers. One for PCs, One for NWBC and another for Citrix clients. We created them as shown in the screen shot.
Further these were linked to frontend as shown in the attachment.
Since NWBC is taking PC as default, we kept PC for NWBC. Created TR for CITRIX and VC for Individual PC. Even after this setting, while accessing a drawing from ECC system takes up PC and looks for viewer linked to ACAD application and PC data carrier. System should have chosen VC as I have mentioned it so.
Experts, now let me know whether I have done some mistake in setting up the data carriers?
Regards,
Gireesh
Hi,
We have a scenario where in we need to have three Data Carriers. One for PCs, One for NWBC and another for Citrix clients. We created them as shown in the screen shot.
Further these were linked to frontend as shown in the attachment.
Since NWBC is taking PC as default, we kept PC for NWBC. Created TR for CITRIX and VC for Individual PC. Even after this setting, while accessing a drawing from ECC system takes up PC and looks for viewer linked to ACAD application and PC data carrier. System should have chosen VC as I have mentioned it so.
Experts, now let me know whether I have done some mistake in setting up the data carriers?
Regards,
Gireesh
Similar Messages
-
Hi there everyone, pls help me . i have a question as above
"Code a Java class called Calendar which has a static variable of type Date(initialised to 1st January 2004), a static void method called tock(int days) to advance the variable by the specified number of days, and a static Date method called getDate() to return the current date.".
What i was thinking to write is.
public class Calendar
Date myDate = new Date();
myDate = java.sql.Date.valueOf("2004-01-01"); //but my fren said i could use the toString() instead
public static void tock(int days)
{ int i = 1;
while i < days;
Date = Date + 1; // i am not sure what i am doing ...i am just a beginner .pls help
public static Date getDate()
{ return Date;
Are my answers correct ..? how do i advance the variable (date) by the number of specified days ? the asnwer need to print out, say 4 days , u need to print 01 Jan , 02Jan , 03 Jan , 04 Jan...
anyone please help ..Since your assignment is to code a class named Calendar, I doubt that you can use the java.util.Calendar class,
which has a useful add() method in it.
So here is another solution:
public class Calendar
static Date myDate = java.sql.Date.valueOf("2004-01-01");
public static void tock(int days)
long t = myDate.getTime(); // returns the number of milliseconds since 1970-01-01 00:00:00 GMT
t = t + (days * 24 * 60 * 60 * 1000); // adds the appropriate number of days in milliseonds
myDate.setTime(t);
public static Date getDate()
return myDate; -
Urgent help needed: registry.dat is missing when i run my form in web base
Hi gurus,
i configured my forms and report server in windows 2003 and i received the following error msg when tryin to access my web base forms 6I.
FRM-92129: Registry file http://domain.com/form60java/oracle/forms/registry/Registry.dat is missing.
Details...
Java Exception:
oracle.forms.engine.RunformException: FRM-92120: Registry file http://domain.com/form60java/oracle/forms/registry/Registry.dat is missing.
at oracle.forms.engine.Runform.initRegistry(Unknow Source)
at oracle.forms.engine.Runform.startRegistry(Unknow Source)
at oracle.forms.engine.Main.createRunform(Unknow Source)
at oracle.forms.engine.Main.start(Unknow Source)
at sun.applet.JinitAppletPanel.run(Compiled code)
at java.lang.Tread.run(Thread.java:466)
what can be goes wrong with my steps to receive the above error?? i tried in windows XP and Vista, and i getting the same error message as above.
Your urgent help and advise is needed plssssssss.......
Many thanks in advance.The URL doesn't seem correct: http://domain.com/form60java/oracle/forms/registry/Registry.dat
I'm expecting a slash (/) between forms60 and java. Have a look in the formsweb.cfg if any paths are misconfigured.
Also, try if the URL with the slash:
http://domain.com/form60/java/oracle/forms/registry/Registry.dat
does work when you just paste it in a browser. It should download the Registry.dat file -
Mapping conversion help needed for date
Hi Experts,
I need help in message mapping convesion for date field
The source date field can have value '2010-06-04T02:09:59.610-07:00' or 2010-06-04T02:09:60.610-07:00
I have to change it to '2010-06-04T02:09:59.000-07:00'. ie, if the seconds are 59.XXX, or 60.XXX, then change to 59.000.
Please let me know the best way to do this
Thanks
MikeAgain, to make it more clear
The source date field can have any date value such as
2010-06-04T02:09:59.610-07:00 -
This needs to be changed to 2010-06-04T02:09:59.000-07:00
2010-06-04T02:09:60.610-07:00 -- This needs to be changed to 2010-06-04T02:09:59.000-07:00
2010-06-04T02:09:60.000-07:00 -- This needs to be changed to 2010-06-04T02:09:59.000-07:00
2010-06-04T02:09:59.000-07:00 - This need not be changed
2010-06-04T02:09:58.610-07:00 -- This need not be changed
2010-06-04T02:09:57.610-07:00 etc etc - These need not be changed.
The only change using date function is for the first two dates, in which 59.XXX and 60.XXX need to be replaced with 59.000
Using the above date function, all the seconds 59.XXX, 58.XXX, 60.XXX, etc etc,,, are converted to 59.000, 58.000 and 60.000
I dont need this as per the requirement. So looks like the UDF needs to be altered a little to accomodate my requirement.
Please help me.
Thanks
Mike -
Help needed with data security
I need to return my Thinkpad for service but I am concerned with security. For instance, my facebook account as well as other accounts log on automatically because the passwords are automatically remembered. How do I keep my confidential information safe while the laptop is in the technicians hands?
BTW, one of the problems that it has is that I cannot backup successfully with the lenovo application... I managed to get a backup completed with the windows backup program, but I'm not sure of it's integrity.
Please help me with this, Thanks!Hi,
If I understand you correctly, you suspect software problems.
The first thing the techs will do (probably) is re-image your HDD. I hope you have you important data backed up somewhere - especially if you don't trust the Windows backup.
For that matter, if you do have software issues, restoring a full backup will also restore the problem.
You've probably already considered this, but just in case...
Z.
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc. The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество -
Help needed in data type casting
I have a java program which will receive data and its type in the String format. During program execution, the data in the String data has to be converted into the respective data type and assigned to a variable of that data type so that it could be used in the program. Programmer may not know the type of data that the value has to be converted into.
I really got struck up with this. This is a RMI application and one process node is sending the data to another node in the String format and the type of data it should get converted into so that it can be converted into the respective type and used for computation.
Can you understand what I am asking for ....if you can pls help and it is highly appreciatedI dont know whether i ahve expressed it correctly
look at this code
dataPacket sendtoNode = send.senDatatoNode(inputReq);
String recnodnum = sendtoNode.nodeNum;
String recvarnum = sendtoNode.varNum;
String recvartype = sendtoNode.dataType;
String recvalvalue = sendtoNode.dataVal;
int num; int type;
double result;
// here in this case the result variable type is double
if (recvartype.equals("int")){
type = 1;
result = Integer.parseInt(recvalvalue); will pose problem
else
if (recvartype.equals("double")){
type = 2;
result = Double.parseDouble(recvalvalue);
else
if(recvartype.equals("float")){
type =3;
result = Float.parseFloat(recvalvalue); will pose problem
else
if(recvartype.equals("Boolean")){
if ((recvalvalue.equals("true")) || (recvalvalue.equals("TRUE")))
type = 4;
result = Boolean.parseBoolean(recvalvalue); will pose problem
else
if(recvartype.equals("char")){
type = 5;
result = (char)recvalvalue; will pose problem
else
if(recvartype.equals("String")){
type = 6;
result = recvalvalue; will pose problem
else
if(recvartype.equals("byte")){
type = 7;
result = Byte.parseByte(recvalvalue); will pose problem
else
if(recvartype.equals("long")){
type = 8;
result = Long.parseLong(recvalvalue); will pose problem
else
if(recvartype.equals("short")){
type = 9;
result = Short.parseShort(recvalvalue); will pose problem
//forvarval varvalue = new forvarval();
//varvalue.forvarval(recvartype, recvalvalue);
// this has to be done after sorting the problem of type casting string result = recvalvalue;
//result = value; //<this will surely give me a problem as i m assigning string to double>??
send.host(result);
System.out.println("result received and the result is " +recvalvalue );
now i need to assign the converted string in to a variable and use in the compuation ..thts where the challenge n not in teh conversion process... -
Hi I am working in sqlserver 2008 R2 and below is my sample research query
i am trying to get previous 6 months data.
WITH CutomMonths
AS (
SELECT UPPER(convert(VARCHAR(3), datename(month, DATEADD(MM, DATEDIFF(MM, 0, GETDATE()) - N, 0)))) Month
,DATEADD(MM, DATEDIFF(MM, 0, GETDATE()) - N, 0) startdate
,DATEADD(MM, DATEDIFF(MM, 0, GETDATE()) - N + 1, 0) enddate
FROM (
VALUES (1)
,(2)
,(3)
,(4)
,(5)
,(6)
) x(N)
WHERE N <= 6
SELECT month
,SUM(isnull(perks.amount,0)) AS PerkAmount
FROM CutomMonths
LEFT JOIN (
select 10.00 as amount,'2014-04-03' as StartDate,'2015-04-03' as EndDate union all
select 10.00 as amount,'2014-04-03' as StartDate,'2015-04-03' as EndDate
) perks ON
CutomMonths.startdate >= perks.StartDate
AND CutomMonths.startdate < perks.EndDate
GROUP BY CutomMonths.Month
,CutomMonths.startdate
ORDER BY CutomMonths.startdate ASC
current output what i am getting:
Expected Output:
I found why the April month i din't get the $20 because the startdate of my perks CTE '2014-04-03'. If it is '2014-04-01' then i will get the expected output.
But i should not change the the date on perks. How to neglect this date issue and consider the month instead to get the expected output. please help me on this as i am struggling on my logic
loving dotnetI'm just going to focus on the JOIN criteria in this reply since my answer above and your 2nd response are essentially the same except for the JOIN.
What your are describing and what you are doing in code is conflicting.
You are saying this:
"I just need to check whether the perks start date falls in between month start date and month end date"
..., which translated directly to code would be this:
ON perks.StartDate >= CustomMonths.StartDate
AND perks.StartDate <= CustomMonths.EndDate
What I believe you are getting after is this:
"I just need to check whether the dates within the perks start and end date range fall in between month start date and month end date"
..., which translated directly to code would be this, which is also my answer proposed above:
ON CustomMonths.StartDate >= DATEADD(DAY, -(DAY(perks.StartDate) - 1), perks.StartDate)
AND CustomMonths.StartDate <= perks.EndDate
However, if you really want to use the code solution you proposed, then you would actually be saying this:
"I just need to check whether the dates within the perks start and end date range fall in between month start date and month end date, but if perk end date happens to be the first day of the month, then ignore it and use the previous day."
..., in which case then your code, as follows, would be the solution:
ON CutomMonths.startdate >= DATEADD(mm, DATEDIFF(mm, 0, perks.StartDate), 0)AND CutomMonths.startdate < DATE
ADD(mm, DATEDIFF(mm, 0, perks.EndDate), 0)
NOTE: The alternate JOIN I had commented out in my proposed answer above will do the exact same thing as your latest proposed solution
ON CustomMonths.StartDate >= DATEADD(DAY, -(DAY(perks.StartDate) - 1), perks.StartDate)
AND CustomMonths.StartDate < perks.EndDate
BTW, I see how you are getting to the first day of the month by subtracting all the months from the given date to 01/01/1901, and then turning around and adding them all back to 01/01/1901. While that is one way to get to the first day of the month, it
seems excessive from a calculation stand point, although I haven't performed any performance tests to know for certain.
SELECT DATEADD(mm, DATEDIFF(mm, 0, '2014-04-03'), 0)
I prefer simply subtracting one less than the current day number from the given date to get to the same first day of the month value.
SELECT DATEADD(DAY, -(DAY('2014-04-03') - 1), '2014-04-03') -
Help Needed with Data-modeling to build an application on
Hi would anyone be able to help me in creating a data model cause im really stuck with this one .Basically if been asked to create a survey application in oracle apex that use to excel based . So the info i was given was in a form of excel sheet which looks like this
NAME
E-MAIL
TSSA
ORACLE
HP
IBM
MS
SAP
INTERGRAPH
CISCO
Relationship
Contracting
Performance
Architecture
Supplier Feedback
comments
Jxxxxxx yyyyyyf
[email protected]
Yes
Yes
Yes
Yes
x
requested to be added
nnnitha iiiiiah
[email protected]
Yes
Yes
Yes
x
x
Knnnn kkkikot
[email protected]
Yes
x
x
is not payed
Gggrt Louuuue
[email protected]
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
x
x
x
x
jeiiiha ad
[email protected]
Yes
x
to meet with
John Rat
[email protected]
Yes
x
x
So where it says yes thous are the vendors that people associated with them have to asses and where there's an X thous are the topics that the vendors have to be rated on . So if for example the first guy on the list Jxxxxxx yyyyyyf will asses TSSA , ORACLE, HP , IBM , MS , SAP on the topic of Architecture and if you look at the second user nnnitha iiiiiah he would rate TSSA , ORACLE , INTERGRAPH on the topics of Relationship and performance . Any idea how i could data model this to get my table structures right .so that features like completion status could be displayed to the user through APEX which can only be done by a correct data-model i have tried normalization but i did go anywhere becauce there are so many variations any idea on how you would go about data modeling this would be greatly appreciated thank youNot really an APEX specific question.. Maybe you should try posting this in the data modeler forum : SQL Developer Data Modeler
Thank you,
Tony Miller
LuvMuffin Software -
URGENT help needed:Address data missing after QA Refresh from PRD
All,
Address data for almost all user-ids are missing after QA Refresh from PRD.
In QA, after importing the User-Master although its shows successful. The detailed log shows:
Data inconsistency in USR21. Start RSADRCK2 (See Note 459763)
Exit program AFTER_IMP_ADDRESS3 successfully executed
SAP user has no address SAP*
Error while deleting ADRVP for SAP*
SAP user has no address SAPCPIC...
ERROR: Type "F" user exit with SYS_ERROR: SUSR_CLIENTCOPY_USERBUF_RESET
We also do a Table export - import wherein the tables
USR03
USR07
USR09
USR20
USR21
USR30
are included.
The no. of entries exported and imported are same.
Also FYI in the User-master Transport i can see the following Tables included in the object list
USR01
USR02
USR04
USR05
USR06
USR08
USR14
USR21S
USR22
USRACL
USREXTID
USREXTIDH
Has anyone seen this before?
Any body has any ideas?Hello Bidwan,
I think it is an issue with company address. Just check if company addresses are existing the source client ?After client copy company addreses of target client will only exist in source client. Then if you do impot of the transport containing USR* tables it will try to assign old company addresses to the users but probably they are not exisitng in target client any more.
If this is the case then you need to create those company addresses again using SUCOMP and then once again import the transport for user master.
Regards.
Ruchit. -
Major help needed with date problem
hi everyone, I have been working on this problem for so long, my brain is completely fried, really. the part of the project I have listed is just one of larger program that I have all figured out; this is the last part and I am just struggling to come up with a start. I think i need to use a for loop, but not quite sure.
HERE IS THE PROBLEM:
(2) Prompt the user for a premium amount (in dollars and cents, but assume the user does not enter the $ sign), a start date and an end date for a policy term, and an effective date for a policy cancellation. Dates should be entered with three separate prompts for year, month, and day, in that order. Month will be a number between 1 and 12, and year will have 4 digits. Assume any pair of dates is possible, between January 1, 1900 and December 31, 2200. You may assume that the user always enters a valid date. You may also assume that the user enters a start date that is before the end date. Assume the cancellation effective date is between the start and end dates. You may also assume that the premium amount the user enters is a valid number.
(5) Using the start date, end date, premium and a desired refund amount (entered by the user), calculate the cancellation effective date required to produce an amount equal to or slightly larger than the desired refund amount
if anyone is looking for some major duke stars, please post here . . .(5) Using the start date, end date, premium and a
desired refund amount (entered by the user),
calculate the cancellation effective date requiredto
produce an amount equal to or slightly larger than
the desired refund amountCan you describe in precise detail--clear enough so
that somebody who had no idea about this problem or
the process could do it--the steps you'd take to do
this without regard to Java?If I understand correctly, you need to find out what percentage of their policy they want to use (the refund they want back tells you what percentage of the premium they want back, so the rest is what they want to use). Then use that percentage to calculate the number of days they would have to use the policy to get that refund (you already know the total days, so total days * percentage = days until refund). Then you just need to find out what day is that many days after the start day. that would be when they would cancel. Hopefully that makes sense. I am still trying to have it make sense for me. I can't figure out how to code this. -
Help needed for Data Pump.
Hi,
I am using oracle 11g release2 and I am not able to find data pump utility in SQL developer.
Please let me know, if I need to install it. I am new to this utility.
Thanks.I do not believe SQL Developer would have DataPump utility.
As the name implies, SQL Developer is intended to be used as a tool to facilitate development (typically of SQL code), as well as provide additional features to assist developers in their daily routines.
DataPump, is more of a DBA tool used for extracting logical copies of data from an existing database and/or port to another database. To use this utility, you would typically need to be in the dba group (although not necessary if configured properly). But at least on the same server as the datapump utility software resides.
There are many options and features to using datapump, including network_link which allows extraction of data from a remote database to another database on a different server without ever creating a file on the operating system.
If I recall correctly, I believe in older versions of Oracle client (e.g., 8.x), the Oracle client provided the export/import utility. But those days are long gone now. With datapump, it is primary a DBA tool. -
Hi guys merry Christmas in advance .i was trying to write a code to compare given string with current date .
So i have written a piece of code to set hour minute second millisecond of current date to 0.
It worked fine for minute second millisecond but hour always shows 12.
Here is the code.
Please help
import java.util.*;
public class SampleDate
public static void main(String[] args)
java.util.Date date = new java.util.Date();
//convert current date to cal format and set hour min sec mill to 0
java.util.Calendar cal1=java.util.Calendar.getInstance();
cal1.setTime(date);
cal1.set(java.util.Calendar.HOUR,0);
cal1.set(java.util.Calendar.MINUTE, 0);
cal1.set(java.util.Calendar.SECOND, 0);
cal1.set(java.util.Calendar.MILLISECOND, 0);
//convert from cal to date format
date=cal1.getTime();
System.out.println("Current Date in Date Object: " + date);
}Output:
C:\TIMECOMPARE>java SampleDate
Current Date in Date Object: Thu Dec 24 12:00:00 IST 2009Expected output is :Current Date in Date Object: Thu Dec 24 00:00:00 IST 2009The HOUR field of the Calendar class represents a 12 hour clock format where 0 indicates 12 noon. Instead use the HOUR_OF_DAY in the code as shown below:
cal1.set(java.util.Calendar.HOUR_OF_DAY,0); -
Help needed for data updation in User Defined Tables
Hello Experts,
I am developing one add-on in SAP B1 8.8 to input data in a User Defined Table described as under
Table Name
DriverMst UDT Type is No Object
Description
Stores the Driver master data which are used to get reference in Sale Delivery Form and Driver data management activity
User defined fields
Data Name
Data source
Size
Pane Level
Description
Driver Code
Code
Alphanumeric
0
No object table fixed field
System Name
Name
Alphanumeric
30
0
No object table fixed field
Full Name
FullName
Text
50
0
Father Name
FatherName
Text
50
0
Birth Date
BirthDate
Date
0
Phone Number
PhoneNo
Alphanumeric
50
0
Mobile No
MobileNo
Alphanumeric
13
0
I have created one form using screen painter displaying text boxes and bind them to the table.
This form is working absolutely fine when there are some data in table (i.e. Browse using navigation)
My problem is, when I click add button from tool bar the "OK" button turn to "Add" that means the form is set to Add mode, but when I click "Add" button after entering some data nothing happens and input data is not stored in Table. The same "OK" Button turned to "Update" when I do changes in loaded data, but my changes are not reflected to table after I click "Update".Thanks Nagarajan,
None.
There is no such query. The table fields is directly linked to Edit Box or Combo Box in form.
From the examples I learned that I have to do something like this to get my table updated
Dim oUsrTbl As SAPbobsCOM.UserTable
Dim Res As Integer
oUsrTbl = oCompany.UserTables.Item("DRIVERMST")
oUsrTbl.Code = oBPC.Value 'Item Specific of Driver Code Edit Box
oUsrTbl.Name = Left(oBPN.Value, 30) 'Item Specific of Name Edit Box
oUsrTbl.UserFields.Fields.Item("U_FullName").Value = oMFN.Value
oUsrTbl.UserFields.Fields.Item("U_FatherName").Value = oFTHN.Value
oUsrTbl.UserFields.Fields.Item("U_BirthDate").Value = oDOB.Value
oUsrTbl.UserFields.Fields.Item("U_PhoneNo").Value = oPHN.Value
(Similar For rest ofthe fields)
Res = oUsrTbl.Add()
Just let me know that is this necessary to do like above.. To be frank there are few more fields and matrices on the form which I didn't mentioned. I am just trying to get recovered from first step to proceed further.
Regards -
Urgent help needed in date & time
I want to same date & time in one field in a database
As java.sql.date doesn`t support HH:MM:SS
how do i save (Date & Time) field in the databaseyou can extract the hours, minutes, and seconds from your date object.
int hours = dateobject.getHours();
int minutes = dateobject.getMinutes();
int seconds = dateobject.getSeconds();
String hhmmss = String.valueOf(hours)+String.valueOf(minutes)+String.valueOf(seconds); -
Hi,
I want to have Date field in Pdf form as per the user settings in SU3 transaction.
How can i change the date field with scripting or through code initialisation and what to give for Display Pattern in Object Pallelete ?
Any inputs ?It is not possible due to some technical reasons.
Maybe you are looking for
-
How can I use this?? Custom css style.
!http://unisonsoft.iptime.org:8000/sample.jpg! Please look at this image.( Dashboard -> page option -> section properties -> Custom CSS Style Options (HTML Only) -> Use Custom CSS Style) I want to use Custom Css Style. What can I do for this? Thank y
-
After saving a pdf as Excel workbook the numbers remain text and cannot be used in calculations. Is there a better way to convert into real digital numbers? I have tried to convert the pdf to Word instead but same difficulty with numbers: look like n
-
How do I make buttons within a movieclip play from a specific frame in scene 1?
Hi guys I have a movie clip on the main timeline. This movieclip has buttons that I want to play different frames in scene 1. At the moment, this is the code I'm using in scene 1. learnclouds_mc.anna_btn.addEventListener(MouseEvent.CLICK, clickanna);
-
It appears that some tools are missing, or hiding, in PS Elements 7. For example, I need to use the Impressionist brush. The online help says that if you don't see it in the toolbox, select either the Brush tool or the Color Replacement tool , and
-
How can i make sustain pedal play a C3 using MidiPipe?
I am trying to make my sustain pedal a kick pedal for garageband with MidiPipe, but am stuck on how to do this.