Receive differennce between 2 revision in VCS.

Hi,
please describe best way for getting ddl script on difference between 2 revision in VCS.
Now i use 2 working copy on my local machine with different revision and receive ddl script on difference after compare 2 model.
Thanks

Hi,
The question is not very clear to me: what you want to do - are these 2 working copies created by checking out one and the same svn repository location? (and respectively synchronized with one and the same project(design))
If you want to continue working on one and the same project (design), but want to separate your changes from the mainstream project (design) you probably should use branching.
Best Regards,
Kamen

Similar Messages

  • Receiving calendars between specific organizations

    Hello,
    I would like to know if there is any functionality that defines receiving calendars between specific organizations. For example, imagine that for certain products, Org1 Supplies Org2 but since they want to consolidate the shipments, Org2 will just receive goods from Org1 on thursdays.
    Org2 also receive goods from Org3 and due to the same business requirements, they want to receive it on a wednesday.
    Since the calendars are global for each organizations, this is impossible to be done in 11i with normal ASCP functionality.
    We tested using carrier calendar but that did not work very well since the carrier calendar concentrated the planned orders in the sourcing organization (in my example, Org1 and Org3) and not in the destination organization.
    Do you know of any functionality or module that could pottencially attend this requirement? Do we have anything like this in R12?
    Thanks,
    Alberto

    Hi,
    Yes this is possible. Have a look at the chapter "Enabling Cross Domain Searches" in the calendar server admin guide.
    Regards,
    Shane.

  • Send and receive messages between threads

    Hi All,
    I am new to Java programming, I am planning to implement a simple chat server (Clients will connect from Android phones). My idea is to listen on the server on a specific port, and as soon as a connection is received on that port a new thread would be created. So far so good.
    The confusion is, I want threads to send messages to each other, for example user1 wants to send a text message to user2. How can I send the messages between threads?
    I am thinking of creating a hashtable which will hold username(key) and the queue object (value). For each connection(thread) I will store a new queue object in the hashtable - Each thread will continuously listen to its own queue. If any thread wants to send message to other, it can fetch the relative queue object and push the message in it. (Each thread knows which thread to call).
    Please advice if there is a better approach to this problem, or if I there is best practice for such problems.
    Thanks,
    Rahil

    sja wrote:
    There may be some reason to pass messages between threads, but so far I can't see it in the spec. Threads are for making several things happen at the same time. If you want to send a message from one user to another, that's one thing happening, and, unless there is some technical reason for it, no need to hand the message between threads.
    If you have a bunch of threads listening to sockets, those are not users, they are socket listening threads. The thread is not the user."Passing messages between threads" is a rather broad and ill-defined concept. However, for some valid interpretations, it's a very common and useful thing to do. The most obvious is the producer/consumer example that the OP is talking about.
    The "message" here could be the unit of work that's enqueued by one thread and dequeued by another. This message is passed simply by the enqueue/dequeue acts.
    Or the "message" could be the producer informing the consumer of the fact that there is a unit of work for him to do. This is accomplished by the underlying queue's blocking mechanism, e.g. notifyAll().

  • Time Period between Minor Revisions?

    Hey,
    I was just wondering how long it usually takes Apple to release the new "model" so to speak of a computer with minor revisions, such as working out the bugs? I was considering buying a Macbook during this summer before going on vacation, and was wondering if it would be wise to wait? The thing is, I don't want to wait too long. I realize that the Macbook was just recently released and I am not expecting a new revision in the next couple of months. Any advice would be greatly appreciated, and thanks very much.
    Regards,
    ES

    Typically, they go about 6 months between revisions. But, they have done it in as little as 3 months or so on occasion.
    If you're waiting for bug fixes, you might be waiting a while.
    It took them 2 years to get the major bugs out of the iMac G5. And, some of the bugs still remain in the new iMac CoreDuo that were in the original G5 series.
    So, you can wait a long time for bugs to be worked-out.
    There is no way of knowing whether bugs will be fixed until after the next model is out and has been field tested.
    I wouldn't count on major fixes to come very fast. They may make significant improvements with the next model. But, history has shown that they make small steps and improve over time.
    The most reliable version will likely come right before they introduce a successor (which will naturally introduce it's own problems and start the process over).

  • Switch digital counter to receive counts between samples not between edges

    I'm working with PCI 6602 card. I have created 3 channels:
    Ctr2 works in CI Cnt Edges mode (with Sample clock) and gets the samples.
    Ctr3 works as a pulse generator.
    Ctr4 works as a digital edge which ticks a timed loop where samples from Ctr2 are read (using Counter 1D U32 NSamp mode).
    The problem is that the samples are gathered incrementaly and I want them to be gathered differentialy. Now to know how many samples were gathered during one generated pulse I have to copy the subset of the array with gathered samples and subtract it from original which takes time. Is there any way to avoid it?
    Attachments:
    akwizycja_1FP_5us_histogram_v2_1d.GIF ‏20 KB

    If I understand your question correctly, you can let the counter hardware do this for you by performing Period measurement using Units=Ticks.   Each edge of the sample clock signal will store the count value then reset that count back to 0. 
    To configure this under DAQmx is a little quirky though.  Under edge-counting, you've wired your "channel" signal to the counter's default Source pin and you use your other counter to generate a sample clock signal.  Under period measurement, DAQmx tends to assume that the "channel" signal will be wired to the default Gate pin and act as an implicit sample clock.  It also expects a constant clock signal to be routed to the Source.  You'll have to override these defaults.
    You can use a DAQmx Channel property node to specify that Ctr3InternalOutput should act as CounterInput-->Period-->InputTerminal (or something like that) and that your external signal PFIx should act as Counter-->Timebase-->Terminal.   (Sorry, I don't have LV handy so syntax is very approximate.  Hope it helps you get started at finding the right properties.)   This will let you count differentially, collecting # edges of your channel signal between successive edges of your 200 kHz sampling clock.
    200 kHz continuous sampling for counter measurement is a bit on the aggressive side, by the way.  Not only will it be a bit tricky to keep samples moving across the PCI bus, but you'll probably have fairly significant quantization error at that rate.  If your channel signal is nominally, say, 2 MHz, you'll expect 10 counts per interval.  But the effects of quantization may well give you occasional 9's or 11's for a +/- 10% error per measurement.
    What kind of external "channel" signal are you trying to characterize?  What's the reason for the high sampling rate of 200 kHz?
    -Kevin P.

  • Receivables: Diferrence between "transaction number" and "document number"

    Hi!
    What is the difference between "transaction number" and "document number" as shown in the transactions window?
    Where are they used?
    thanks!

    Transaction number is the Invoice number. It can be a manually entered number in case of manual invoices. Even in case of imported invoices, it can be a manually assigned number if the trx_number field is populated in the ra_interface_lines_all table. If you Invoice batch source setup indicates automatic transaction numbering, the transaction (invoice) number will be automatically generated sequentially. The starting number is mentioned in the Trx batch source.
    The document number is a number which is generated by Document sequencing. To have the document number generated, you have to do few Doc sequencing setups like setting the 'Sequencial Numbering' profile options, creating document sequences and assigning the sequence to the Categories. The trx types are created as categories.
    The Transaction number can be the same as the document number if you enable the option 'Copy Document number to Transaction number' in the Invoice batch source.
    Hope that helps.
    Thanks,
    Anil

  • Send and receive files between unix machines

    Hi friends,
    I have to send and receive files from one unix machine to another unix machine. In my first unix machine I have tomcat webserver. Using a JSP I have to send and receive files from this machine to another machine. The destination machine contain some BAAN implementation, which take the files I send as input .
    Can you send me a java program to solve this problem.

    Hi friends,
    I am getting a problem in my application. I will state the complete problem in detail. I have to transfer 3 files from one NT machine to unix machine some where kept in net work, I used an ftp in 'Process p = getRunTime().exec("ftp -i -s:ftp.txt")'. In ftp.txt file I have given the necessary things for ftp to unix machine. The files are transfering into the unix box. When I to the process for the 2nd time I have to check whether the file are exists in the unix box, then only transfer the files. Now, again I am doing ftp bring the files from the unix box to NT machines using 'Process p = getRunTime().exec("ftp -i -s:ftp1.txt")' where ftp1 contains all the necessary things for ftp to unix machine . Now I am checking for the files available in the NT machine using boolean=(new File(filename)).exists(), Fine out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false', even the same happens if I delete the 3 files after checking, out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false'. I went to the folder where I am bring files from and removing the files manually, one file is showing share violation, one process is using the file . I am unable to resolve this problem, will this code what I write is acceptable if not suggest any other code. I have sending all the snippets of the programs. I am doing this in the development environment like this. My production environment is totally both are unix machines.
    1. ftp to transfer files.(tranfer.txt)called in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    put d:/dathu/CSV/bssfa932.txt
    put d:/dathu/CSV/bssfa933.txt
    put d:/dathu/CSV/bssfa936.txt
    bye
    2. ftp to get the files(get.txt)used in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    lcd d:/dathu/hold
    get bssfa932.txt
    get bssfa933.txt
    get bssfa936.txt
    bye
    3. java code snippet to getfiles
    Process p = Runtime.getRuntime().exec("ftp -i -s:get.txt");
    4. java code to check the files exist
    boolean filestatus=moCreatFlatFilerobj.isFileExists();
    public boolean isFileExists(){
    boolean isfileexisting=false;
    boolean blnordhead = (new File(file1 with path)).exists();
    boolean blnordlines = (new File(file2 with path)).exists();
    boolean blnaccount = (new File(file3 with path)).exists();
    if(blnordhead && blnordlines && blnaccount){
    isfileexisting=true;
    return isfileexisting;
    5. java code to delete files
    public void deleteFiles(){
    boolean header= (new File(file1 with path)).delete();
    boolean line =(new File(file2 with path)).delete();
    boolean account=(new File(file3 with path)).delete();
    6. java code to tranfer files.
    p = Runtime.getRuntime().exec("ftp -i -s:transfer.txt");

  • Using self_reception, can I differ the received messages between received and transmitted ones

    Hi,
    i have a NI-CAN PXI 8464 card series 2 (well, at least I hope it's series 2 :-) ) and want to use self_reception, for that I can receive incomming messages and my one sent one. Is there a way how I can tell if a received message is a incomming one, or a transmitted one.
    I'm using the Frame API with CVI and the latest NI-CAN Driver
    Thanks in Advance
    Olli

    There is no special treatment of
    these frames, they are seen on the CAN bus by the receive portion of
    the transceiver just as any other frame transmitted on the CAN bus. So unfortunately you cannot differ them from frames received normaly over the CAN bus. The only way would be to create a logic which stores transmitted frames and are compared agains frame received in the read queue.
    http://digital.ni.com/public.nsf/allkb/14429577623AEB5286257005004A9B02?OpenDocument

  • Call/video not working between Cisco jabber for Windows and VCS control C40s

    Hello,
    I've been struggling with no luck how to make a call using Cisco Jabber for Windows 9.6.0 registered to CM 8.6.2 with intercluster ICT to another CM 8.6.2 where we have a VCS Control 7.0.2 via GK H225, and all C40s are registered as H.323.
    The VCS has interworking between H323 and SIP, however not sure if there is any problem with that. Assuming it is ok, not sure either if I'm facing any interoperability issue because in my remote site I have C40 (H323 registered at VCS and SIP listening mode) and cisco jabber for windows which is SIP based.
    If is not possible, would I be able to change my C40 from H323 to SIP at VCS, or have both H323/SIP registered at VCS? If so, will I need to change as well instead of GK I'll have to establish a SIP Trunk between the CM and VCS?
    Another thing I do not believe either I would be able to have one VCS connected with two clusters, right?
    I'm just trying to find a solution in case my current topology is not compatible, but feel free if you have any better idea to make it work.
    Anyway here is what is happening:
    When I make a call from my cisco jabber windows to C40 using alias number. The call is being redirected just fine to the C40 and it rings, however when someoene or the auto answer picks it up, the call dropped right away.
    However, if I enabled the MTP in my CSF device, the call gets longer before dropping. I was even able to see my jabber " start video" turns green, before was grayed out all the time and the call dropped faster. I hear a fast busy tone. 
    I'm able to provide SDI traces, logs, diagnostic sip/h323 calls from VCS in order to know for sure if this is an incompatible issue or something I can workaround.
    Let me know if someone of you are interested in read these logs or could point me on the right direction.
    Thanks!

    Ok,
    I have looked at both logs. I have to mentinon though that you didnt
    provide the log that shows the h323 setup between cucm and the VCS. This
    is  most likely because the call originated from a different cucm than
    the ones you provided the logs from.
    The call would have orginated from the first cucm in the cucm group of
    this trunk: Name=RL_TRUNK_VIDEO
    The cucm ip will be : 10.252.53.10.
    This is the VCS log that confirms where the h323 request originated
    from:
    pr 10 22:50:29 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:29,187"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="54000"
     Received RAS PDU:
    Having said that here is my analysis of the logs that you sent..
    Jabber sent an INVITE to CUCM and advertised all the codecs (audio and
    video it can support)..
    Observer that Jabber says it doesnt support G729 anexB
    21:55:16.576 |//SIP/SIPTcp/wait_SdlReadRsp: Incoming SIP TCP message
    from 10.223.20.73 on port 54677 index 90661 with 2220 bytes:
    [862370,NET]
    INVITE sip:[email protected];user=phone SIP/2.0
    Via: SIP/2.0/TCP 10.223.20.73:54677;branch=z9hG4bK000029d3
    From: "4122107" <sip:[email protected]>;tag=00059a3c78000011000070b0
    -00000e65
    To: <sip:[email protected]>
    Call-ID: [email protected]
    Max-Forwards: 70
    Date: Fri, 11 Apr 2014 01:55:16 GMT
    CSeq: 101 INVITE
    User-Agent: Cisco-CSF/9.4.1
    m=audio 19252 RTP/AVP 0 8 18 105 104 101
    c=IN IP4 10.223.20.73
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:105 G7221/16000
    a=fmtp:105 bitrate=24000
    a=rtpmap:104 G7221/16000
    a=fmtp:104 bitrate=32000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=sendrecv
    m=video 28878 RTP/AVP 97
    c=IN IP4 10.223.20.73
    ++++Now lets observer the capabilites exchange during h245 negotiation
    between cucm and VCS++++
    Here CUCM advertises its caps to VCS (afterreceiving caps from VCS)
    Note that G729A, G729AB, G729 is all advertised..
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,017"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="45660"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : terminalCapabilitySet
     capabilityTableEntryNumber 2,
           capability receiveAudioCapability :
    g729wAnnexB : 6
           capabilityTableEntryNumber 3,
       capability receiveAudioCapability : g729AnnexAwAnnexB : 6
           capabilityTableEntryNumber 4,
           capability
    receiveAudioCapability : g729 : 6
    capabilityTableEntryNumber 5,
           capability receiveAudioCapability :
    g729AnnexA : 6
    ++++++
    After doing MSD (master slave determination, we move to the OLC phas e..
    Here we see that the far end..c40 wants to use G729AB for media++++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,783"
    Module="network.h323" Level="DEBUG":  Src-ip="10.224.114.11"  Src-
    port="11163"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : openLogicalChannel :
       forwardLogicalChannelNumber 1,
    forwardLogicalChannelParameters
         dataType audioData :
    g729AnnexAwAnnexB : 20,
         multiplexParameters
    h2250LogicalChannelParameters :
    +++Next VCS sends G729AB as the codec to use to CUCM+++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,784"
    Module="network.h323" Level="DEBUG":  Dst-ip="10.252.53.10"  Dst-
    port="45660"
     Sending H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : openLogicalChannel :
       forwardLogicalChannelNumber 1,
    forwardLogicalChannelParameters
         dataType audioData :
    g729AnnexAwAnnexB : 20,
         multiplexParameters
    h2250LogicalChannelParameters :
    ++++The next thing we get is an OLC reject from CUCM and this is where
    th call drops++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,790"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="45660"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= response : openLogicalChannelReject :
    forwardLogicalChannelNumber 1,
       cause dataTypeNotSupported : NULL
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,790"
    Module="network.h323" Level="INFO":  Dst-ip="10.224.114.11"  Dst-
    port="11163"
      Detail="Sending H.245 OpenLogicalChannelRejResponse
    +++We then receive a call release from cucm with cause code of 47:
    resource unavailable++++
    Apr 10 22:50:32 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:32,365"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="50913"
     Received H.225 PDU:
     Q931
       Message Type: Release
    Complete
       Call reference flag: Message sent from originating side
    Call reference value: 0x7b
       Info Element : Cause
         Location: Usr
       Cause Value: Resource unavailable
       Info Element : User User
       Length = 22
    Suggestions:
    Change the region setting between the ICT trunk to VCS and Jabber to use
    G711 and test again.

  • Problem with Send and Receive Emal In SAP System

    Hi gurus!
    I have a following quote:
    Dear !
    I have a problem with send and receive email in SAP system following :
    I want to test send and receive email in local network at my company. I
    had two server
    Server 1 : I setup Exchange Mail Server 2007 with domain controller is
    fes.com
    Server 2 : I setup SAP ERP ECC 6.0
    On Server 1 : I created 2 account ( u1Afes.com and u2Afes.com ) and then I tested send and receive email between u1 and u2 in local network through Microsoft Outlook 2007 -> OK
    and then
    On Server 2: I had configured send and receive email on SAP system
    through tcode SBWP, SCOT and SOST as Note 455140 - "Configuration of
    e-mail, fax, paging or SMS using SMTP"
    for example :
    I logged in SAP system with user Basis01 (with email u1Afes.com ) -> then,using tcode SBWP -> new message -> send to u2Afes.com with Internet Mail type and then status message with green light -> sending ok
    and then I have used Microsoft Outlook 2007, I logged with account u2 ->check email -> Ok. I saw message which send from u1
    Finally, My problem is how can receive mail in SAP system without using Microsoft Outlook
    For example:
    Login system SAP with Basis01 account (with  u1Afes.com ) -> tcode SBWP ->New Message -> send to u2Afes.com
    and then
    Login system SAP with Basis02 account (with u2Afes.com ) -> tcode ??? ->
    To receive email from Basis01 (with u1Afes.com )
    Please help me now
    Thanks
    I replace "@" with "A" because of banning email of this forum.
    This quote is about sending email in local network. And we can't receive any email from the outside email address. Addition if I wanna send email to internal email in Internet (we've just tried with email address in local network) What should I config in SAP and Exchange ?
    By the way, Is SAP Server IP added to Relay Agent for sending or receiving mail ?
    Regards
    An NLP
    Edited by: An NLP on Apr 6, 2010 7:03 PM

    Hi,
    This problem is a classic problem of mail routing via Exchange. Exchange like most mail servers use the domain part of the email address as a means to route mails. So I will make an assumption that your main company mail addrss is "User @ fes.com".
    So when you send a mail to the "User @ fes.com mail" address the mail is delivered to your Outlook mail address as this is the default route for company.
    (Q) So how do you get your Exchange server to relay the mail into the sending SAP system?
    (A) The easiest way would be to setup and unique mail domain for your SAP system. I always recommend "user @ client.sid.company.com" which in your case would be "u1 @ 100.PRD.fes.com". You can then instruct Exchange to send any emails addressed to 100.PRD.fes.com domain to your SAP system. Also using this format of address you can configure multiple mail connections into multiple SAP systems.
    (A) Another answer would be to enter the "Full" email address (LOcal and Domain part of address) into the routing rule for Exchange e.g. "U1 @ fes.com" so that all emails addressed to this user will be delivered into SAP. However this method requires a lot of Admin as you will have to update Exchange with ALL email address that need to receive emails. Also if your corporate mail address is "U1 @ fes.com" then all mails will be forwarded to SAP.
    I would definitely NOT recommend this method but the decision is up to you.
    P.S. The IP address of the SAP system is entered into the mail header of the email. This is standard practice in SMTP relay. You can suppress this header in Exchange
    Hope this helps
    Michael

  • Can I recover text messages from an old Iphone that has now been wiped? Some of my messages got lost in between the process of turning my old phone in for a new one-which I have since restored from a backup a few days old

    In the process of exchanging my defunct Iphone for a new one, some important text messages were lost. The messages obviously did not transfer over to my new phone as I had to restore my new phone from a backup performed a few days ago. Is there a special trick that will allow me to somehow enter my cell number, since it is still the same, in order to recover texts that were received in between wiping my old phone and getting a new one?

    You can use an iPhone file explorer such as TouchCopy to get the messages off the old phone. But you can't put them on the new phone as messages. You could put them in a pdf file that you could read on the new phone.
    Normally when you get a new phone the first thing you should do is transfer the contents of the old phone to it (Transfer content from an iPhone, iPad, or iPod touch to a new device - Apple Support)). Then the problem does not arise. You are even prompted to do this when you activate the new phone. Once you have started using the new phone without doing this it is too late.
    To tell Apple your concern go to http://apple.com/feedback. This is a user to user forum; Apple does not read or participate in it.

  • Optical audio out to receiver

    Hello, I have a powermac g5 hooked up to a vsx-1014tx Pioneer receiver via digital optical audio. When I'm using dvd player and select "system sound output" in Dvd Player's preferences I get audio through the digital optical hookup and sound out of the speakers, but the receiver's display doesn't switch to DIGITAL (it displays whatever sound processor I select on the receiver such as dolby prologic II) i.e. the computer outputs 2 channel digital audio. When I switch to "digital out - built in audio" in Dvd Player's preferences, there is no sound output while watching a movie. The receiver flickers between DIGITAL and DD Prologic II. Is there anything that you know of that will allow me to get 5.1 Dolby Digital put out through the G5's optical audio out? (settings, audio codec, ect.)
    P.S. I have software updated and in system preferences/sound I have digital out selected
    Thanks for your help
    Daron

    Not sure if it will help resolve your issue, but you can make more detailed adjustments to the audio output using +Audio MIDI Setup+ utility, which is in your Utilities folder.

  • Lumia 930 HW Revision 2.0.0.1 vs 2.0.0.2 differenc...

    Hello,
    1. Does someone know what is different on Lumia 930 between Hardware Revision 2.0.0.1 and 2.0.0.2 ?
    2. I had a 2.0.0.2 and had a very bad screen, the gray background was displayed with green shades or somehow also having right on the middle of the screen a 1px horizontal lighter line. I switched this for a 2.0.0.1 which is much better, the only thing is that when I have a gray background and going from a light room to a dark room, the background is somhow flashing for a second from a light gray to a light green tint then going to a darker gray. I also changed this with another 2.0.0.2 and I can say that the difference is pretty major.
    First of all the screen has more brigthness when both set on high or auto. The red color for example is more lifelike and punchier than on the screen from 2.0.0.1
    Regarding the gray, it's more uniform and more gray as it should be. The 2.0.0.1 had a red tint.
    So, is there a display change or something ? As far as I know this displays are made by Samsung and as I know Samsung with their monitors to improve the display but without to say anything like Dell, is pretty much possible.
    Is anyone who can share same experience with differences between different phones and/or revisions ? To find out which is the difference between different hardware revisions and also if there are more display versions or revisions.
    Thanks

    Doc ID: Note:146653.1
    Subject: iAS 1.0.2.2 Release Notes (NT/2000)
    Type: README
    Status: PUBLISHED
    Content Type: TEXT/PLAIN
    Creation Date: 24-MAY-2001
    Last Revision Date: 25-MAY-2001
    Oracle9i Application Server Release Notes
    Release 1.0.2.2 for Windows NT/2000
    Part Number A90218-01
    null

  • Calculate date difference between overlapping periods

    hello folks,
    i am learning my way into more complex problem of java.
    i have to calculate the true period lenght for a set of periods.
    it is a little complidated to explain the whole business rules on this subject, but on a nutshell:
    we have teams that are give a single day payment for staying in a hotel, but since this team is composed of many people (?this is a team); there are days when more then one person stays in a hotel.
    we get these details at the end of a business event when all information is entered on our business intelligence system.
    for a given hotel stay, the following details are submitted:
    start date
    end date
    number of days in economic accomodation (lower class)
    number of days in luxure accomodation (higher class)
    if no number of days in any class, or the number is smaller then lower class is assumed to be the one used
    another business rule says that for the first night out (away from their home) staff receives an extra night for their transfer (!generous company!)
    i have created a class for holding all this information so far - HotelStay.java
    since this is a team information for a given business event i receive anything between 0 to 200 hotel stays.
    thus my dataset looks like
    teamID
    hotelStayStartDt
    hotelStayEndDt
    daysInLowerClass
    daysInHigherClass
    my objective are:
    to be able to calculate the actual number of stays (including any additions for the first day away)
    to be able to calculate number of total days - including over laps - these will be paid in a different rate)
    number of days in each hotel class - lower and higher
    since i am clueless how to go about it, i would really appreciate assistance here.
    below is my HotelStay.java
    many thanks,
    Nic

    here is the class that i have created so far
    package businessCalculations.awayStays;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import com.sun.org.apache.xalan.internal.xsltc.trax.SmartTransformerFactoryImpl;
    import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor.SetterOnlyReflection;
    * @author
    public class HotelStay {
         * hotel starting date of stay hotel stays can only start in the past or
         * today as this is not processing future bookings only dates over and above
         * 1990 are considered into this system
        private Date hotelStayStartDt;
         * hotel date end of staying only dates over and above 1990 are considered
         * into this system
        private Date hotelStayEndDt;
         * days for which a person stayed in economic or other lower class
         * accommodation
        private int daysInLowerClass = 0;
         * days for which a person stayed in de-luxe or other higher class
         * accommodation
        private int daysInHigherClass = 0;
         * flags when person was sleeping in another hotel at the beginning of this
         * stay (they went from one hotel to another without going home in betwee
         * if they were they do not receive the added day bonus for transfer
         * (one overnight stay <b>EXTRA</b>) thus if at the beginning of the stay,
         * they were not sleeping in another hotel, they receive an extra night for
         * their transfer
        private boolean isSleepingAwayOverlapping = false;
         * default constructor
         * @param hotelStayStartDt
         * @param hotelStayEndDt
         * @param daysInLowerClass
         * @param daysInHigherClass
        public HotelStay(Date hotelStayStartDt, Date hotelStayEndDt,
             int daysInLowerClass, int daysInHigherClass) {
         boolean outcome = this.addNewHotelStay(hotelStayStartDt, hotelStayEndDt, daysInLowerClass, daysInHigherClass);
         * @param hotelStayStartDt
         * @param hotelStayEndDt
         * @param daysInLowerClass
         * @param daysInHigherClass
         * @return
        public boolean addNewHotelStay(Date hotelStayStartDt, Date hotelStayEndDt, int daysInLowerClass, int daysInHigherClass) {
         if (this.isValidStayDt(hotelStayStartDt) && this.isValidStayDt(hotelStayEndDt)){
             int lengthOfStay = this.getLengthOfStay(hotelStayStartDt, hotelStayEndDt);
             if(lengthOfStay >=1) {
             this.setHotelStayStartDt(hotelStayStartDt);
             this.setHotelStayEndDt(hotelStayEndDt);
             if (
                  (daysInHigherClass + daysInLowerClass == 0)
              ||  (daysInHigherClass + daysInLowerClass <= lengthOfStay + 1 )
              this.setDaysInLowerClass(daysInLowerClass);
              this.setDaysInHigherClass(daysInHigherClass);
             } else {
              this.setDaysInLowerClass(daysInLowerClass);
              this.setDaysInHigherClass(daysInHigherClass);
             return true;
         }else{
             return false;
         * @return the admissionDt
        private Date getHotelStayStartDt() {
         return this.hotelStayStartDt;
         * @param admissionDt
         *            the admissionDt to set
        private void setHotelStayStartDt(Date admissionDt) {
         this.hotelStayStartDt = admissionDt;
         * @return the dischargeDt
        private Date getHotelStayEndDt() {
         return this.hotelStayEndDt;
         * @param dischargeDt
         *            the dischargeDt to set
        private void setHotelStayEndDt(Date dischargeDt) {
         this.hotelStayEndDt = dischargeDt;
         * @return the isOverlappingOtherCcStays
        private boolean isOverlappingOtherCcStays() {
         return this.isSleepingAwayOverlapping;
         * @param isOverlappingOtherCcStays
         *            the isOverlappingOtherCcStays to set
        private void setOverlappingOtherCcStays(boolean isOverlappingOtherCcStays) {
         this.isSleepingAwayOverlapping = isOverlappingOtherCcStays;
         * @return the daysInLowerClass
        private int getDaysInLowerClass() {
         return this.daysInLowerClass;
         * @param daysInLowerClass
         *            the daysInLowerClass to set
        private void setDaysInLowerClass(int daysInLowerClass) {
         this.daysInLowerClass = daysInLowerClass;
         * @return the daysInHigherClass
        private int getDaysInHigherClass() {
         return this.daysInHigherClass;
         * @param daysInHigherClass
         *            the daysInHigherClass to set
        private void setDaysInHigherClass(int daysInHigherClass) {
         this.daysInHigherClass = daysInHigherClass;
         * @return the isSleepingAwayOverlapping
        private boolean isSleepingAwayOverlapping() {
         return this.isSleepingAwayOverlapping;
         * @param isSleepingAwayOverlapping
         *            the isSleepingAwayOverlapping to set
        private void setSleepingAwayOverlapping(boolean isSleepingAwayOverlapping) {
         this.isSleepingAwayOverlapping = isSleepingAwayOverlapping;
        @Override
        public String toString() {
         String rtn = "";
         SimpleDateFormat sdf = new SimpleDateFormat("dd/MMM/yyyy hh:mm");
         String inDt = sdf.format(getHotelStayStartDt());
         String outDt = sdf.format(getHotelStayEndDt());
         rtn = "ArrivalDt("
             + (inDt.isEmpty() ? "" : inDt) + ")\t,BookOutDt("
              + (outDt.isEmpty() ? "" : outDt) + ")\t,DaysInLowerClass ("
              + String.valueOf(getDaysInLowerClass())
              + ")\t,DaysInHigerClass ("
              + String.valueOf(getDaysInHigherClass()) + ")";
         return rtn;
        public int getLengthOfStay(Date hotelStayStartDt, Date hotelStayEndDt ){
         Calendar startDt = new GregorianCalendar();
         startDt.setTime(hotelStayStartDt);
         Calendar endDt = new GregorianCalendar();
         endDt.setTime(hotelStayEndDt);
         long startMill = startDt.getTimeInMillis();
         long endMill = endDt.getTimeInMillis();
         // Calculate difference in days
         // divided by (24 hours, 60 minutes, 60 seconds, 1000 milliseconds
         // casted as (int)
         return (int) ((endMill - startMill) / (24 * 60 * 60 * 1000));
        private boolean isValidStayDt(Date aDate) {
         SimpleDateFormat sdf = new SimpleDateFormat("dd/MMM/yyyy");
         Calendar minDt = new GregorianCalendar();
         Calendar maxDt = new GregorianCalendar();
         maxDt.add(Calendar.DATE, +1);
         try {
             minDt.setTime(sdf.parse("01/jan/1990"));
         } catch (ParseException e) {
             e.printStackTrace();
         if (aDate.after(minDt.getTime()) && aDate.before(maxDt.getTime())) {
             return true;
         } else {
             return false;
    }Edited by: www.jegue.net on Jul 17, 2010 11:31 AM

  • Sender receiver assignment - jump command not available

    Hi Experts,
    i want to create a sender receiver assignement between two queries. For several month i already tested the sender receiver assignemnt and it works, so i deleted the dummy. Now i tried to create a new assignment, but after i execute the sender query and make a right-click on a data cell, the appeared popup mirror does not have the entry "jump" or "goto" (i dont know the english name) to select the receiver query (there only appears the entry "properties").
    I maintenanced all necessary settings in the transaction RSBBS, in which i selected the sender query and created a receiver for the sender query.
    Are there any basic System settings, which could have been changed, since i tested it for several month?
    Thanks forward.

    Hi Experts,
    i want to create a sender receiver assignement between two queries. For several month i already tested the sender receiver assignemnt and it works, so i deleted the dummy. Now i tried to create a new assignment, but after i execute the sender query and make a right-click on a data cell, the appeared popup mirror does not have the entry "jump" or "goto" (i dont know the english name) to select the receiver query (there only appears the entry "properties").
    I maintenanced all necessary settings in the transaction RSBBS, in which i selected the sender query and created a receiver for the sender query.
    Are there any basic System settings, which could have been changed, since i tested it for several month?
    Thanks forward.

Maybe you are looking for