Seq Numbers

Hi,
I was wondering if there is an easy way to get a seq number column (1, 2, ....) for a select statement.
select empno, ename, 'seq' from emp
order by ename
==RESULTS==
empno ename seq
1234 John Smith 1
5678 Mary Smith 2
Thanks

Hmm, it works for me.
SQL> select empno, ename, dname, rownum seq
  2  from (select empno, ename, dname
  3        from   emp e,
  4               dept d
  5        where  e.deptno = d.deptno
  6        order by ename
  7  );
     EMPNO ENAME      DNAME                 SEQ
      7876 ADAMS      RESEARCH                1
      7499 ALLEN      SALES                   2
      7698 BLAKE      SALES                   3
      7782 CLARK      ACCOUNTING              4
      7902 FORD       RESEARCH                5
      7900 JAMES      SALES                   6
      7566 JONES      RESEARCH                7
      7839 KING       ACCOUNTING              8
      7654 MARTIN     SALES                   9
      7934 MILLER     ACCOUNTING             10
      7788 SCOTT      RESEARCH               11
      7369 SMITH      RESEARCH               12
      7844 TURNER     SALES                  13
      7521 WARD       SALES                  14
14 rows selected.

Similar Messages

  • Automatic seq numbering in Proj Defination

    Dear All,
    We are having 2 types of projects. Customer and Investment project.
    We are doing customer project against sales ord nou2026so in Proj definition we are putting Sale Orders number manually.
    Incase, of Investment Project there no sales order as such, since itu2019s for internal R&D purpose. Clint asking to make project definition for this Investment Project as sequential numbering. So that whenever user is creating new IM project he should get next sequential number as a project definition. i.e. we want to restrict the user from entering project definition manually in case of Investment Project and next number should come automatically.
    Let me know any user exist for this where we can do ABAP coding?? Or is there any other way in customizing???
    Best Regards,
    Pravin

    1) Set the profile option at application level AND responsibility level.
    2) Make sure your user level value for the profile is blank or set correctly.
    Sandeep Gandhi

  • IPhoto exports small number of photos to desktop or thunbdrive.  I'm unable to transfer a 360-photo album to thumbdrive so I tried fixes listed in other iPhoto SC letters.  I batch organized album files w/ seq. numbering. Works for small number files.

    What are the details about your computer and OS?

    Hi TD,
    I tried what you suggested on photos that were not exported in my previous attempts.  I found all orginal photo files within the folders that were associated with the specific days when the photos was taken.  That iPhoto action seems to work.  I had not previously tried that iPhoto command so learned something new.
    Do you have any other ideas of what to try?  Worse comes to worse, I could export 26 seperate folders of Exports from my iPhoto album on my hard drive and separately put them onto the thumb drive.  But, as you know, we have to BEAT the Apple software and computer.  I know that it becomes somewhat of an obsession. 
    Have a good day.

  • Updating table with seq

    Hi,
    Need some help..........Theres this history table with composite primary key having a record version number which is incremented everytime theres a modification on its parent table and records are inserted for the same instrument id. (one id = multiple version record number) and these two forms the composite key.......now we have to drop this key, add new column, which will be populated using a sequence....this sequence should be mapped to the instrument id so that there is no data modification for the existing data; later a primary key be applied to this new column with seq numbers. Please help.........
    Thanks in adv.....

    What is the problem in question?
    null

  • Select from table in group of columns and generate a sequence number

    I have to select data from a table in group of columns and generate a sequence for every group resetting the sequence to start from 1 onwards.
    For example:
    Data:
    Col1 Col2 Col3 Col4
    A NA KA 2009-08-13
    B NA KA 2009-08-13
    C NA KA 2009-08-13
    A NA KA 2009-08-13
    B NA KA 2009-08-13
    A NA KA 2009-08-13
    Expected output from Select Statement:
    Col1 Col2 Col3 Col4 Seq_No
    A NA KA 2009-08-13 1
    A NA KA 2009-08-13 2
    A NA KA 2009-08-13 3
    B NA KA 2009-08-13 1
    B NA KA 2009-08-13 2
    C NA KA 2009-08-13 1
    How can this be possible with a SELECT statement? Is it possible to assign seq numbers for a group of columns and reset it when it changes? In the above example, all columns form the key to generate the seq number
    I know it can be done using Stored procedures and that is how I am doing it now by introducing a temporary table.
    Can anyone help me in this regard? Please let me know if the question is vague to understand!
    Thanks,
    Nachi

    with t as(select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'C' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual)
    select t.*,row_number() over (partition by col1,col2,col3,col4 order by col1,col2,col3,col4) from tYou can replace partition by col1,col2,col3,col4 with only columns that you need for grouping condition
    and also order by you can just do on the column you need.

  • Error in inbound processing: EDI message - XML Gateway

    Hello!
    I've setup a DELFOR transaction in B2B and modified XML Gateway settings for internal delivery channel in order to send the message to EBS, but I'm getting weird errors in b2b.log. (XML Gateway in EBS is not setup yet, but it should't be an issue since incoming errors are handled in EBS, and I would just see an inbound transaction with processing errors in Transaction Monitor.)
    In the beginning of b2b.log I see this:
    2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryInternalDeliveryChannel
    2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryInternalDeliveryChannel
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound initialize
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 Obtaining inbound connection...
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound connect string: jdbc:oracle:thin:@server64.xa.si:1521:test2
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound username: apps
    2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:32 CEST 2009 inbound initialize exit
    2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2009.07.07 at 15:26:32:538: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
    After I copy the edi file to the incoming directory B2B starts processing the file:
    2009.07.07 at 15:30:01:878: Thread-10: B2B - (DEBUG)
    Protocol = File
    Version = 1.0
    Transport Header
    filename:00003442_23.CMS
    filesize:12345
    file_ext:CMS
    fullpath:C:\xa_endpoint\00003442_23.CMS
    timestamp:2009-07-06T16:14:29.393+01:00
    As I see in the log: B2B finds the trading partner and agreement and all looks fine. But later comes this:
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Enter
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to destination. protocol is XMLGateway Queues
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to XMLGW
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Converting B2B message to ECX message..
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Inbound - B2BtoECX - Enter
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 B2B Message -
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : COLLABORATION_NAME : null
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : ACTION_NAME : DELFOR
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE : DELFOR
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE_REVISION : D97A
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : SOURCE_NAME : tpartner
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DESTINATION_NAME : Xa d.d.
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : PAYLOAD : UNB+UNOA.............. edi message continues here
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : PAYLOAD : <?xml version="1.0" ?><Transaction-DELFOR............... xml continues here
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 ECX Message -
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry Could not deliver the message; exception message is null
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry No application side retry
    2009.07.07 at 15:30:06:081: Thread-9: B2B - (ERROR) Error -: AIP-50903: Message "0A14011912255682A58000003257C600-1" retry count is zero
         at oracle.tip.adapter.b2b.msgproc.MessageHandler.handleAppMessageRetry(MessageHandler.java:394)
         at oracle.tip.adapter.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:344)
         at oracle.tip.adapter.b2b.msgproc.Request.putMsg(Request.java:657)
         at oracle.tip.adapter.b2b.msgproc.Request.continueRequest(Request.java:481)
         at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:410)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Last message repeats once more and then:
    2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2009.07.07 at 15:30:06:096: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Enter
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Leave
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage setting seq numbers
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Call Incoming Request Processor
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Enter
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest TransportBindings created
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Create a Message Table Row for Request message with message state Continue Processing
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryExchangeProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryExchangeProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (ERROR) Error -: AIP-13115: Not in an active transaction
         at oracle.tip.repos.core.persistency.BaseObject.prologue(BaseObject.java:1408)
         at oracle.tip.repos.core.persistency.BaseObject.createObject(BaseObject.java:913)
         at oracle.tip.model.instance.DataStorage.create(DataStorage.java:794)
         at oracle.tip.adapter.b2b.message.MessageStorage.create(MessageStorage.java:145)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:953)
         at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:397)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage General Exception ERROR
    Error repeats a few times.
    Wire message stays in Processing status, Business message is errored and an exception message is created in ip_in_queue.
    Both remote and host delivery channels have retry set to 1. Agreement was re-deployed + all B2B restared, but the problem remained.
    Could anyone help with this? What could be wrong?
    Thanks in advance.
    Kind regards,
    Wanda
    PS. I've checked all threads that might have anything to do with this, but found nothing useful.

    Hi Anuj,
    thanks for taking the time to examine the file.
    Answers to your questions:
    1. Yes, this is the 1st time for B2B, but the EBS I'm trying to connect to is up and running for approx. 2 years (it's a test instance).
    2. Patching was done by the customer's sysadmin, so I don't really have an overview on what and how he did. Result of opatch:
    Installed Patch List:
    =====================
    1) Patch 8298731 applied on Sat Jun 13 09:23:42 CEST 2009
    2) Patch 5907304 applied on Thu Jul 17 14:26:55 CEST 2008
    3. In theory the sysadmin should have run it, but how could I double-check this?
    I know he had problems while applying patch 8298731, but he said it was solved later. (Customer is using windows os, which is making a lot of troubles otherwise.)
    Regarding IDC log there is no success. I've restared B2B at least 5 times plus once the database, but still nothing. In tip.properties:
    oracle.tip.adapter.b2b.transportTrace = C:\APPS\OAS\ip\log/transport.trc
    also I tried the following values:
    C:\\APPS\\OAS\\ip\\log/transport.trc (since there is a similar entry: oracle.tip.LogDirectory = C:\\APPS\\OAS\\ip\\log)
    C:\\\\\\\\\\\\\\\\APPS\\\\\\\\\\\\\\\\OAS\\\\\\\\\\\\\\\\ip\\\\\\\\\\\\\\\\log/transport.trc (this was commented before; maybe it comes from some default)
    true (I had no other idea)
    Result is the same for all the cases: b2b_idc_transport.log file is 0 bytes, but b2b_dc_transport.log has initial data+writes log when processing.
    If I remove or comment the above line from tip.properties, then no transport log files are created.
    I've updated the agreement to have B2B inbound for the internal delivery channel, re-deployed it and it worked fine -> transaction(s) appeared in IP_IN_QUEUE.
    Changing it back to XML Gateway (and re-deploying) causes all original problems.
    Regards,
    Wanda

  • Payload issue

    B2B Gurus,
    For the below payload I am facing the below errror could any one explain me with exact error please.
    ISA|00| |00| |ZZ|EMR874 |ZZ|EMR |100831|1055|<|00502|000000002|0|P|>~GS|PO|EMR874|EMR|20100831|1055|2|X|005020~ST|850|1 ~BEG|00|SA|8744500118779||20100831||NA||||03~CUR|BY|USD~REF|06||4500118779~FOB|CC|||01|DDU|||SE|INCO2000 DDU~ITD||||||||||||5TH 3RD PROX~N1|VN|Plexus Manufacturing Sdn Bhd|93|8740000104331~N3|Phase IV, Bayan Lepas~N4|Penang||11900|MY|93|AVCT-HUNTSVILLE~N1|BT|Avocent Huntsville Corporation|93|1110~N3|4991 Corporate Drive~N4|HUNTSVILLE||35805|US|93|AVCT-HUNTSVILLE|AL~PO1|00010|50|EA|9.64|PE|SW|570-1334-501~PID|F||||MECH CHASSIS S.S. ALKI 2 X 16~N1|ST|Avocent Corporation|93|1000~N3|4991 Corporate Dr~N4|HUNTSVILLE||35805|US|93||AL~SCH|50|EA|||112|20100917||||||0001~N9|ZZ|1~N9|ZZ|2~N9|ZZ|3~N9|ZZ|4~N9|ZZ|5~N9|ZZ|6~N9|ZZ|7~N9|ZZ|8~N9|ZZ|9~N9|ZZ|10~N9|ZZ|11~N9|ZZ|12~N9|ZZ|13~N9|ZZ|14~N9|ZZ|15~N9|ZZ|16~N9|ZZ|17~N9|ZZ|18~CTT|1~SE|38|1 ~GE|1|2~IEA|1|000000002~
    2010.09.14 at 07:48:05:397: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = TPName
    2010.09.14 at 07:48:05:400: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = AVOCENT
    2010.09.14 at 07:48:05:403: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Enter
    2010.09.14 at 07:48:05:405: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit NodeGUID = {82CB6068-D4BF-DF11-8EE7-00212834773C} position = 0
    2010.09.14 at 07:48:05:408: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Leave
    2010.09.14 at 07:48:05:584: Thread-14: B2B - (DEBUG) iAudit report :
    Error Brief :
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5034: Validator error - Extra data was encountered.
    5069: The values are not equal.
    2010.09.14 at 07:48:05:594: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:599: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 19{br}{tab}Character: 727 through 734
    2010.09.14 at 07:48:05:602: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:605: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument added Hash Key = {82CB6068-D4BF-DF11-8EE7-00212834773C}
    2010.09.14 at 07:48:05:608: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument Error Scope = Transaction
    2010.09.14 at 07:48:05:613: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:616: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 20{br}{tab}Character: 735 through 742
    2010.09.14 at 07:48:05:618: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:624: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:626: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 21{br}{tab}Character: 743 through 750
    2010.09.14 at 07:48:05:629: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:634: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:637: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 22{br}{tab}Character: 751 through 758
    2010.09.14 at 07:48:05:639: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:646: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:649: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 23{br}{tab}Character: 759 through 766
    2010.09.14 at 07:48:05:652: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:657: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:660: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 24{br}{tab}Character: 767 through 774
    2010.09.14 at 07:48:05:662: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:668: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:671: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 25{br}{tab}Character: 775 through 782
    2010.09.14 at 07:48:05:673: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:679: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:682: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 26{br}{tab}Character: 783 through 790
    2010.09.14 at 07:48:05:684: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:690: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:693: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 27{br}{tab}Character: 791 through 798
    2010.09.14 at 07:48:05:695: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:701: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:704: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 28{br}{tab}Character: 799 through 807
    2010.09.14 at 07:48:05:706: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:712: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:714: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 29{br}{tab}Character: 808 through 816
    2010.09.14 at 07:48:05:716: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:722: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:725: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 30{br}{tab}Character: 817 through 825
    2010.09.14 at 07:48:05:728: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:733: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:735: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 31{br}{tab}Character: 826 through 834
    2010.09.14 at 07:48:05:737: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:743: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:745: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 32{br}{tab}Character: 835 through 843
    2010.09.14 at 07:48:05:748: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:753: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:756: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 33{br}{tab}Character: 844 through 852
    2010.09.14 at 07:48:05:759: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:764: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:767: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 34{br}{tab}Character: 853 through 861
    2010.09.14 at 07:48:05:771: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:776: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:778: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 35{br}{tab}Character: 862 through 870
    2010.09.14 at 07:48:05:781: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:786: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {7A0C601B-7DD8-44D7-8B0F-134082EC4BF8}
    2010.09.14 at 07:48:05:789: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 36{br}{tab}Character: 871 through 879
    2010.09.14 at 07:48:05:791: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5034: Validator error - Extra data was encountered.
    2010.09.14 at 07:48:05:797: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sErrorGuid = {E9F41E66-422A-4BFE-AAFC-2D77A3033859}
    2010.09.14 at 07:48:05:799: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sDescription = The number of accurate/analyzed segments in your file is 20. Number of included segments (SE01) has a value of '38'. Please review the specification and re-submit a test.{br}{br}This error was detected at:{br}{tab}Segment Count: 38{br}{tab}Element Position: 1{br}{tab}Character: 889 through 891
    2010.09.14 at 07:48:05:802: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument sBrDescription = 5069: The values are not equal.
    2010.09.14 at 07:48:05:810: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processIncomingDocument exit
    2010.09.14 at 07:48:05:813: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage setting seq numbers
    2010.09.14 at 07:48:05:816: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Call Incoming Request Processor
    2010.09.14 at 07:48:05:818: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Enter
    2010.09.14 at 07:48:05:821: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest TransportBindings created
    2010.09.14 at 07:48:05:824: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Create a Message Table Row for Request message with message state Continue Processing
    2010.09.14 at 07:48:05:827: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2010.09.14 at 07:48:05:838: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name Emerson
    2010.09.14 at 07:48:05:840: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value AS2 IdentifierEMRSN
    2010.09.14 at 07:48:05:860: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name Process_X12_5020_850 BusinessAction_1579
    2010.09.14 at 07:48:05:882: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2010.09.14 at 07:48:05:914: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = [email protected]500
    2010.09.14 at 07:48:05:916: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2010.09.14 at 07:48:05:924: Thread-14: B2B - (DEBUG) Engine:notifyApp Enter
    2010.09.14 at 07:48:05:949: Thread-14: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>0A10482B12B0F37063500000E9C2A700-1</b2bMessageId>
    <errorCode>AIP-51505</errorCode>
    <errorText>5034: Validator error - Extra data was encountered.</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (usstlz-pinfwi25.dev.emrsn.org)
    Unrecognized data found in the data file as part of Loop N1. Last known segment was SCH at guideline position 4150.{br}{br}This error was detected at:{br}{tab}Segment Count: 19{br}{tab}Character: 727 through 734 ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    <errorDetails>
    <parameter name="GroupReceiverID" value="EMR"/>
    <parameter name="TransactionImplementationReference" value=""/>
    <parameter name="Size" value="749"/>
    <parameter name="TransactionChildCount" value="38"/>
    <parameter name="InterchangeReceiverQual" value="ZZ"/>
    <parameter name="InterchangeChildCount" value="1"/>
    <parameter name="InterchangeControlVersion" value="00502"/>
    <parameter name="GroupID" value="PO"/>
    <parameter name="SubelementDelimiter" value=">"/>
    <parameter name="InterchangeSenderQual" value="ZZ"/>
    <parameter name="InterchangeUsageIndicator" value="P"/>
    <parameter name="GroupChildCount" value="1"/>
    <parameter name="InterchangeSenderID" value="EMR874 "/>
    <parameter name="InterchangeControlNumber" value="000000002"/>
    <parameter name="InterchangeTime" value="1055"/>
    <parameter name="RepeatingSeparator" value="<"/>
    <parameter name="ErrorScope" value="Transaction"/>
    <parameter name="GroupVersionNumber" value="005020"/>
    <parameter name="InterchangeDate" value="100831"/>
    <parameter name="TransactionTrailerControlNumber" value="1 "/>
    <parameter name="InterchangeAuthorizationInfoQual" value="00"/>
    <parameter name="GroupSenderID" value="EMR874"/>
    <parameter name="InterchangeAuthorizationInfo" value=" "/>
    <parameter name="GroupTrailerControlNumber" value="2"/>
    <parameter name="InterchangeTrailerControlNumber" value="000000002"/>
    <parameter name="SegmentDelimiter" value="~"/>
    <parameter name="InterchangeControlStandard_RepeatingSeparator" value="<"/>
    <parameter name="TransactionID" value="850"/>
    <parameter name="GroupControlNumber" value="2"/>
    <parameter name="InterchangeComponentElementSep" value=">"/>
    <parameter name="InterchangeSecurityInfo" value=" "/>
    <parameter name="DecimalSeparator" value=""/>
    <parameter name="GroupAgencyCode" value="X"/>
    <parameter name="InterchangeSecurityInfoQual" value="00"/>
    <parameter name="InterchangeReceiverID" value="EMR "/>
    <parameter name="ReleaseCharacter" value=""/>
    <parameter name="GroupTime" value="1055"/>
    <parameter name="TransactionControlNumber" value="1 "/>
    <parameter name="GroupDate" value="20100831"/>
    <parameter name="InterchangeAckRequested" value="0"/>
    <parameter name="ElementDelimiter" value="|"/>
    </errorDetails>
    </Exception>
    2010.09.14 at 07:48:06:005: Thread-14: B2B - (DEBUG) Engine:notifyApp Exit
    2010.09.14 at 07:48:06:009: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Exit
    2010.09.14 at 07:48:06:011: Thread-14: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.09.14 at 07:48:06:013: Thread-14: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.09.14 at 07:48:06:016: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck Enter
    2010.09.14 at 07:48:06:018: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck Document exchange Post Validation done
    2010.09.14 at 07:48:06:021: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck ackLevel = 1
    2010.09.14 at 07:48:06:025: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck Update the Message Table Row for Request message with message state Wait for ACK
    2010.09.14 at 07:48:06:038: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck AckMode = 0
    2010.09.14 at 07:48:06:040: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck There is no ACK
    2010.09.14 at 07:48:06:042: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck WireMessage: WireMessage_D8F8
    2010.09.14 at 07:48:06:057: Thread-14: B2B - (DEBUG) AccessRepo:findBusinessMessageByB2BMessageId Found Successfull message with B2bMessageId : 0A10482B12B0F37063500000E9C2A700-1 and ProtocolMessageId null
    2010.09.14 at 07:48:06:067: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateCompleteOrErrorMsgState() Enter
    2010.09.14 at 07:48:06:069: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateCompleteOrErrorMsgState wMsg state: Complete
    2010.09.14 at 07:48:06:080: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateCompleteOrErrorMsgState bizMsg # 1
    2010.09.14 at 07:48:06:085: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateCompleteOrErrorMsgState bizMsg state: Error
    2010.09.14 at 07:48:06:087: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateCompleteOrErrorMsgState(B2BContext,WireMessage,int) Exit
    2010.09.14 at 07:48:06:090: Thread-14: B2B - (DEBUG) DBContext commit: Enter
    2010.09.14 at 07:48:06:099: Thread-14: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2010.09.14 at 07:48:06:101: Thread-14: B2B - (DEBUG) DBContext commit: Leave
    2010.09.14 at 07:48:06:104: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:handleAck Exit
    2010.09.14 at 07:48:06:106: Thread-14: B2B - (DEBUG) DBContext commit: Enter
    2010.09.14 at 07:48:06:108: Thread-14: B2B - (DEBUG) DBContext commit: Leave
    2010.09.14 at 07:48:06:111: Thread-14: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage:
    ***** REQUEST MESSAGE *****
    Exchange Protocol: Generic Version 1.0
    Transport Protocol: FTP
    Unique Message ID: [email protected]500
    Trading Partner: EMRSN
    Message Signed: No
    Payload encrypted: No
    Attachment: None
    ***** REQUEST MESSAGE *****
    reg
    raj

    Hi Raj,
    Looks like , issue is in validation of payload.
    Please validate payload against the ecs using document editor.
    Regards,
    Nitesh Jain

  • Inbound processing is not happening for XMG integration

    Currently our project deals with B2B and XMG integration
    We are able to send outbound messages to B2B from XMG successfully.
    For Inbound messages
    1. B2B is picking up payload
    2. Identifying Agreement
    3. Decrypting and verifies digital signature
    but could not deliver the message to ECX_INQUEUE
    Log
    ====
    2008.02.06 at 07:04:32:292: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression Enter
    2008.02.06 at 07:04:32:293: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression idexp = /*[local-name()='envelope']/*[local-name()='itemSyncResponse']
    2008.02.06 at 07:04:32:293: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:getIdentificationExpression Exit
    2008.02.06 at 07:04:32:307: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:processIncomingDocument Exit
    2008.02.06 at 07:04:32:308: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage setting seq numbers
    2008.02.06 at 07:04:32:308: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Call Incoming Request Processor
    2008.02.06 at 07:04:32:308: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Enter
    2008.02.06 at 07:04:32:309: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest TransportBindings created
    2008.02.06 at 07:04:32:309: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Create a Message Table Row for Request message with message state Continue Processing
    2008.02.06 at 07:04:32:309: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2008.02.06 at 07:04:32:312: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:312: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryExchangeProtocolRevision
    2008.02.06 at 07:04:32:316: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryExchangeProtocolRevision
    2008.02.06 at 07:04:32:316: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:317: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentProtocolRevision
    2008.02.06 at 07:04:32:319: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentProtocolRevision
    2008.02.06 at 07:04:32:322: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:322: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2008.02.06 at 07:04:32:327: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2008.02.06 at 07:04:32:333: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name Oracle Development
    2008.02.06 at 07:04:32:333: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value AS2 Identifier0060974050142
    2008.02.06 at 07:04:32:334: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:334: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryTradingPartnerIdentificationType
    2008.02.06 at 07:04:32:336: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryTradingPartnerIdentificationType
    2008.02.06 at 07:04:32:337: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:364: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createBusinessMessageReceiverInter
    2008.02.06 at 07:04:32:367: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createBusinessMessageReceiverInter
    2008.02.06 at 07:04:32:367: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2008.02.06 at 07:04:32:373: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:374: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2008.02.06 at 07:04:32:377: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2008.02.06 at 07:04:32:381: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = <[email protected]_te>
    2008.02.06 at 07:04:32:382: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2008.02.06 at 07:04:32:383: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:383: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: updateWireMessage
    2008.02.06 at 07:04:32:387: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: updateWireMessage
    2008.02.06 at 07:04:32:387: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:continueRequest Collaboration Control not required ..continuing Request processing
    2008.02.06 at 07:04:32:388: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Enter
    2008.02.06 at 07:04:32:388: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to destination. protocol is XMLGateway Queues
    2008.02.06 at 07:04:32:388: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to XMLGW2008.02.06 at 07:04:32:389: Thread-10: B2B - (DEBUG) : Wed Feb 06 07:04:32 PST 2008 Converting B2B message to ECX message..
    2008.02.06 at 07:04:32:389: Thread-10: B2B - (DEBUG) : Wed Feb 06 07:04:32 PST 2008 Inbound - B2BtoECX - Enter
    2008.02.06 at 07:04:32:389: Thread-10: B2B - (DEBUG) : Wed Feb 06 07:04:32 PST 2008 B2B Message -2008.02.06 at 07:04:32:389: Thread-10: B2B - (DEBUG) : COLLABORATION_NAME : null2008.02.06 at 07:04:32:390: Thread-10: B2B - (DEBUG) : ACTION_NAME : M4U_SRC_ITEM_SYNC_RESP
    2008.02.06 at 07:04:32:390: Thread-10: B2B - (DEBUG) : DOCUMENT_TYPE : M4U_SRC_ITEM_SYNC_RESP
    2008.02.06 at 07:04:32:390: Thread-10: B2B - (DEBUG) : DOCUMENT_TYPE_REVISION : 1.0
    2008.02.06 at 07:04:32:390: Thread-10: B2B - (DEBUG) : SOURCE_NAME : 1Sync-AS2
    2008.02.06 at 07:04:32:391: Thread-10: B2B - (DEBUG) : DESTINATION_NAME : Oracle Development
    2008.02.06 at 07:04:32:392: Thread-10: B2B - (DEBUG) : PAYLOAD : <Payload Goes Here>
    2008.02.06 at 07:04:32:393: Thread-10: B2B - (DEBUG) : Wed Feb 06 07:04:32 PST 2008 ECX Message -
    2008.02.06 at 07:04:32:393: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry Could not deliver the message; exception message is null2008.02.06 at 07:04:32:393: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry No application side retry
    2008.02.06 at 07:04:32:617: Thread-10: B2B - (ERROR) Error -: AIP-50903: Message "8C57CE13117EF46D5340000013A02150-1" retry count is zero
    at oracle.tip.adapter.b2b.msgproc.MessageHandler.handleAppMessageRetry(MessageHandler.java:325)
    at oracle.tip.adapter.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:275)
    at oracle.tip.adapter.b2b.msgproc.Request.putMsg(Request.java:589)
    at oracle.tip.adapter.b2b.msgproc.Request.continueRequest(Request.java:428)
    at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:357)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1693)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2007)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1939)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1897)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:463)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:335)
    at java.lang.Thread.run(Thread.java:595)
    2008.02.06 at 07:04:32:618: Thread-10: B2B - (ERROR) Error -: AIP-50903: Message "8C57CE13117EF46D5340000013A02150-1" retry count is zero
    at oracle.tip.adapter.b2b.msgproc.MessageHandler.handleAppMessageRetry(MessageHandler.java:325)
    at oracle.tip.adapter.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:275)
    at oracle.tip.adapter.b2b.msgproc.Request.putMsg(Request.java:589)
    at oracle.tip.adapter.b2b.msgproc.Request.continueRequest(Request.java:428)
    at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:357)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1693)
    at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2007)
    at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1939)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1897)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:463)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:335)
    at java.lang.Thread.run(Thread.java:595)
    2008.02.06 at 07:04:32:621: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2008.02.06 at 07:04:32:621: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2008.02.06 at 07:04:32:626: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2008.02.06 at 07:04:32:627: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Exit
    2008.02.06 at 07:04:32:627: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
    2008.02.06 at 07:04:32:627: Thread-10: B2B - (DEBUG) Engine:notifyApp Enter
    2008.02.06 at 07:04:32:630: Thread-10: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>8C57CE13117EF46D5340000013A02150-1</b2bMessageId>
    <errorCode>AIP-50903</errorCode>
    <errorText>Message "8C57CE13117EF46D5340000013A02150-1" retry count is zero</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (ap6003idmz.us.oracle.com)^M
    Message "8C57CE13117EF46D5340000013A02150-1" retry count is zero  ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    Following doc - protocol parameters are set for failed message
    =================================================
    Identification Expression (XPath) for XML Document : /*[local-name()='envelope']/*[local-name()='itemSyncResponse']
    Document Routing ID : b2buser1
    Inbound Process Type : M4U_SRC
    Inbound Process Subtype : ITEM_SYNC_RESPONSE
    Outbound Process Type : M4U_SRC
    Outbound Process Subtype : ITEM_SYNC_RESPONSE
    Inbound Party Code : Internal
    DTD/XSD Namespace Conversion :NONE
    Please advise us.
    Thanks
    Praveen

    Hello,
    Plese make sure that the ECX queues are present and are appropriately refferred from the Delivery Channel in B2B UI. I will request one of my team memeber to work with you if the issue still persists.
    Rgds,Ramesh

  • Voucher Number for Manual Invocies Only

    Hi All,
    I want to create Voucher Number to AP Manual Invoices Only in R12.1.3
    Can anyone able to help me
    Thanks in Advance
    Regards,
    Roopa

    Hi Roopa,
    can you please elaborate more.
    you can use sequencial numbering option as i am using it in version 12.1.3 for ap voucher numbering.
    1. go to system administrator
    2. go to aplication
    3. go to seq. numbering.
    4. create sequence from define window , check the message box to display message.
    5. assign the created sequence to 'Standard Invoice' application Payable from assign window.
    then try to book AP invoice . before this set the profile option Squencial numbering on partial use.
    regards,
    parimal

  • Making a jtable auto updates itself from a mysql table

    Pretty much what the title says. How can i auto update the jtable for every time my mysql table is updated in anyway? i am implementing this auto update function in my admin program which displays a list of users who are online etc. from the moment a user is offline/online or changes other details displayed in my jtable, i want it to auto update the jtable as soon as the actual mysql table has been updated with new data...
    I was thinking of re doing the whole jtable i made and create a thread for that table that has a infinite while loop that keeps repainting the jtable with the new updated data from a mysql table query eg select * from table and store the data into a resultset which then gets transferred into a vector. Load the vector into the jtbale and their ya go�.
    what you think of this approach? Is their a better way to do this?
    at the moment, as soon as my application opens, the jtable views all the data from my sql table, however if it doesnt auto updates itself, cheers

    i am implementing this auto update
    function in my admin program which displays a list of
    users who are online etc. from the moment a user is
    offline/online or changes other details displayed in
    my jtable, i want it to auto update the jtable as
    soon as the actual mysql table has been updated with
    new data...Well you can make some changes to make implementation easy
    Ex: Create a table to keep a log of the changes in the system the dmin program read the log and replicate the changes as specified in the log on the table model.
    When reading the log the admin program keep track of the sequence no of the last read log entry and it reads ony the entries which has larger seq numbers than the last read seq no
    I dont think that it is critical to make this to be cloase to real time. An Update once a 1 or 2 secs should be sufficient.

  • Sequence Generator problem in OWB Mapping

    Hi,
    I am using a Sequence Generator in my Dimension mapping. And OWB implements the mapping via an Oracle MERGE statement.
    However when I execute the mapping my sequence number value gets incremented even when there are only updates and no inserts taking place during the execution.
    I am using the sequence number only for inserts and not for updates in the mapping.
    Is there a way to avoid this situation or a work around to this problem? This is very urgent and any help in this area would be greatly appreciated.
    Thanks

    Hi
    I also have the same problem as I loose the seq numbers when there are updates only and I do not want to loose thousands of seq numbers. I tried with bulk size =1 as well as row based only execution but no result.
    The thing which solved this problem is to have outer join with source and target, then use splitter to find out new and updated records (by looking the join key as null on target table side), then use a fuction to generate seq number when the key is not null. But doing all this does not seem to be elegant performance point of you. I do not want to join source and target due to performance issues.
    Could you pl clrify your apprach. Are you using , Source minus target and Source Intersect Target . What you will do if there is no one to one matching between source and the target.
    Thanks

  • Parameters input when creating a module/report

    Hello :-)
    Im trying to create a Generic Process Module, im using a report i have made in oracle reports (RDF) it will output a pdf (R60)
    But i have a parameter input on my RDF
    I dont know how to setup up the Parameters in the Generic module setup.....its askin for seq numbers??
    Please help?!

    Yes as i stated above i have created a report in oracle reports RDF, i know what what the extension means!!!
    But im trying to create a generic module process in oracle9 DATABASE, which i would like it to run the rdf as a generic module process....i have done this before with sql reports, but i need help with the sequnce number!!

  • Pivoting Query

    Hi,
    I need help with a pivoting query. My sample data is given below
    declare @temp table (ID int, SEQ_NBR int, VAL nvarchar(100))
    insert INTO @temp VALUES (100, 1, 'Alpha')
    insert INTO @temp VALUES (100, 2, 'Bravo')
    insert INTO @temp VALUES (100, 3, 'Charlie')
    insert INTO @temp VALUES (100, 4, 'Delta')
    insert INTO @temp VALUES (100, 6, 'Echo')
    insert INTO @temp VALUES (100, 8, 'Foxtrot')
    insert INTO @temp VALUES (100, 10, 'Golf')
    insert INTO @temp VALUES (100, 15, 'Hotel')
    insert INTO @temp VALUES (200, 1, 'Indigo')
    insert INTO @temp VALUES (200, 2, 'Juliet')
    insert INTO @temp VALUES (200, 3, 'Kilo')
    insert INTO @temp VALUES (200, 4, 'Lima')
    insert INTO @temp VALUES (200, 9, 'Mike')
    insert INTO @temp VALUES (200, 12, 'November')
    insert INTO @temp VALUES (200, 14, 'Oscar')
    insert INTO @temp VALUES (200, 17, 'Papa')
    The maximum seq numbers will be 20 in this case. My expected output is:
    Thanks in advance.

    Try the following
    declare @temp table (ID int, SEQ_NBR int, VAL nvarchar(100))
    insert INTO @temp VALUES (100, 1, 'Alpha')
    insert INTO @temp VALUES (100, 2, 'Bravo')
    insert INTO @temp VALUES (100, 3, 'Charlie')
    insert INTO @temp VALUES (100, 4, 'Delta')
    insert INTO @temp VALUES (100, 6, 'Echo')
    insert INTO @temp VALUES (100, 8, 'Foxtrot')
    insert INTO @temp VALUES (100, 10, 'Golf')
    insert INTO @temp VALUES (100, 15, 'Hotel')
    insert INTO @temp VALUES (200, 1, 'Indigo')
    insert INTO @temp VALUES (200, 2, 'Juliet')
    insert INTO @temp VALUES (200, 3, 'Kilo')
    insert INTO @temp VALUES (200, 4, 'Lima')
    insert INTO @temp VALUES (200, 9, 'Mike')
    insert INTO @temp VALUES (200, 12, 'November')
    insert INTO @temp VALUES (200, 14, 'Oscar')
    insert INTO @temp VALUES (200, 17, 'Papa')
    SELECT ID
    ,ISNULL([1],'') SEQ_NBR_1_NM,ISNULL([2],'') SEQ_NBR_2_NM,ISNULL([3],'') SEQ_NBR_3_NM,ISNULL([4],'') SEQ_NBR_4_NM,ISNULL([5],'') SEQ_NBR_5_NM
    ,ISNULL([6],'') SEQ_NBR_6_NM,ISNULL([7],'') SEQ_NBR_7_NM,ISNULL([8],'') SEQ_NBR_8_NM,ISNULL([9],'') SEQ_NBR_9_NM,ISNULL([10],'') SEQ_NBR_10_NM
    ,ISNULL([11],'') SEQ_NBR_11_NM,ISNULL([12],'') SEQ_NBR_12_NM,ISNULL([13],'') SEQ_NBR_13_NM,ISNULL([14],'') SEQ_NBR_14_NM,ISNULL([15],'') SEQ_NBR_15_NM
    ,ISNULL([16],'') SEQ_NBR_16_NM,ISNULL([17],'') SEQ_NBR_17_NM,ISNULL([18],'') SEQ_NBR_18_NM,ISNULL([19],'') SEQ_NBR_19_NM,ISNULL([20],'') SEQ_NBR_20_NM
    FROM @temp
    PIVOT(MAX(VAL) FOR SEQ_NBR IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12],[13],[14],[15],[16],[17],[18],[19],[20])) AS MAXTBL

  • Master Detail Auto Insert

    Hi:
    I have a SQL report from which I use a link on the ID. When user click's on the ID a Master Detail form shows all the Master and Detail Rows. Working Fine.
    Problem: I need to create new Master detail records.
    My Approach: I have created a menu item using the same link as used in the report to take the user into the same MD form for doing the Data Entry.
    What I am trying to do is before doing the query check for the parameter coming into the form, If the parameter is blank then call a procedure which creates the master and detail records using seq. number and returns the seq back to the calling procedure. Then pass the returned number into the parameter and let the form keep doing what it wanted to do.
    I don't know what is the paramter names or values to check for. If anyone has any syntax examples or any other ideas to work around this then the help will be greatly appriciated.
    It will be really cool if I don't have to call the procedure until the user hits the save button that way I won't loose any seq. numbers
    Thanks

    To get the list of parameters you should go to component management screen, then click on "Show call interface" link, it will show the complete list of parameter MD form accepts. But you can only link to the master section of MD forms.
    Second, you still will be losing sequence numbers regardless of form behavior, a better solution is to keep a separate table holding the last number and populate the key field via trigger.

  • TCP Read/Write

    Hi,
    How TCPread and TCPWrite VIs work?
    Does TCPread VI send Ack after receiving the  data? And does TCP send VI wait for the Ack for sending the next packet?
    Or those Acks should be handled outside the VIs?
     Do they handle Ack number and seq numbers?While sending, what Ack and Seq Numbers TCPWrite use? Is it from recently received packet?

    Your interaction with the TCP primitives is on the application layer, so you have no option of handling the TCP implementation details. I'm not even sure whether LV or the operating system is the one responsible for handling the TCP implementation, but in any case, you should not have to worry about it. You can have a look at the TCP examples in the example finder to see how it works. If you have a specific problem, supply more details.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

Maybe you are looking for

  • Got a few problems  but all connected with the shuffle

    I got a 1gb Ipod shuffle and I have fully formatted it and charged it. Iv installed all the up to date software for the Ipod and fully updated with Itunes. here is the problem! Ipod pluged into USB, start Itunes then add some music files into my libu

  • G6 Experience Definition Editor won't open

    Hi, Following an upgrade from 5.0.4 Windows/Java to G6 on Solaris/Tomcat, the Experience Definition Editor won't start. It spews a bunch of errors, but I think this one is the root cause: 3-20-2006       14:53:56.928    Warning OpenKernel.OpenHttp.Co

  • IPod touch 4G - icons went blank

    Several of the icons on my son's iPod touch went blank yesterday. The apps still seem to work, but the icons are now solid white. The name of the app is still directly below each blanked icon. I don't think any of the native iOS apps have gone blank.

  • Safari will not load any website

    Hi all Safari (7.0.2)  stopped working on my MacBook pro. It won't load any website, but Firefox works fine! I have tried resetting safari, but it did not help me. Just stops as shown below.

  • Sales bom usage

    can some one explain me where sales bom is uned. is there any  chance  where we can use it in a production process.