Edi sequential convoy aggregation missing first message in output

Hi I am getting EDI batch in inbound and I need to create equivalent xml batch in output, so I am using aggregate pattern with convoy. When I run it I always see one message missing in output. Say if I run file of 3 transactions  I will get only 2 messages
in output first message will not be there. If I run 2 transaction file , again I will missing fist one.Can anybody suggest what could be problem

Crossover with this thread:
http://social.msdn.microsoft.com/Forums/en-US/237fa016-80b4-4663-91e2-1dbe973eb9c9/getting-count-of-st-segment-in-edi?forum=biztalkgeneral
You need to move your app logic outside and before the Listen Shape.
The Listen Shape must be the last thing in the Loop where you either Receive another Message or timeout. If you Receive another Message, you Loop back and run your logic. If the Delay fires, exit the Loop.

Similar Messages

  • Problem when handling multiple messages using sequential convoy

    Hi Guys,
    We receive two files from FTP server. One is Order file and other one is notes file which is optional one. If the note flag in order file is 1 then we should process notes file as well. Here we implemented sequential convoy and it was working fine when we
    receive order file first and then notes file. it is throwing error when we receive notes file first as we set initialize correlation for Order file.  Please share your ideas what to do when we receive notes file first than order file?. Thanks!!

    Hi,
    i added debug points and ran it. i dropped one order file and one note file but it is initializing active instance for both order and note files. Here is the order of logs.
    Initialized Order
    Initialized Note
    followed Note

  • Sequential Convoy and Long running transaction: Messages still referenced

    Hi everyone<o:p></o:p>
    Being a BizTalk developer since 2006, this thing still stumps me.<o:p></o:p>
    I have a sequential convoy singleton orchestration that debatches messages using a rcvPipeline. The orchestration is needed in a FIFO scenario. In order to execute a rcvPipeline
    within an orchestration I need to encapsulate it within an atomic transaction scope. <o:p></o:p>
    In order to have an atomic scope the orchestration needs to be long running. I have also encapsulated the atomic transaction within a scope (using long running transactions) to have
    exception handling.
    <o:p></o:p>
    Everything works fine except for one major detail:
    When the orchestration executes the messages are still in the messagebox. I can even click on the orchestration instance in the MGMT console and look at the message! Tracking is disabled for the receive port as well as for the orchestration. Still, the messages
    does not get cleaned up.
    <o:p></o:p>
    I have set my DTA-purge to 1 hour and it works fine, but the messages are still in the orchestration.<o:p></o:p>
    My guess is that the long running transactions does not complete (although it looks like they should) and since the transaction is not completed the messages are not removed from
    the message box.
    So, to summarize: Is it possible to combine long running transactions and a singleton orchestration?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

    So after a day of looking for the solution it is quite clear that you are right in that the atomic transaction does not commit. I added a compensation block with trace info and it is never hit.
    I also experimented with Isolation level on the atomic transaction and that did nothing.
    Lastly I also made the sendport direct bound and also tried "specify later binding" to a physical port.
    The messages are still being referenced by the orchestration! What can I do to make the atomic transation commit?
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

  • Sequential convoy scinario ,example and steps

    Hi all,
    I Am trying to implement sequential convoy for my knowledge.
    1-in which scenario I will use sequential convoy please give me an example(as i know that if we want to execute a process in predefined steps then we will follow sequential convoy).
    2-how we will implement this in our application ? what are the steps..
    Below are the steps which I am following for creating my test application
    a) created 4 schema
         1-firstname schema (id,fname)
         2-lastname schema (id,lname)
         3-Property schema(id) for corelation
         4-output schema (id,fullname)
    b)Orchestaion
    i have created 3 message.
    msgFname,msgLname,msgFullname.
    in designing of orchestation
    first draged a recive shape with activate ="true" and message type is "msgFname"  initialize corelation here
    draged a recive shape below the first recive shape with activate ="false" and message type is "msgLname" will following corelation here
    will do mapping with final output msg (msgfullname).and will send final output.
    while i m deploying application I m getting error
    "in a sequential convoy the ports must be identical"
    Please help me to overcome from this issue.
    Thanks
    Manoj Ruwali

    Hi
    Please check below few links about sequential convoy, I am sure they will be useful.
    http://abdulrafaysbiztalk.wordpress.com/2009/11/07/enterprise-integration-pattern-part-5-aggregator-sequential-convoy/ 
    http://msdn.microsoft.com/en-us/library/aa561843.aspx 
    http://msdn.microsoft.com/en-us/library/ms942189(v=bts.10).aspx 
    HTH,
    Naushad Alam
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or
    Mark As Answer
    alamnaushad.wordpress.com
    My new TechNet Wiki
    "BizTalk Server: Performance Tuning & Optimization"

  • Sequential convoy issue

    I have an issue with an orchestration.
     I am using WCF-SQL receive adapter to poll some records. I splitted the message based on Richard Seroter’s blog (http://seroter.wordpress.com/2010/04/08/debatching-inbound-messages-from-biztalk-wcf-sql-adapter/).
    Then I am trying to group the messages based on some field using sequential convoy pattern. I created a correlation set and initialized the correlation set on the first receive shape and then followed the correlation set in the second receive shape which is
    in branch of a listen shape.  I can see the promoted property and the value of the promoted property is exactly same for some messages.
     So they are supposed to go to same orchestration. The problem is that the incoming splitted messages still activated new orchestration instances. The convoy is not working.
    Any suggestions about what could be wrong?
    Thanks,
    David
    David

    It is possible that the messages are getting debatched at a speed which results in multiple messages with the same correlation pattern getting instantiated at the same time. So when BizTalk Checks for an existing subscription (for the convoy) it does not
    find one and creates a new instance of the convoy.
    To test this out, I'd suggest you first put in two distinct records. This should result in four distinct instances. Then you again insert records matching to two of previous and then a new one. You should see your convoy working and a new instance being
    created of the new instance. If you do observe this pattern then you would be sure that the timing the messages are hitting the messagebox is causing the confusion.
    What you might have to do is first implement a singleton, which will force BizTalk to process the messages sequentially and then pass it through to a convoy.
    Regards.

  • [Solved] 27.8.4 How to Create a VO on a REF CURSOR - Missing first row

    Searching the forum I found: BC4J - Get one less row from view object.
    Dive into BC4J related  --REF CURSOR (Resultset)
    The first message did not have any answers, and the second had a follow up question - still no answers though - and I thought I would try a different title.
    (This is off topic, but it would be a great help if the search results also displayed the number of replys in the thread. That way, I wouldn't have to view the messages that don't have responses.)
    (This will be deployed on a server that has the ADF for JDeveloper 10.1.2 installed, so using that version of JDeveloper to develop the app.)
    Okay, back to the problem ==>
    I created a VO from a ref cursor, using the manual as a guide. When I run a page that displays a read only table of the view object, I am missing the first row. (Always the first row!) I don't have any order set, and if I call the ref cursor in a Java program for testing, I see all rows and the count is correct.
    One other point, when I call the page, I get the following validation error:
    Validation Error
    You must correct the following error(s) before proceeding:
    * JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null
    * null
    I still see the table, it is just missing the first row of data.
    In my form I have first, previous set, next set , and last
    navigation buttons. If I press last then first, the error goes away. I still don't see the missing row though.
    Any guidance would be appreciated! I can post my code, but it is pretty much the same code in the AdvancedViewObjectExamples.zip in the ViewObjectOnRefCursor example. I just substituted my two package calls (getRefCursor and getRefCursorCount).
    Thanks, Ken

    Went back to a backup copy of the source. Fixed the error. Now I'm back to just not being able to see the first row of data.
    Additional Note: I had removed fields in the display. Once I truncated the ps_txn table in the schema defined by the model, the data would display (Still without the first record.)
    Are there any examples that are more in depth than the few pages in the developer guide?
    Here is the code for my VOImpl class:
    package newslinearchive.model.datamodel;
    import java.math.BigDecimal;
    import java.sql.CallableStatement;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Timestamp;
    import java.sql.Types;
    import oracle.jbo.InvalidParamException;
    import oracle.jbo.JboException;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.QueryCollection;
    import oracle.jbo.server.SQLBuilder;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class SearchRefCursorImpl extends ViewObjectImpl {
    * This is the default constructor (do not remove)
    public SearchRefCursorImpl() {
    * Overridden framework method.
    * Executed when the framework needs to issue the database query for
    * the query collection based on this view object. One view object
    * can produce many related result sets, each potentially the result
    * of different bind variable values. If the rowset in query is involved
    * in a framework-coordinated master/detail viewlink, then the params array
    * will contain one or more framework-supplied bind parameters. If there
    * are any user-supplied bind parameter values, they will PRECEED the
    * framework-supplied bind variable values in the params array, and the
    * number of user parameters will be indicated by the value of the
    * numUserParams argument.
    protected void executeQueryForCollection(Object qc,Object[] params,int numUserParams) {
    storeNewResultSet(qc,retrieveRefCursor(qc,params));
    super.executeQueryForCollection(qc, params, numUserParams);
    * Overridden framework method.
    * Wipe out all traces of a built-in query for this VO
    protected void create() {
    getViewDef().setQuery(null);
    getViewDef().setSelectClause(null);
    setQuery(null);
    * Overridden framework method.
    * The role of this method is to "fetch", populate, and return a single row
    * from the datasource by calling createNewRowForCollection() and populating
    * its attributes using populateAttributeForRow().
    protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet rs) {
    * We ignore the JDBC ResultSet passed by the framework (null anyway) and
    * use the resultset that we've stored in the query-collection-private
    * user data storage
    rs = getResultSet(qc);
    * Create a new row to populate
    ViewRowImpl r = createNewRowForCollection(qc);
    try {
    * Populate new row by attribute slot number for current row in Result Set
    // populateAttributeForRow(r,0, rs.getLong(1));
    // populateAttributeForRow(r,1, rs.getString(2));
    // populateAttributeForRow(r,2, rs.getString(3));
    // MASTERID NOT NULL NUMBER
    populateAttributeForRow(r,0, rs.getBigDecimal(1));
    //ID NOT NULL NUMBER
    populateAttributeForRow(r,1, rs.getBigDecimal(2));
    // CAID NOT NULL NUMBER
    populateAttributeForRow(r,2, rs.getBigDecimal(3));
    // LANGUAGE NOT NULL VARCHAR2(30)
    populateAttributeForRow(r,3, rs.getString(4));
    // IS_CURRENT_VERSION NOT NULL NUMBER(1)
    populateAttributeForRow(r,4, rs.getBigDecimal(5));
    // FOLDER_ID NOT NULL NUMBER
    populateAttributeForRow(r,5, rs.getBigDecimal(6));
    // FOLDER_REGION_ID NOT NULL NUMBER
    populateAttributeForRow(r,6, rs.getBigDecimal(7));
    // NAME NOT NULL VARCHAR2(256)
    populateAttributeForRow(r,7, rs.getString(8));
    // DISPLAY_NAME VARCHAR2(256)
    populateAttributeForRow(r,8, rs.getString(9));
    // ITEMTYPE NOT NULL VARCHAR2(30)
    populateAttributeForRow(r,9, rs.getString(10));
    // SUBTYPE VARCHAR2(40)
    populateAttributeForRow(r,10, rs.getString(11));
    // SUBTYPE_CAID NUMBER
    populateAttributeForRow(r,11, rs.getBigDecimal(12));
    // PARENT_ITEM_ID NUMBER
    populateAttributeForRow(r,12, rs.getBigDecimal(13));
    // CATEGORY_ID NUMBER
    populateAttributeForRow(r,13, rs.getBigDecimal(14));
    // CATEGORY_CAID NUMBER
    populateAttributeForRow(r,14, rs.getBigDecimal(15));
    // AUTHOR VARCHAR2(50)
    populateAttributeForRow(r,15, rs.getString(16));
    // DESCRIPTION VARCHAR2(2000)
    populateAttributeForRow(r,16, rs.getString(17));
    // PUBLISH_DATE NOT NULL DATE
    populateAttributeForRow(r,17, rs.getDate(18));
    // EXPIREMODE VARCHAR2(90)
    populateAttributeForRow(r,18, rs.getString(19));
    // EXPIRENUMBER NUMBER
    populateAttributeForRow(r,19, rs.getBigDecimal(20));
    // EXPIREDATE DATE
    populateAttributeForRow(r,20, rs.getDate(21));
    // IMAGE VARCHAR2(350)
    populateAttributeForRow(r,21, rs.getString(22));
    // KEYWORDS VARCHAR2(2000)
    populateAttributeForRow(r,22, rs.getString(23));
    // URL VARCHAR2(4000)
    populateAttributeForRow(r,23, rs.getString(24));
    // FILENAME VARCHAR2(350)
    populateAttributeForRow(r,24, rs.getString(25));
    // TEXT CLOB()
    populateAttributeForRow(r,25, rs.getClob(26));
    // FOLDER_LINK_ID NUMBER
    populateAttributeForRow(r,26, rs.getBigDecimal(27));
    // FOLDER_LINK_CAID NUMBER
    populateAttributeForRow(r,27, rs.getBigDecimal(28));
    // ACTIVE NOT NULL NUMBER(1)
    populateAttributeForRow(r,28, rs.getBigDecimal(29));
    // CAN_BE_CHECKEDOUT NUMBER(1)
    populateAttributeForRow(r,29, rs.getBigDecimal(30));
    // IS_ITEM_CHECKEDOUT NUMBER(1)
    populateAttributeForRow(r,30, rs.getBigDecimal(31));
    // CHECKER_USERNAME VARCHAR2(256)
    populateAttributeForRow(r,31, rs.getString(32));
    // CHECKOUT_DATE DATE
    populateAttributeForRow(r,32, rs.getDate(33));
    // FULLSCREEN NOT NULL NUMBER(1)
    populateAttributeForRow(r,33, rs.getBigDecimal(34));
    // INPLACE NOT NULL NUMBER(1)
    populateAttributeForRow(r,34, rs.getBigDecimal(35));
    // CREATEDATE NOT NULL DATE
    populateAttributeForRow(r,35, rs.getDate(36));
    // CREATOR NOT NULL VARCHAR2(256)
    populateAttributeForRow(r,36, rs.getString(37));
    // UPDATEDATE DATE
    populateAttributeForRow(r,37, rs.getDate(38));
    // UPDATOR VARCHAR2(256)
    populateAttributeForRow(r,38, rs.getString(39));
    // SECURITY VARCHAR2(25)
    populateAttributeForRow(r,39, rs.getString(40));
    // VISIBLE NOT NULL NUMBER(1)
    populateAttributeForRow(r,40, rs.getBigDecimal(41));
    // SEQUENCE NOT NULL NUMBER
    populateAttributeForRow(r,41, rs.getBigDecimal(42));
    // CATEGORY_SEQUENCE NOT NULL NUMBER
    populateAttributeForRow(r,42, rs.getBigDecimal(43));
    // AUTHOR_SEQUENCE NOT NULL NUMBER
    populateAttributeForRow(r,43, rs.getBigDecimal(44));
    // CREATE_DATE_SEQUENCE NOT NULL NUMBER
    populateAttributeForRow(r,44, rs.getBigDecimal(45));
    // ITEMTYPE_SEQUENCE NOT NULL NUMBER
    populateAttributeForRow(r,45, rs.getBigDecimal(46));
    catch (SQLException s) {
    throw new JboException(s);
    return r;
    * Overridden framework method.
    * Return true if the datasource has at least one more record to fetch.
    protected boolean hasNextForCollection(Object qc) {
    ResultSet rs = getResultSet(qc);
    boolean nextOne = false;
    try {
    nextOne = rs.next();
    * When were at the end of the result set, mark the query collection
    * as "FetchComplete".
    if (!nextOne) {
    setFetchCompleteForCollection(qc, true);
    * Close the result set, we're done with it
    rs.close();
    catch (SQLException s) {
    throw new JboException(s);
    return nextOne;
    * Overridden framework method.
    * The framework gives us a chance to clean up any resources related
    * to the datasource when a query collection is done being used.
    protected void releaseUserDataForCollection(Object qc, Object rs) {
    * Ignore the ResultSet passed in since we've created our own.
    * Fetch the ResultSet from the User-Data context instead
    ResultSet userDataRS = getResultSet(qc);
    if (userDataRS != null) {
    try {
    userDataRS.close();
    catch (SQLException s) {
    /* Ignore */
    super.releaseUserDataForCollection(qc, rs);
    * Overridden framework method
    * Return the number of rows that would be returned by executing
    * the query implied by the datasource. This gives the developer a
    * chance to perform a fast count of the rows that would be retrieved
    * if all rows were fetched from the database. In the default implementation
    * the framework will perform a SELECT COUNT(*) FROM (...) wrapper query
    * to let the database return the count. This count might only be an estimate
    * depending on how resource-intensive it would be to actually count the rows.
    public long getQueryHitCount(ViewRowSetImpl viewRowSet) {
    Long result = (Long)callStoredFunction(NUMBER,
    "PORTAL.SEARCH_REFCURSOR.getRefCursorCount",
    viewRowSet.getParameters(true));
    return result.longValue();
    // ------------- PRIVATE METHODS ----------------
    * Return a JDBC ResultSet representing the REF CURSOR return
    * value from our stored package function.
    * new Object[]{getNamedBindParamValue("Email",params)}
    private ResultSet retrieveRefCursor(Object qc, Object[] params) {
    ResultSet rs = (ResultSet)callStoredFunction(OracleTypes.CURSOR,
    "PORTAL.SEARCH_REFCURSOR.getRefCursor",
    null);
    return rs ;
    private Object getNamedBindParamValue(String varName, Object[] params) {
    Object result = null;
    if (getBindingStyle() == SQLBuilder.BINDING_STYLE_ORACLE_NAME) {
    if (params != null) {
    for (Object param : params) {
    Object[] nameValue = (Object[])param;
    String name = (String)nameValue[0];
    if (name.equals(varName)) {
    return (String)nameValue[1];
    throw new JboException("No bind variable named '"+varName+"'");
    * Store a new result set in the query-collection-private user-data context
    private void storeNewResultSet(Object qc, ResultSet rs) {
    ResultSet existingRs = getResultSet(qc);
    // If this query collection is getting reused, close out any previous rowset
    if (existingRs != null) {
    try {existingRs.close();} catch (SQLException s) {}
    setUserDataForCollection(qc,rs);
    hasNextForCollection(qc); // Prime the pump with the first row.
    * Retrieve the result set wrapper from the query-collection user-data
    private ResultSet getResultSet(Object qc) {
    return (ResultSet)getUserDataForCollection(qc);
    * Return either null or a new oracle.jbo.domain.Date
    private static Date nullOrNewDate(Timestamp t) {
    return t != null ? new Date(t) : null;
    * Return either null or a new oracle.jbo.domain.Number
    private static Number nullOrNewNumber(BigDecimal b) {
    try {
    return b != null ? new Number(b) : null;
    catch (SQLException s) { }
    return null;
    //----------------[ Begin Helper Code ]------------------------------
    public static int NUMBER = Types.NUMERIC;
    public static int DATE = Types.DATE;
    public static int VARCHAR2 = Types.VARCHAR;
    public static int CLOB = Types.CLOB;
    * Simplifies calling a stored function with bind variables
    * You can use the NUMBER, DATE, and VARCHAR2 constants in this
    * class to indicate the function return type for these three common types,
    * otherwise use one of the JDBC types in the java.sql.Types class.
    * NOTE: If you want to invoke a stored procedure without any bind variables
    * ==== then you can just use the basic getDBTransaction().executeCommand()
    * @param sqlReturnType JDBC datatype constant of function return value
    * @param stmt stored function statement
    * @param bindVars Object array of parameters
    * @return function return value as an Object
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement("begin ? := " + stmt +
    "; end;", 0);
    st.registerOutParameter(1, sqlReturnType);
    if (bindVars != null) {
    for (int z = 0; z < bindVars.length; z++) {
    st.setObject(z + 2, bindVars[z]);
    st.executeUpdate();
    return st.getObject(1);
    catch (SQLException e) {
    throw new JboException(e);
    finally {
    if (st != null) {
    try {
    st.close();
    catch (SQLException e) {}
    /**Gets the bind variable value for Email
    public String getEmail() {
    return (String)getNamedWhereClauseParam("Email");
    /**Sets <code>value</code> for bind variable Email
    public void setEmail(String value) {
    setNamedWhereClauseParam("Email", value);
    /**getEstimatedRowCount - overridden for custom java data source support.
    public long getEstimatedRowCount() {
    long value = super.getEstimatedRowCount();
    return value;
    Thanks, Ken

  • Ldap_search_ext_s returned stickly first message

    Hi
    I am using windows XP and using C++ program and I have this problem where the API returned me with the sticly first messages.
    the command used for the ldap_search is
    1. if (( rc = ldap_search_ext_s( ld, "o=CRLs,c=SG,dc=data,dc=pkdDownload", LDAP_SCOPE_SUBTREE, "cn=CRL*", NULL, 0, NULL, NULL, NULL, LDAP_NO_LIMIT, &res ) ) != LDAP_SUCCESS )
    I iterate the returned result using ldap_first message and next
    2. for ( msg = ldap_first_message( ld, res ); msg != NULL; msg = ldap_next_message( ld, msg ) )
    The result is that CRL1 returned twice and while CRL2 is not returned :--
    @ldapSearch-LDAP RES SEARCH ENTRY dn: cn=CRL1, o=CRLs, c=SG, dc=data, dc=pkdDown
    load
    @ldapSearch-SEARCH CRLs - certSubjectDN: CN=ca.vmware.net, OU=Passport Unit, O=S
    CS Ltd, L=Singapore, ST=Singapore, C=SG
    @ldapSearch-SEARCH CRLs - objectClass: top
    @ldapSearch-SEARCH CRLs - objectClass: crldistributionpoint
    @ldapSearch-SEARCH CRLs - objectClass: pkdcrldistributionpoint
    @ldapSearch-SEARCH CRLs - cn: CRL1
    @ldapSearch-CRL Serial Nos captured-- CRL1
    *�H��EARCH CRLs - certificateRevocationList: 0??��0
    @ldapSearch-LDAP RES SEARCH ENTRY dn: cn=CRL1, o=CRLs, c=SG, dc=data, dc=pkdDown
    load
    @ldapSearch-SEARCH CRLs - certSubjectDN: CN=ca.vmware.net, OU=Passport Unit, O=S
    CS Ltd, L=Singapore, ST=Singapore, C=SG
    @ldapSearch-SEARCH CRLs - objectClass: top
    @ldapSearch-SEARCH CRLs - objectClass: crldistributionpoint
    @ldapSearch-SEARCH CRLs - objectClass: pkdcrldistributionpoint
    @ldapSearch-SEARCH CRLs - cn: CRL1
    @ldapSearch-CRL Serial Nos captured-- CRL1
    *�H��EARCH CRLs - certificateRevocationList: 0??��0
    @ldapSearch-Search completed successfully.
    Entries found: 2
    Is there any thing missing in my search commands
    Thanks

    Oops I'm sorry to say I've already worked out what I was doing wrong! I
    had a limit of 1 search result being returned by the function.
    Previously when I was just looking for users by
    objectClass=inetOrgPerson that was sufficient, but with aliases included
    as well it was not.
    Please disregard this thread.
    mattross
    mattross's Profile: http://forums.novell.com/member.php?userid=30003
    View this thread: http://forums.novell.com/showthread.php?t=394151

  • G/L account is missing (1) -[message 131-46]

    Hello,
    I have created a new company and have all the master data uploaded. I have also set all the accounts on G/L determination. When i try to create a A/R Invoice from the SBO client application i get the error "G/L account is missing (1) -[message 131-46]". I am unable to understand which G/L is missing.
    If I try to upload same A/R Invoice through DIAPI i get a different error message "No item cost was found  [INV1.WhsCode][line: 1]"
    I am running SBO2005 SP01 PL29
    Thanks and Regards,
    Sheetal

    Sheetal,
    I am not sure 100% what the issue is, but if you get the error "G/L account is missing (1)", one thing you should check for is a missing account in the item definition, in the supplier definition or in the GL Account determination.
    The issue occurs because there were no accounts defined when trying to add a marketing document. The document is added as a draft document, accounts were then set up and then the draft document was finally attempted to be added but the draft was not connected to the stock account. It is recommended to first define accounts, to delete the original draft document and create a new marketing document draft.
    HTH,
    Eddy

  • Missing File Messages / iWeb adding -1 to files names

    I am trying to create a website using iWeb '09 but I am have an issue with missing file messages. I created the site without an issue. Opened it up the following day and immediately received missing file messages for almost all pages on the site. iWeb appends a -1 to valid file names ex: IMG_12345 -> iWeb message = missing file IMG_12345-1. I am also receiving the missing file messages with the template images which are not being used on the website (dragged and dropped my images over template images).
    I tried to delete the pages then recreate them but that didn't work either. I also deleted the com.apple.iWeb.plist file (emptied trash) then restarted, held shift while rebooting, changed template to a different template then changed it back...nothing is working.
    Does anyone have any other suggestions?

    Another thing I noticed; I have two "domain.sites2" files, one in Users >> Folder >> Application Support >> iWeb and the other is in a personal directory. They are both modified today two hours apart. I just opened and closed iWeb and the file in the application support directory shows a modification not the one in the personal directory.
    The first five or so times I opened iWeb I had to acknowledge the iWeb welcome screen before it wouldn't come back. It seems that my iWeb may be corrupted and have to be reinstalled?

  • Single orchestration instance and Sequential convoy

    Hi
    I had read some Biztalk documents, I saw that talk about single orchestration instance and sequential convoy. But
    I'm not sure with what situation use them?
    1. What are scenarios use single orchestration?
    2. What are scenarios use a sequential convoy?
    Thanks in advance!

    A single orchestration or a singleton provides you with a mechanism to control the throughput of message through the system. The behaviour of BizTalk is to trigger a thread for every message instance and when handling Message Batches, this is often not a
    good thing as after debatching you land up with lots of messages, each of which trigger off an instance of the subscription.
    A convoy is a more generalized pattern. If a convoy is deployed for the same message, it becomes a singleton. A convoy can be used to sequentially process different (but interlinked) messages. To take a very loose example, the entire process from order placement
    to goods shipment to invoicing to payment can be implemented as a convoy with each different type of message being handled by one instance and being received from a single port. A convoy can also be used to implement the gather portion of the scatter-gather
    pattern which is usefull when you want to aggregate the results of a batched processing, etc.
    Regards.

  • When syncing iPod the PC lost power. once power restored synced iPod but the sleeve detail has been blanked. Also when syncing a 'miss-match' message is reported on iTunes. how do I get the sleeve detail back onto iPod?

    When syncing iPod the PC lost power. once power restored synced iPod but the sleeve detail has been blanked. Also when syncing a 'miss-match' message is reported on iTunes. how do I get the sleeve detail back onto iPod?

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • HT1926 Have the same problem as many other users: tried to update iTunes on Windows 7 today; first message "unable to locate component- MSVCR80.dll was not found" then "iTunes was not installed correctly. Please reinstall iTunes - Error 7 (Windows error 1

    I have the same problem as many other users: updated iTunes on Windows 7 on Jan 26, 2014 and iTunes does not open.  First message "unable to locate component- MSVCR80.dll was not found" then "iTunes was not installed correctly. Please reinstall iTunes - Error 7 (Windows error 126)". When will Apple fix this? Don’t feel like uninstalling all Apple software and then re-installing it as suggested, as I am on a terribly slow internet connection while travelling in the DR Congo.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • I can't install I-Tunes 10.6.1.7 on my Windows Vista laptop. Tried it several times. First message: Policy 8.0 Microsoft VC80.CRT..type='win32-policy, etc. Please help

    I can't install I-Tunes 10.6.1.7 on my Windows Vista laptop. Tried it several times. First message: Policy 8.0 Microsoft VC80.CRT..type='win32-policy, etc. Please help

    I can't install I-Tunes 10.6.1.7 on my Windows Vista laptop. Tried it several times. First message: Policy 8.0 Microsoft VC80.CRT..type='win32-policy, etc. Please help

  • Multi mapping after container append operation gets only first message

    XI environment with SP16
    I have a simple integration process scenario with a container operation collecting two messages (identical).
    The input to the interface mapping correctly has 0..outbounded and the map is just a java pass through. The process consists of just one receive step, two container operations, a transformation step and a async send step. The output received only contains the first
    message in the collection.
    Is there any obvious reason why this is happening? (I have checked and rechecked for proper types, attributes, and tested the transformation step individually.
    Thanks in advance for any help.
    Krish

    Hi Henrique,
    Thanks for your response.
    I did have 0..unbounded in the source message settings. (I did see the <Messsages>.. wrapper in the Test tab and in fact it works ok if we use Message Mapping (in my case where multiple messages are of the same type). However, when I have multiple (different) type messages, I got a Mapping..BaseruntimeException even though it worked ok during unit test.
    Now, if I have a Java mapping, it clearly does not pass multiple messages (with 0..unbounded in interface mapping for source). I only get the first in the collection.
    I have a feeling that XI does not do any preprocessing in the case of Java mapping step (including the wrapping of multiple messages). If that is true, then it is a bug.
    Another thing: when I have different type of messages as input - not a collection but distinct message types in the interface mapping - and if I have Java mapping, then I get an error "No Message interface defined for parameter 2" in the workflow log. But I am more concerned with why it does not wrap multiple messages and pass it to the java mapping transformation step.
    Regards,
    Krish

  • Missing part message in MIGO

    Hello,
    we have activated the missing part message in MIGO using transaction OMBC.
    All is working fine and we receive an notification in business workplace.
    The problem is that only one person receives the mail and we want that all MRP controllers get an notification.
    In transaction OMBC under "Mail user" we can only maintain one "Recipient Name".
    But what is the meaning of "Recipient for mail to MRP controller"? Can we here use position to maintain all controolers in the organization model of the PD (PD-ORG)?
    Thanks
    Arnfried

    Hi There
    Specification of the mail recipient- System sends the missing part message to the material planner(MRP Controller) responsible for the material,, in order for this to happen , a user ID must be assigned to the material planner,,
    Specification of missing part expediter- if no user ID is assigned to the responsible material planner, the message is sent to the central missing part expediter responsible for the plant. This person is defined per plant,,
    So this is what happening in your place,,  maintain the user ID to the MRP controller,, then it will work fine,,
    Maintain the below settings--
    SPRO-IMG-Materials Management-Consumption-Based Planning-Master Data-Define MRP Controllers-Double click on MRP controllers-Maintain the field Recipient Name (User ID) then system will trigger the mail to MRP controllers...
    Hope it helps
    Thanks
    Senthil

Maybe you are looking for