Process_order api - Validation Failed for Field Bill To

I am relatively new to the EBS world and I'm having some issues with calling the OE_Order_Pub.Process_order API. When I call this API I am getting a return error of "Validation failed for field - Bill To".
For a background...I have an APEX application where users can choose parts from a small part master list to add to an existing order. The existing order will not have a status of Closed or Cancelled and there will be atleast 1 line in the order before the new parts are added. The parts will be added as new lines to the order with some of the new line data defaulting to the same information as the first line. I am using EBS version 12.1.3 with a multi-org setup. It seems that the orders under one org (id=3) are working fine, but another org(id=569) they never work and keep getting the error. I am setting the context to the org of the order and initializing the apps user information with the responsibility "Order Management Super User".
Do you have any idea what could be wrong or how I can debug the error to get a little more detail?
Here is the procedure I have.
PROCEDURE TEK_ORD_PROCESS_ORDER(p_order_id IN NUMBER, p_return_code OUT NOCOPY VARCHAR2, p_status OUT NOCOPY VARCHAR2) IS
    CURSOR c_order_parts IS
      SELECT *
        FROM TEK_APEX.TEK_ORD_ORDER_PARTS
       WHERE ORDER_ID = p_order_id;
    TYPE t_parts IS TABLE OF TEK_APEX.TEK_ORD_ORDER_PARTS%ROWTYPE;
    v_order_parts t_parts;
    --Setup variables
    H_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_UPDATE;
    L_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_CREATE;
    v_install_type VARCHAR2(25) := 'PTO';
    v_source_id    NUMBER;
    v_user_id      NUMBER;
    v_resp_id      NUMBER;
    v_app_id       NUMBER;
    v_debug        VARCHAR2(32767);
    v_oracle_order OE_ORDER_HEADERS_ALL%ROWTYPE;
    v_apex_order   TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
    p_header_rec                    OE_Order_Pub.Header_Rec_Type;
    p_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
    p_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
    p_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
    p_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
    p_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
    p_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
    p_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
    p_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
    p_line_tab                      OE_Order_Pub.Line_Tbl_Type;
    p_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
    p_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
    p_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
    p_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
    p_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
    p_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
    p_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
    p_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
    p_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
    p_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
    p_action_request_tab            OE_Order_pub.Request_Tbl_Type;
    l_header_rec                    OE_Order_Pub.Header_Rec_Type;
    l_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
    l_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
    l_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
    l_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
    l_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
    l_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
    l_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
    l_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
    l_line_tab                      OE_Order_Pub.Line_Tbl_Type;
    l_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
    l_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
    l_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
    l_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
    l_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
    l_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
    l_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
    l_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
    l_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
    l_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
    l_ret_status                    VARCHAR2(200);
    l_msg_count                     NUMBER;
    l_msg_data                      VARCHAR2(200);
       --Email information
    v_email_address           varchar2(100);
       v_msg_text                varchar(1000);
       v_subject_text            varchar(1000);
       --Default line information
    v_item_id           NUMBER;
    v_contact_id        NUMBER;
    v_invoice_to_org_id oe_order_lines_all.INVOICE_TO_ORG_ID%TYPE;
    v_ship_to_org_id    oe_order_lines_all.SHIP_TO_ORG_ID%TYPE;
    v_sold_to_org_id    oe_order_lines_all.SOLD_TO_ORG_ID%TYPE;
    v_flow_status_code  oe_order_lines_all.FLOW_STATUS_CODE%TYPE;
    FUNCTION GET_ORACLE_ORDER(p_order_number IN OE_ORDER_HEADERS_ALL.ORDER_NUMBER%TYPE)
      RETURN OE_ORDER_HEADERS_ALL%ROWTYPE IS
      v_order OE_ORDER_HEADERS_ALL%ROWTYPE;
    BEGIN
      SELECT *
        INTO v_order
        FROM APPS.OE_ORDER_HEADERS_ALL
       WHERE ORDER_NUMBER = p_order_number;
      RETURN v_order;
    EXCEPTION
      WHEN OTHERS THEN
        RETURN NULL;
    END GET_ORACLE_ORDER;
    FUNCTION GET_APEX_ORDER(p_order_id IN TEK_APEX.TEK_ORD_SALES_ORDERS.ORDER_ID%TYPE)
      RETURN TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE IS
      v_order TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
    BEGIN
      SELECT *
        INTO v_order
        FROM TEK_APEX.TEK_ORD_SALES_ORDERS
       WHERE ORDER_ID = p_order_id;
      RETURN v_order;
    EXCEPTION
      WHEN OTHERS THEN
        RETURN NULL;
    END GET_APEX_ORDER;
    FUNCTION GET_SOURCE_ID(p_source_name IN VARCHAR2)
      RETURN OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE IS
      v_source_id OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE;
    BEGIN
      SELECT ORDER_SOURCE_ID
        INTO v_source_id
        FROM APPS.OE_ORDER_SOURCES
       WHERE NAME = p_source_name;
      RETURN v_source_id;
    EXCEPTION
      WHEN OTHERS THEN
        RETURN NULL;
    END GET_SOURCE_ID;
    FUNCTION GET_ITEM_ID(p_part_number IN VARCHAR2, p_org_id IN NUMBER)
      RETURN MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE IS
      v_item_id MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE;
    BEGIN
      SELECT INVENTORY_ITEM_ID
        INTO v_item_id
        FROM APPS.MTL_SYSTEM_ITEMS
       WHERE SEGMENT1 = p_part_number
         AND ORGANIZATION_ID = p_org_id;
      RETURN v_item_id;
    EXCEPTION
      WHEN OTHERS THEN
        RETURN NULL;
    END GET_ITEM_ID;
  BEGIN
    apps.mo_global.set_policy_context('S',3);
    apps.mo_global.init('XXTEK');
    BEGIN
      SELECT USER_ID
        INTO v_user_id
        FROM APPS.FND_USER
       WHERE USER_NAME = 'SYSADMIN';
    EXCEPTION
      WHEN OTHERS THEN
        RAISE_APPLICATION_ERROR(-20001, 'Error selecting user');
    END;
    BEGIN
      SELECT RESPONSIBILITY_ID, APPLICATION_ID
        INTO v_resp_id, v_app_id
        FROM TEK_APEX.TEK_RR_ACTIVE_RESP_VW
       WHERE UPPER(RESPONSIBILITY_NAME) = 'ORDER MANAGEMENT SUPER USER';
      --Set current user information
      fnd_global.apps_initialize (user_id      => v_user_id
                                 ,resp_id      => v_resp_id
                                 ,resp_appl_id => v_app_id);
    EXCEPTION
      WHEN OTHERS THEN
        RAISE_APPLICATION_ERROR(-20001, 'Error selecting responsibility');
    END;
    --Get the order information from Oracle and APEX
    v_apex_order := GET_APEX_ORDER(p_order_id);
    IF v_apex_order.ORDER_ID IS NULL THEN
      RAISE_APPLICATION_ERROR(-20001, 'APEX Order ID is invalid: ' || p_order_id);
    END IF;
    v_oracle_order := GET_ORACLE_ORDER(TO_NUMBER(v_apex_order.ORDER_NUMBER));
    IF v_oracle_order.ORDER_NUMBER IS NULL THEN
      RAISE_APPLICATION_ERROR(-20001, 'Order Number not found in Oracle: ' || v_apex_order.ORDER_NUMBER);
    END IF;
    apps.mo_global.set_policy_context('S', v_oracle_order.ORG_ID);
    v_source_id := GET_SOURCE_ID('IMPORT');
    IF v_source_id IS NULL THEN
      RAISE_APPLICATION_ERROR(-20001, 'Source ID not found for IMPORT');
    END IF;
    /* ********** Gather Order Header********** */
    /* ********** Info.              ********** */
    OE_Order_Pub.Get_Order(p_api_version_number    =>      1.0,
                           p_init_msg_list         =>      FND_API.G_TRUE,
                           p_return_values         =>      FND_API.G_TRUE,
                           x_return_status         =>      l_ret_status,
                           x_msg_count             =>      l_msg_count,
                           x_msg_data              =>      l_msg_data,
                           p_header_id             =>      v_oracle_order.HEADER_ID,
                           p_header                =>      NULL,
                           x_header_rec            =>      l_header_rec,
                           x_header_val_rec        =>      l_header_val_rec,
                           x_Header_Adj_tbl        =>      l_Header_Adj_tab,
                           x_Header_Adj_val_tbl    =>      l_Header_Adj_val_tab,
                           x_Header_price_Att_tbl  =>      l_Header_price_Att_tab,
                           x_Header_Adj_Att_tbl    =>      l_Header_Adj_Att_tab,
                           x_Header_Adj_Assoc_tbl  =>      l_Header_Adj_Assoc_tab,
                           x_Header_Scredit_tbl    =>      l_Header_Scredit_tab,
                           x_Header_Scredit_val_tbl=>      l_Header_Scredit_val_tab,
                           x_line_tbl              =>      l_line_tab,
                           x_line_val_tbl          =>      l_line_val_tab,
                           x_Line_Adj_tbl          =>      l_Line_Adj_tab,
                           x_Line_Adj_val_tbl      =>      l_Line_Adj_val_tab,
                           x_Line_price_Att_tbl    =>      l_Line_price_Att_tab,
                           x_Line_Adj_Att_tbl      =>      l_Line_Adj_Att_tab,
                           x_Line_Adj_Assoc_tbl    =>      l_Line_Adj_Assoc_tab,
                           x_Line_Scredit_tbl      =>      l_Line_Scredit_tab,
                           x_Line_Scredit_val_tbl  =>      l_Line_Scredit_val_tab,
                           x_Lot_Serial_tbl        =>      l_Lot_Serial_tab,
                           x_Lot_Serial_val_tbl    =>      l_Lot_Serial_val_tab);
    --Save defaults from first line
    IF l_line_tab.EXISTS(1) THEN
      v_contact_id        := l_line_tab(1).SHIP_TO_CONTACT_ID;
      v_invoice_to_org_id := l_line_tab(1).INVOICE_TO_ORG_ID;
      v_ship_to_org_id    := l_line_tab(1).SHIP_TO_ORG_ID;
      v_sold_to_org_id    := l_line_tab(1).SOLD_TO_ORG_ID;
      v_flow_status_code  := l_line_tab(1).FLOW_STATUS_CODE;
    END IF;
    --Clear out the line array before adding any new parts
    FOR i IN l_line_tab.FIRST..l_line_tab.LAST LOOP
      l_line_tab.DELETE(i);
      l_line_val_tab.DELETE(i);
      l_line_adj_tab.DELETE(i);
      l_line_adj_val_tab.DELETE(i);
      l_line_price_att_tab.DELETE(i);
      l_line_adj_att_tab.DELETE(i);
      l_line_adj_assoc_tab.DELETE(i);
      l_line_scredit_tab.DELETE(i);
      l_line_scredit_val_tab.DELETE(i);
      l_lot_serial_tab.DELETE(i);
      l_lot_serial_val_tab.DELETE(i);
    END LOOP;
    /* ********** Gather Order Lines ********** */
    OPEN c_order_parts;
    FETCH c_order_parts BULK COLLECT INTO v_order_parts;
    CLOSE c_order_parts;
    FOR i IN v_order_parts.FIRST..v_order_parts.LAST LOOP
      v_item_id := GET_ITEM_ID(v_order_parts(i).PART_NUMBER, v_oracle_order.SHIP_FROM_ORG_ID);
      IF v_item_id IS NULL THEN
        RAISE_APPLICATION_ERROR(-20001, 'Error selecting part number ' || v_order_parts(i).PART_NUMBER);
      END IF;
      --Clear line first
      l_line_tab(i)             := OE_Order_Pub.G_Miss_Line_Rec;
         l_line_val_tab(i)         := OE_ORDER_PUB.G_MISS_LINE_VAL_REC;
      l_line_adj_tab(i)             := OE_ORDER_PUB.G_MISS_LINE_ADJ_REC;
      l_line_adj_val_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_VAL_REC;
      l_line_price_att_tab(i)      := OE_ORDER_PUB.G_MISS_LINE_PRICE_ATT_REC ;
      l_line_adj_att_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_ATT_REC;
      l_line_adj_assoc_tab(i)   := OE_ORDER_PUB.G_MISS_LINE_ADJ_ASSOC_REC;
      l_line_scredit_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_REC;
      l_line_scredit_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_VAL_REC;
      l_lot_serial_tab(i)       := OE_ORDER_PUB.G_MISS_LOT_SERIAL_REC;
      l_lot_serial_val_tab(i)   := OE_ORDER_PUB.G_MISS_LOT_SERIAL_VAL_REC;
      --Set line information
         l_line_tab(i).PRICE_LIST_ID          := v_oracle_order.PRICE_LIST_ID;
      l_line_tab(i).header_id              := v_oracle_order.header_id;
      l_line_tab(i).inventory_item_id      := v_item_id;
      l_line_tab(i).ordered_quantity       := v_order_parts(i).QUANTITY;
      l_line_tab(i).operation              := l_op_code;
      l_line_tab(i).unit_list_price        := 0;
      l_line_tab(i).ship_from_org_id       := v_oracle_order.ship_from_org_id;
      l_line_tab(i).program_id             := fnd_global.conc_program_id ;
      l_line_tab(i).program_application_id := fnd_global.PROG_APPL_ID;
      l_line_tab(i).order_source_id        := v_source_id;
      l_line_tab(i).calculate_price_flag   := 'N' ;
      l_line_tab(i).unit_selling_price     := 0.00 ;
         l_line_tab(i).request_date           := v_apex_order.onsite_date;
         l_line_tab(i).Schedule_ship_date     := v_apex_order.onsite_date;
         l_line_tab(i).promise_date           := null;
      l_line_tab(i).invoice_to_org_id      := v_invoice_to_org_id;
      l_line_tab(i).ship_to_org_id         := v_ship_to_org_id;
      l_line_tab(i).sold_to_org_id         := v_sold_to_org_id;
      l_line_tab(i).ship_to_contact_id     := v_contact_id;
    END LOOP;
--OE_DEBUG_PUB.DEBUG_ON;
--OE_DEBUG_PUB.Initialize;
--OE_DEBUG_PUB.SetDebugLevel(5);
    --Add lines to order
    OE_Order_Pub.Process_order(p_api_version_number            =>      1.0,
                               p_init_msg_list                 =>      FND_API.G_TRUE,
                               p_return_values                 =>      FND_API.G_TRUE,
                               p_action_commit                 =>      FND_API.G_FALSE,
                               x_return_status                 =>      l_ret_status,
                               x_msg_count                     =>      l_msg_count,
                               x_msg_data                      =>      l_msg_data,
                               p_header_rec                    =>  l_header_rec,
                               p_old_header_rec                =>  l_header_rec,
                               p_header_val_rec                =>  l_header_val_rec,
                               p_old_header_val_rec            =>  l_header_val_rec,
                               p_Header_Adj_tbl                =>  l_Header_Adj_tab,
                               p_old_Header_Adj_tbl            =>  l_Header_Adj_tab,
                               p_Header_Adj_val_tbl            =>  l_Header_Adj_val_tab,
                               p_old_Header_Adj_val_tbl        =>  l_Header_Adj_val_tab,
                               p_Header_price_Att_tbl          =>  l_Header_price_Att_tab,
                               p_old_Header_Price_Att_tbl      =>  l_Header_price_Att_tab,
                               p_Header_Adj_Att_tbl            =>  l_Header_Adj_Att_tab,
                               p_old_Header_Adj_Att_tbl        =>  l_Header_Adj_Att_tab,
                               p_Header_Adj_Assoc_tbl          =>  l_Header_Adj_Assoc_tab,
                               p_old_Header_Adj_Assoc_tbl      =>  l_Header_Adj_Assoc_tab,
                               p_Header_Scredit_tbl            =>  l_Header_Scredit_tab,
                               p_old_Header_Scredit_tbl        =>  l_Header_Scredit_tab,
                               p_Header_Scredit_val_tbl        =>  l_Header_Scredit_val_tab,
                               p_old_Header_Scredit_val_tbl    =>  l_Header_Scredit_val_tab,
                               p_line_tbl                      =>  l_line_tab,
                               p_line_val_tbl                  =>  l_line_val_tab,
                               p_Line_Adj_tbl                  =>  l_line_adj_tab,
                               p_Line_Adj_val_tbl              =>  l_line_adj_val_tab,
                               p_Line_price_Att_tbl            =>  l_line_price_att_tab,
                               p_Line_Adj_Att_tbl              =>  l_line_adj_att_tab,
                               p_Line_Adj_Assoc_tbl            =>  l_line_adj_assoc_tab,
                               p_Line_Scredit_tbl              =>  l_line_scredit_tab,
                               p_Line_Scredit_val_tbl          =>  l_line_scredit_val_tab,
                               p_Lot_Serial_tbl                =>  l_lot_serial_tab,
                               p_Lot_Serial_val_tbl            =>  l_lot_serial_val_tab,
                               p_action_request_tbl            =>  OE_ORDER_PUB.G_MISS_REQUEST_TBL,
                               x_header_rec                    =>      p_header_rec,
                               x_header_val_rec                =>      p_header_val_rec,
                               x_Header_Adj_tbl                =>      p_Header_Adj_tab,
                               x_Header_Adj_val_tbl            =>      p_Header_Adj_val_tab,
                               x_Header_price_Att_tbl          =>      p_Header_price_Att_tab,
                               x_Header_Adj_Att_tbl            =>      p_Header_Adj_Att_tab,
                               x_Header_Adj_Assoc_tbl          =>      p_Header_Adj_Assoc_tab,
                               x_Header_Scredit_tbl            =>      p_Header_Scredit_tab,
                               x_Header_Scredit_val_tbl        =>      p_Header_Scredit_val_tab,
                               x_line_tbl                      =>      p_line_tab,
                               x_line_val_tbl                  =>      p_line_val_tab,
                               x_line_adj_tbl                  =>      p_line_adj_tab,
                               x_line_adj_val_tbl              =>      p_line_adj_val_tab,
                               x_line_price_att_tbl            =>      p_line_price_att_tab,
                               x_line_adj_att_tbl              =>      p_line_adj_att_tab,
                               x_line_adj_assoc_tbl            =>      p_line_adj_assoc_tab,
                               x_line_scredit_tbl              =>      p_line_scredit_tab,
                               x_line_scredit_val_tbl          =>      p_line_scredit_val_tab,
                               x_lot_serial_tbl                =>      p_lot_serial_tab,
                               x_lot_serial_val_tbl            =>      p_lot_serial_val_tab,
                               x_action_request_tbl            =>      p_action_request_tab);
--  OE_DEBUG_PUB.DEBUG_OFF;
    p_return_code := l_ret_status;
    IF l_ret_status != 'S' THEN
      DBMS_OUTPUT.PUT_LINE(l_msg_data);
      IF l_msg_count = 1 THEN
        p_status := OE_Msg_Pub.Get(1,'F');
      ELSE
        FOR i IN 1..l_msg_count LOOP
          p_status := OE_Msg_Pub.Get(i,'F') || '<br />';
        END LOOP;
      END IF;
      p_status := 'Error loading lines<br>' || p_status;
    ELSE
      p_status := 'Order Processed Successfully<br>' || v_order_parts.COUNT || ' Line(s) Loaded';
    END IF;
--    WHILE OE_DEBUG_PUB.G_DEBUG_INDEX < OE_DEBUG_PUB.CountDebug LOOP
--      OE_DEBUG_PUB.GetNext(v_debug);
--      DBMS_OUTPUT.PUT_LINE(v_debug);
--    END LOOP;
  EXCEPTION
    WHEN OTHERS THEN
      ROLLBACK;
      RAISE;
  END TEK_ORD_PROCESS_ORDER;Thanks!
Jonathan Hart

Hello,
Try the following
1) Check if any processing constraints are applied to customer/location
2) Try to create a new customer and associate internal location.
Create a new order to reproduce the issue
Thanks
-Arif

Similar Messages

  • Validation failed for the field - Bill To Contact, Ship To Contact

    Hi,
    When I am trying to Import / enter order for a specific customer, i am getting the error.
    VALIDATION FAILED FOR THE FIELD - BILL TO CONTACT
    VALIDATION FAILED FOR THE FIELD - SHIP TO CONTACT
    Has anyone got this error earlier? If you know the resolution, please update me on this.

    Hi,
    I am getting following error when I an adding one customer address to another customer through Order Import Program. By populating 3 table values
    1. OE_CUSTOMER_INFO_IFACE_ALL
    2. OE_HEADERS_IFACE_ALL
    3. OE_LINES_IFACE_ALL
    Error Message:
    Duplicate SHIP_TO ADDRESS found for IC_804810. Please correct the data.
    Duplicate BILL_TO ADDRESS found for IC_804810. Please correct the data.
    But its working fine when I am giving New address for existing customer.
    Please help me on this....
    Thanks,
    Oracle Support.

  • Order Import Failed in OM : Log Validation failed for the field - Ship To

    Problem in Order Management
    When i tried to do Order import in Source Org logfiles shows the Message :Validation failed for the field - Ship To, Please if anyone have a solution of this.
    Thanks in advance.
    Regards,
    Rajesh Verma
    Senior Consultant- Oracle Apps.
    COLT

    perhaps you might want to try populating customer_id instead of name to make sure that there is no error on typing customer name.
    primary ship-to and bill-to must exist under this customer. During order import, if ship-to is not specified then import will fetch primary ST of customer.
    This is what we use to populate interface table -with mininum of data.
    INSERT INTO oe_headers_iface_all
    (orig_sys_document_ref,order_source_id,org_id
    ,order_type_id,payment_term_id, shipping_method_code, freight_terms_code
    ,customer_po_number,salesrep_id
    ,sold_to_org_id, ship_to_org_id,invoice_to_org_id,sold_to_contact_id
    ,booked_flag
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code, order_category
    ,attribute5,tp_attribute4,xml_message_id,xml_transaction_type_code
    ,request_id, error_flag)
    INSERT INTO oe_lines_iface_all
    (order_source_id, orig_sys_document_ref, orig_sys_line_ref,orig_sys_shipment_ref
    ,inventory_item,item_type_code,line_type_id
    ,top_model_line_ref,link_to_line_ref,component_sequence_id,component_code,option_flag
    ,ordered_quantity
    ,order_quantity_uom,salesrep_id
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code,cust_model_serial_number,line_category_code
    ,context,attribute6
    ,reference_type, reference_line_id, reference_header_id
    ,return_context, return_attribute1, return_attribute2
    ,return_reason_code
    ,tp_attribute1,tp_attribute2,tp_attribute3,tp_attribute4,tp_attribute5
    ,request_id,error_flag)

  • Parts Requirement Create Order Error:Validation Failed for the field - Shipping Method DHL

    Trying to create Parts Requirement.
    Error message on clicking "Create Order" button: "Validation Failed for the field - Shipping Method DHL"
    Please suggest the Setup that needs to be done for this.

    Kinck
    The same script worked for me in vision (R12.1). You may have issues with your defaulting of a number of attributes that you are not passing in the API (like price list, line type and so on). You may want to check them.
    Thanks
    Nagamohan

  • Order Import - Validation failed for the field - End Customer Location

    I am trying to import an order using standard import program and it is failing with below error:
    - Validation failed for the field - End Customer Location
    I have checked metalink to debug this and found nothing, the values i have used to populate the interface table or valid.
    Can someone please post your views on this, on where the problem might be.
    Thanks!

    Hello,
    Try the following
    1) Check if any processing constraints are applied to customer/location
    2) Try to create a new customer and associate internal location.
    Create a new order to reproduce the issue
    Thanks
    -Arif

  • How to handle "Validation failed for the field - Tax code" issue?

    We had mass uplaod the order that create on Mar with tax code effective date on Apr. Now we would like return on this order  and getting error of "Validation failed for the field - Tax code". How to handle this issue?

    Hi
    You will have to check if the Tax_Code of RMA being received is the same as the one in the related sales order.
    If not you will need to use the same tax_code.
    Refer below document : Doc ID 1584338.1

  • .Mac account credentials validation failed for account "myaccount".

    I made some changes on my web site but when I tried publishing I got back this as a "Publish Error"--.Mac account credentials validation failed for account “dannpurvis”.
    How do I fix this?
    Thanks,
    Dann

    I had to do this four or five times - but it eventually worked!
    Thanks!
    One thing that I did was I went into my System Prefs
    and under the .Mac, I just deleted my account name
    and password in the fields, pressed enter which just
    refreshed the fields to make me enter my account &
    pass again. It went through verification process and
    accepted my password, logging me in again.
    Went back to iWeb and everything uploaded as normal.
    Hope this helps.
    Intel
    Macbook 2 GHz Intel Core 2 Duo   Mac OS X
    (10.4.9)   1 GB 667 MHz DDR2 SDRAM

  • Validation Failed for C:\winnt\system32\vsinit.dll

    I am running VPN Client 4.6.00.0045 on Windows 2000 and when I reboot I get the an error that reads "Validation Failed for C:\winnt\system32\vsinit.dll"
    It seems the VPN Service is not starting. A reinstall will not fix it. I do not have ZoneAlarm or any other personal firewall installed. Any help would be appreciated.

    I'm not sure if the steps described at this URL will help your issue or not. There is quite a bit of information in the post that may be of some help.
    http://forum.zonelabs.org/zonelabs/board/message?board.id=Off-Topic&message.id=5155
    On my system, I do not have ZoneAlarm and installed at all and I have the vsinit.dll file on my system. I suspect that it is installed with the Cisco VPN Client. There is reference to this file in bug CSCec41278 that leads me to this conclusion. The version of the VPN client that I have installed is 4.6.00.0049.
    HTH
    Steve

  • Save validation failed for message

    Hi !
    I am trying to save a workflow to the database however I am getting an error saying 'Save validation failed for message 'WFTEST/COMPLAINT_REJECTED'
    underthis i got
    401: Could not find token 'NOTE' among message attributes
    401: Could not find token 'FORWARD_TO_USERNAME' among message attributes'
    What must I do to stop getting this error message.

    Hi,
    I've answered your duplicate post on the [WorkflowFAQ forum|http://smforum.workflowfaq.com/index.php?topic=998.0].
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • UDF - Set Valid Values for Field

    I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field.  Values are:
    CS
    IN
    DZ
    PC
    Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
    If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero?  It's would be a way to stop mistakes when orders are inputted.
    Any help on this would be appreciated.
    Thks - Scott

    Hello
    You could try the following:
    Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
    On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
    I hope it will help
    Best regards,

  • Payload Validation failing for EBM

    Hi,
    I have a composite which takes input based on a simple XSD.
    Inside the composite the input is mapped to Sales Order EBM and this EBM is sent as input to other composite.
    For data validation purpose, I switched on Payload Validation for this composite in Weblogic EM.
    The input data validation works fine but it's throwing follwing error while invoking composite which accepts EBM as input.
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant.</summary>
    </part>
    <part name="detail">
    <detail>Element 'ProcessSalesOrderFulfillment' not expected.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    The payload validation error is occuring for all composites which accepts EBM as input. It picks the attribute name just after the header and says element not expected.
    Any help is greatly appreciated.
    Thanks,
    Ravi

    Please ensure that you have created EBS properly, verify all the datatypes of the elements in input XSD & EBO schema. And also verify whether EBM header is reflecting properly.
    One more thing you should able to navigate from EBS to EBM, EBM to EBO then only you can assume you have done all things correctly. If not reconstruct EBS, EBM & EBO with valid request & response messages.

  • Error message:  .Mac account credentials validation failed for account...

    I have published via iWeb for some time, but after I created a new webpage, I have been unable to publish again. This is the latest error message...
    ".Mac account credentials validation failed for account “account name."
    I have tried publishing via wireless internet and direct connect to router, with the same results. The apple support site recommendation is to upgrade to iWeb 1.1.1 or higher, but I'm already running 1.1.2.
    Thanks!
    Craig

    I have this same problem SUDDENLY. I never have had issues before.I have not tried to publish since 10/04 so I don't know when this started...? what is the answer. My .mac account is fine and working.

  • Catalog object privilege validation failed for user.

    Hi,
    I'm getting following error after adding the HTML tags in dashboard 11g.
    How to set the privileges?..Kindly let me know.Thank you.
    Error Massage:
    Catalog object privilege validation failed for user to path /users/User1/_portal/page 1.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup. Dashboard contains custom HTML tags as part of static text.

    Hi User,
    Go to Settings -> Administrators -> Manage Privileges -> 'Answers'
    Here you can view - "Save Content with HTML Markup" next to it you will see 'Presentation Server Administrators'
    Click it and Change for 'Everyone'
    And, Save changes. Restart BI Services now you can add the contents and it will not popup any error messages.
    Thank you.
    Award Points and Close the Post as Answered to help others with same issue :)

  • Validation failed for ArchiveClassLoaderDerivedType- Java callouts from OSB

    Even though jar file for java classes are present, I am receiving the following error sometimes:
    com.bea.wli.config.component.NotFoundException: Validation failed for ArchiveClassLoaderDerivedType ..Referenced component (ArchiveClassLoaderDerivedType ../../Java/.._ArchiveClassLoaderDerivedType) not found.
    When I bounce the server then it works, but I can't bounce the server in production. Do anybody know why this is happening?

    Unfortunately ALSB/OSB does not seem to honour JAR files packaged in your JAR and referenced by the manifest Class-Path attribute. As well, the JAR files deployed into a project cannot reference each other. As such, you either have to open the library JAR and stick it into the one you are deploying or to put it on the server classpath via the domain lib (you do not need to edit the start scripts). This is definitely a hole in the capabilities of OSB.

  • Validation failed for archived log

    Hi,
    oracle database version 11.2.0.4
    OS centOS 6.5
    Recently i have set rman backup scripy on production Database, As we are using dbvisit for standby database for that we have set cron which run in every 10 minutes  it generates archive and copy it to standby side,
    but sometimes backup failed due to expected archive is not represent at location so i put "crosscheck archivelog all" in script now backup is running fine, But i have analyzed backlog file getting
    "validation failed for archived log" the time stamp i have checked validation failed archive is current day and yesterday even though archives are present at the location and CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    Guys i am worried it shouldn't be a big issue for me,
    please suggest what is wrong

    This forum is for Berkeley DB high availability. We do not have the expertise to help you with your Oracle database 11.2.0.4 issue. You'll need to submit this question to one of the Oracle database forums to get the help you are looking for.
    Paula Bingham

Maybe you are looking for