Install Base Table relationship

Hi Expert,
Could you plz explain me how to relate Install Base tables so that I can able to show data like the component structure and then their corresponding order, contract etc
thanks

not answered

Similar Messages

  • Site Number in Install base table/how to derive ship_to and bill_to

    Hi All,
    I am planning to write a query in which I need to know the parent /child item and instance details.I developed that query.
    Now I wish to included the 'site number' in the query.But i am not sure from which table to pick the same.
    Also I wish to know how to derive the Bill_to and ship_to site at install base.
    I am attaching query for the parent/child item and instance details below.
    Any help will be highly appreciated.
    Regards,
    aks
    select
    ciip.instance_id parent_instance_id,
    ciip.instance_number parent_instance_number,
    msip.segment1 parent_part_number,
    msip.description parent_part_description,
    ciip.serial_number parent_serial_number,
    ciip.active_start_date,
    ciip.active_end_date,
    rc.party_number party_number,rc.party_id,
    rc.customer_number,
    rc.customer_name,rc.customer_id,
    ciip.location_id,
    ciip.install_date,
    ciip.install_location_id,
    ciic.instance_id child_instance_id,
    ciic.instance_number child_instance_number,
    msic.segment1 child_part_number,
    msic.description child_part_description,
    ciic.serial_number child_serial_number
    from
    csi_item_instances ciip,
    csi_ii_relationships cir,
    csi_item_instances ciic,
    mtl_system_items msip,
    mtl_system_items msic,
    ra_customers rc
    where 1=1
    and ciip.serial_number = 'PID1500-01152'
    and ciip.instance_id = cir.object_id
    and ciic.instance_id = cir.subject_id
    and ciip.inventory_item_id = msip.inventory_item_id
    and ciic.inventory_item_id = msic.inventory_item_id
    and msip.organization_id = 106
    and msic.organization_id = 106
    and ciip.owner_party_id = rc.party_id
    order by ciip.instance_id,ciip.instance_number

    Check out this View for the bill_to,Ship_to and bill_to_site_number CSI_SYSTEMS_V, CSI_PARTY_ACCT_DETAILS_V.

  • Install base API error Material Transaction errored prior to the current tr

    All,
    I wrote a script to update the install base installed date using API - csi_item_instance_pub.update_item_instance.
    Script updated many successfully, but, for many I am getting following error:
    You have Material Transaction_id (12169418) errored Prior to the Current Transaction. You need to process that first.
    You have Material Transaction_id (12020011) errored Prior to the Current Transaction. You need to process that first.
    I tried to reprocess using API again, but, it does update.
    Does any one encountered this before ? What's causing this issue and resolution for same ? Is there any data issue, if so where ?
    Thanks much

    Nagmohan,
    Thanks for quick update...
    I found that progam you mentioned 'Install Base Error Correction and Synchronization Program' and ran that with options Show instances - Y, Mode - C, Force all data fix - Y.
    I don't see any change what so ever in the csi_txn_errors. Though, I didn't ran the update API program.
    For testing purposes, I took one inventory_item_id from the csi_txn_errors table to see how many errors it got.
    Inventory_item_id = 304076
    Found there are 123 rows for this items. processed_flag D-20 ; E-103 ;
    I am enclosing few of data from the table here.
    I understand from you that we need to clean these errors by some means, so, we need to look at each one in sequential order, then, try to resolve that to get to next one and so on until all the errors cleared. Also, is that business users needs to do something over here to fix these errors ? Or each one have it's own resolution ?
    Why did Install Base error correction program did not fix the issues ? Is the program expected to fix the error by correcting the issue internally ?
    Thanks much,
    TRANSACTION_ERROR_ID MESSAGE_ID ERROR_TEXT PROCESSED_FLAG CREATION_DATE
    1 12224 10818 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    2 12227 10822 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    3 12229 10828 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    4 12230 10832 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    5 12225 10820 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    6 12226 10824 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    7 12228 10826 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    8 12231 10830 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    9 12950 12718 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    10 12952 12722 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    11 12954 12726 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:24 PM
    12 12947 12710 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    13 12948 12714 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    14 12949 12716 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    15 12951 12720 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    16 12953 12724 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    17 13574 14556 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    18 13575 14560 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    19 13573 14554 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    20 13576 14562 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:58 PM
    21 144067 34168 Either sub type has change owner code as "E" ,so the external party_id: (47598 ) E 12/6/2007 7:02:11 PM
    22 144133 34396 This customer item instance is currently in an Internal location INVENTORY and it is an Invalid location for the type of transaction being processed. E 12/8/2007 7:23:16 AM
    23 145027 34578 You have Material Transaction_id (4844377) errored Prior to the Current Transaction. You need to process that first. E 12/10/2007 12:04:35 PM
    24 168201 41858 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:31:33 PM
    25 168195 41840 You have Material Transaction_id (4869894) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:18:43 PM
    26 169223 42238 You have Material Transaction_id (6048754) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 2:17:01 PM
    27 169211 42162 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 8:52:50 AM
    28 170277 42680 You have Material Transaction_id (6072810) errored Prior to the Current Transaction. You need to process that first. E 2/5/2008 3:27:28 PM
    29 190286 46872 You have Material Transaction_id (6075528) errored Prior to the Current Transaction. You need to process that first. E 3/6/2008 6:43:27 AM
    30 190288 46876 The source item instance 304076, in Subinventory STAGE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. (ITEM=304076) E 3/6/2008 6:49:20 AM
    31 207309 50410 You have Material Transaction_id (6635323) errored Prior to the Current Transaction. You need to process that first. E 3/28/2008 11:12:24 AM
    32 209320 51074 You have Material Transaction_id (7279930) errored Prior to the Current Transaction. You need to process that first. E 4/1/2008 11:44:27 AM
    33 241414 57434 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/12/2008 4:05:12 PM
    34 241435 57484 No instance is found for the inventory location attributes E 5/12/2008 7:01:04 PM
    35 242428 57654 No instance is found for the inventory location attributes E 5/13/2008 7:00:39 PM
    36 242419 57602 You have Material Transaction_id (7332482) errored Prior to the Current Transaction. You need to process that first. E 5/13/2008 2:44:11 PM
    37 244522 58180 You have Material Transaction_id (8291855) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 7:00:52 PM
    38 244499 58102 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 1:42:11 PM
    39 247465 60310 The source item instance 304076, in Subinventory UCORE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. E 5/30/2008 10:48:36 AM
    40 266432 81460 Invalid Instance Id Provided. The Item Instance ID (537385) provided is Either Expired or it does not exist in Installed Base Tables. E 9/19/2008 7:01:26 PM
    41 275056 87920 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:39 PM
    42 275055 87918 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:36 PM
    43 276087 89296 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/30/2008 7:01:21 PM
    44 276135 89564 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/31/2008 7:01:38 PM
    45 276153 89618 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 8:45:52 AM
    46 276155 89622 You have Material Transaction_id (12743392) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 8:48:13 AM
    47 276179 89690 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 9:31:46 AM
    48 276223 89868 You have Material Transaction_id (12743411) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 1:45:18 PM
    49 276205 89772 You have Material Transaction_id (12743982) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 11:32:40 AM
    50 276180 89694 You have Material Transaction_id (12743974) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 9:32:23 AM
    51 276318 90432 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/5/2008 2:51:48 PM
    52 276370 90758 No instance is found for the inventory location attributes E 11/6/2008 7:01:02 PM
    53 276360 90686 You have Material Transaction_id (12744871) errored Prior to the Current Transaction. You need to process that first. E 11/6/2008 2:05:38 PM

  • Error while updating Instances in Install Base

    Hi Experts,
    I am using the "csi_item_instance_pub.update_item_instance" API to update the
    instance details. when i change the owner party and it's contacts(transfer ownership), I am getting following errors.
    1)Owner account for external parties is mandatory. Please provide a valid Account for the Owner Party - 1221238 for some instance.
    Eventhough i verified the correct party id and it's account id, it shows the same errror.
    2)For some cases, I am getting the error like "The Object Version Number passed does not match with the one existing in Installed Base tables" .
    Any suggestions for the above will be a great help for me .
    Thanks in advance,
    Ravi.
    Edited by: user11291639 on Oct 28, 2009 9:45 PM

    Thanks you,
    By this Note id:395136.1
    Iam unable to find this Set profile 'HZ: Generate Events for DQM Real-Time Synchronization' to No
    with this Note id:278422.1
    We are unable to find this proifle option : HZ: Data Sharing and Security Enabled profile
    we are using applications 11i.
    please help to find this Profile option.
    But with this note id:ID 395136.1
    This is Working.
    Query for HZ: DQM Synchronization Method profile. Set the value to Disable.
    But iam facing proble while uploding data to DFF ,Error--SQL exception occurred during PL/SQL upload.
    Thanks for the Support-
    Sowmya.
    Edited by: user13419037 on Aug 11, 2011 11:53 PM
    Edited by: user13419037 on Aug 12, 2011 12:03 AM
    Edited by: user13419037 on Aug 12, 2011 3:45 AM

  • Strategy/Value of Installed Base Hierarchies?

    Hi - We are converting several thousand R/3 4x equipment master records into a new solution that will have both ECC6 and CRM 6.0 Service (as well as BI). We intend to load the equipment records in ECC and have them create ibases in CRM. 
    We've learned that you can create installed base hierarchies in CRM by assigning entire installed bases as components of other installed bases.  We understand it can be done but also believe our business would have to bear the cost of creating and maintaining these hierarchies manually.
    We've considered perhaps doing it only for important value customers or for other reasons but we are just not sure that the value of manually creating and maintaining IB hierarchies would outweigh the maintenance cost. 
    We were thinking that perhaps the hierarchy would be visible in analytical processing and could perhaps be used in customer level cost to serve analysis.
    Have any of you developed Ibase strategies that included hierarchy development and can you share realities and outcomes?
    Thanks in advance for your input, Roberto

    Hi,
    I think Installed base cannot be used in SALES scenario, hence even if you extend the sales quotation transaction type with service relevant business transaction category you cannot see the object tab in header and nor in item if you assign the item object type in ITEM CATEGORY.
    Alternate solution is that you create a CUSTOMER FIELD with EEWB at header or item level in SALES QOUTATION TRANSACTION TYPE and link it with F4 help of installed base IBIB table and relevant Installed base tables in CRM.
    Hope this helps. Please award Points if helpful
    regards
    Surendra More

  • Our Client gave a requirement to mass update the additional attributes in Install base for instances in Release 11i.

    Hi,
    Our Client gave a requirement to mass update the additional attributes in Install base for instances in Release 11i.
    So I tried the below code to update:
    But getting the error:
    The Object Version Number passed does not match with the one existing in Installed Base tables.
    Can any one please help how to fix it.
    Code:
    declare
    x_instance_rec CSI_DATASTRUCTURES_PUB.INSTANCE_REC;
    p_ext_attrib_values CSI_DATASTRUCTURES_PUB.EXTEND_ATTRIB_VALUES_TBL;
    p_party_tbl CSI_DATASTRUCTURES_PUB.PARTY_TBL;
    p_account_tbl CSI_DATASTRUCTURES_PUB.PARTY_ACCOUNT_TBL;
    p_pricing_attrib_tbl CSI_DATASTRUCTURES_PUB.PRICING_ATTRIBS_TBL;
    p_org_assignments_tbl CSI_DATASTRUCTURES_PUB.ORGANIZATION_UNITS_TBL;
    p_asset_assignment_tbl CSI_DATASTRUCTURES_PUB.INSTANCE_ASSET_TBL;
    p_txn_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_REC;
    x_instance_id_lst CSI_DATASTRUCTURES_PUB.ID_TBL;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_msg_index_out NUMBER;
    t_output VARCHAR2(2000);
    t_msg_dummy NUMBER;
    p_validation_level NUMBER;
    p_commit VARCHAR2 (5);
    p_init_msg_lst VARCHAR2 (500);
    cursor stg_tab_cur is select instance_id,Safety_line_type from gewind_ib_iea_values;
    TYPE stg_tab IS TABLE OF gewind_ib_iea_values%ROWTYPE INDEX BY BINARY_INTEGER;
      stg_tab_var stg_tab;
      stg_tab_bin_int BINARY_INTEGER;
    BEGIN
    x_instance_rec.instance_id := FND_API.G_MISS_NUM;
    x_instance_rec.object_version_number := FND_API.G_MISS_NUM;
    p_txn_rec.transaction_id := FND_API.G_MISS_NUM;
    p_txn_rec.transaction_date := SYSDATE;
    p_txn_rec.source_transaction_date := SYSDATE;
    p_txn_rec.transaction_type_id := 1;
    stg_tab_bin_int :=0;
    For gewind_ib_iea_values in stg_tab_cur LOOP
    stg_tab_bin_int := stg_tab_bin_int + 1;
    P_ext_attrib_values(stg_tab_bin_int).instance_id :=gewind_ib_iea_values.instance_id;
    P_ext_attrib_values(stg_tab_bin_int).attribute_id := 10023;
    P_ext_attrib_values(stg_tab_bin_int).attribute_value := gewind_ib_iea_values.Safety_line_type;
    dbms_output.put_line(P_ext_attrib_values(stg_tab_bin_int).instance_id);
    dbms_output.put_line(P_ext_attrib_values(stg_tab_bin_int).attribute_value);
    csi_item_instance_pub.update_item_instance(
    1.0,
    p_commit,
    p_init_msg_lst,
    1,
    x_instance_rec,
    p_ext_attrib_values,
    p_party_tbl,
    p_account_tbl,
    p_pricing_attrib_tbl,
    p_org_assignments_tbl,
    p_asset_assignment_tbl,
    p_txn_rec, x_instance_id_lst,
    x_return_status,
    x_msg_count,
    x_msg_data);
    commit;
    -- Output the results
    if x_msg_count > 0 then
    for j in 1 .. x_msg_count
    loop
    fnd_msg_pub.get ( j , FND_API.G_FALSE , x_msg_data , t_msg_dummy );
    t_output := ( 'Msg' || To_Char ( j ) || ': ' || x_msg_data );
    dbms_output.put_line ( SubStr ( t_output , 1 , 255 ) );
    end loop;
    end if;
    dbms_output.put_line('x_return_status = '||x_return_status);
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line('x_msg_data = '||x_msg_data);
    COMMIT;
    end loop;
    END;
    Regards,
    Ravichander

    This question is Assumed Answered -- It would be great if you could share the solution with us.
    Thanks,
    Hussein

  • Oracle Install Base -Unable to find Expire relationship button

    Hi Experts,
    I am not able to find "Expire Relationship" button under Configuration Tab while trying to expire parent and child relationship in oracle install base for an intem instance.But for some item instance I am able to find the "Expire Relationship" button under Configuration Tab.
    Can any one please let me know why the "Expire Relationship" button is available for some item and not available for some item instances.
    Thank you.
    Ravi S

    Duplicate post.
    Oracle Install Base -Unable to find Expire relationship button
    Unable to find Expire relationship button

  • Major/Minor Line Relationships in Oracle Service Contracts&Install Base.

    Hi,
    We have come across a scenario where, based on some business validations, Coverage of a Major Line needs to be TERMINATED.
    So, In that case if the Major Line has child lines(Minor) within, then do we need to 'EXPIRE' the 'COMPONENT-OFF' relationship between the Major and its Minor's, which helps in synchronising the data in Service Contracts and the Install Base for that Major Line.
    Any inputs would be of great help.
    Thanks,
    -Santosh.

    yes, please define major and minor terms here. are you referring to model (major) and component (minor) relationship?
    Also if you just remove component-of relationship, you will end up with orphans. is that ok from business perspective?
    ~Amol

  • Install Base - Unable to find "Expire Relationship" button

    Hi Experts,
    I am not able to find "Expire Relationship" button under Configuration Tab while trying to expire parent and child relationship in oracle install base for an intem instance.But for some item instance I am able to find the "Expire Relationship" button under Configuration Tab.
    Can any one please let me know why the "Expire Relationship" button is available for some item and not available for some item instances.
    Thank you.
    Ravi S

    Duplicate post.
    Oracle Install Base -Unable to find Expire relationship button
    Unable to find Expire relationship button

  • Oracle Install Base relationship to Serial Numbers

    OK, so the table CSI_TRANSACTIONS is a listing of transactions within Install Base, right?
    I need to associate a serial number with each. How is this table connected to MTL_SERIAL_NUMBERS?
    If I have an install base transaction_id...how do I get the serial number?
    Any help would be appreciated!

    select a.serial_number from mtl_unit_transactions a,mtl_material_transactions b, csi_transactions c
    where a.transaction_id=b.transaction_id
    and b.transaction_id=c.inv_material_transaction_id
    UNION
    select a.serial_number from mtl_unit_transactions a,mtl_material_transactions b, csi_transactions c,mtl_transaction_lot_numbers d
    where a.transaction_id=d.serial_transaction_id
    and b.transaction_id=d.transaction_id
    and b.transaction_id=c.inv_material_transaction_id;
    Thanks
    Nagamohan

  • Party-Relationships in Installed Base

    Hi,
    Can anybody highlight on purpose/uses/advantages of setting party relationships in Installed base.
    What can be acheived by creating these relationships?
    Regards,
    Mohammed

    hi,
    You need to assign partner determination procedure to install base. First define partner determination procedure. Then assign it to your install base category. You can do the same in spro crm> master data> install base.
    Now, after assigning pdp to install base category, when you will create install base and click on goto partner, you will get partner whose partner function you have used in partner determination procedure.
    Best regards
    Pankaj Kumar

  • Adding a "In Relationship" install base instance to a Repair Order

    Hi,
    When we try to add an install base instance to a Repair Order in Depot Repair, I'm not able to add a line for a unit that has an usage of "In Relationship". I checked the SQL and Depot Repair is not able to add such units.
    We're able to return a unit that has an usage of "In Relationship" from Order Management as well as Service Request. Is there a way this can be done in Depot Repair.
    Any help is very much appreciated.
    Thanks,
    Madan

    I'm not sure the need is as obvious as you suspect.
    The first problem I come to is "which user?". If the Service Request has 10 activities steps, from 10 different users, which of them is the Service Request Completed user? The only way this would be informative would be the rare service requests that have
    no processes and must be handled manually, in which case the real fix is to create processes for these service requests so they don't need to be handled manually.
    As to setting this: there's two big options:
    the way this is set for Incidents is by the form controls. If you were to replicate that behavior, you'll probably want to add a custom control to the form that sets the completed user to the current console if the status has changed to completed during
    that session, which is a lot of real SDK development work.
    Alternatively, you could use a workflow that triggered on the status being changed from anything else to completed, and set this value based on the last user to edit this SR. I'd recommend doing this with a
    custom workflow in PowerShell, but you could use Orchestrator, C# workflows, patrol scripts, etc.

  • Relationship between Install base and functional location

    Hi ,
    I have been trying to establish way to find realtionship between Install base ( in PM module ) and fucntional locations. I have tried everything from Debugging to SQL trace to find out this realtionship but it does not surface. I am talking about the details that one gets in transaction IB52 under Functional Location and equpiment colum.There are function modules which look promising to read IBIN and IBIB tables but they always ask for HANDLE. I have not understood what this HANDLE is and how to use it. IS THERE  WAY TO USE THIS FUNCTION MODULES TO READ IBASE AND ITS ASSOCIATED LINKS ?

    Hi,
    I don't think we can link a functional location to a sales order in standard sap.
    Prase

  • Tables for Installed Base

    Hi All,
       I have the Assembly Material # and the Assembly Serial # as inputs. I have to pass these inputs to get the Installed Base Number and from the Installed Base Number I need to get the components.
    Pls tell me the flow of the tables where I should look into & Proceed.

    Hi John,
      If i take the Objnr from IBIN & then pass the OBJNR to EQUI I get the Assembly Material and the Assembly Serial Number. But I need the Component and Component Serial # & not the Assembly Material.
    Could u pls tell me the link.

  • Error while creating contact through API in Install Base

    Hello
    I am trying to create contacts when creating a install base through API...
    I tried below code as per metalink note# 215456.1 and giving the below error. I checked setup andI have 'Ship To' exists in Instnace Party Account Relationsship setup in the aplication and also I have a party Id 1232890 exist in hz_parties table with party type as 'Person' and I passed contact_ip_id as instance_party_id from CSI_I_PARTIES table for the instance to be update...
    Also, can anybody help me how to purge the error messages before calling the API, suppose if i have 2 records and all two records will error then my second record error getting contatenated with my first error and message count also getting increased(see error message below as message count coming as 2 even though there is only one error)
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
    p_instance_rec CSI_DATASTRUCTURES_PUB.INSTANCE_REC;
    p_ext_attrib_values_tbl
    CSI_DATASTRUCTURES_PUB.EXTEND_ATTRIB_VALUES_TBL;
    p_party_tbl CSI_DATASTRUCTURES_PUB.PARTY_TBL;
    p_account_tbl CSI_DATASTRUCTURES_PUB.PARTY_ACCOUNT_TBL;
    p_pricing_attrib_tbl CSI_DATASTRUCTURES_PUB.PRICING_ATTRIBS_TBL;
    p_org_assignments_tbl CSI_DATASTRUCTURES_PUB.ORGANIZATION_UNITS_TBL;
    p_asset_assignment_tbl CSI_DATASTRUCTURES_PUB.INSTANCE_ASSET_TBL;
    p_txn_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_REC;
    x_instance_id_lst CSI_DATASTRUCTURES_PUB.ID_TBL;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_msg_index_out NUMBER;
    t_output VARCHAR2(2000);
    t_msg_dummy NUMBER;
    BEGIN
    p_party_tbl(1).instance_party_id := null;
    p_party_tbl(1).instance_id := 1216497;
    p_party_tbl(1).party_source_table := 'HZ_PARTIES';
    p_party_tbl(1).party_id := 1232890;
    p_party_tbl(1).relationship_type_code := 'Ship To';
    p_party_tbl(1).contact_flag := 'Y';
    p_party_tbl(1).contact_ip_id := 1699185;
    x_msg_count := 0;
    p_party_tbl(1).OBJECT_VERSION_NUMBER := 1;
    -- Now call the stored program
    csi_item_instance_pub.update_item_instance(
    1.0,
    'F',
    'F',
    1,
    p_instance_rec,
    p_ext_attrib_values_tbl,
    p_party_tbl,
    p_account_tbl,
    p_pricing_attrib_tbl,
    p_org_assignments_tbl,
    p_asset_assignment_tbl,
    p_txn_rec,
    x_instance_id_lst,
    x_return_status,
    x_msg_count,
    x_msg_data);
    -- Output the results
    if x_msg_count > 0
    then
    for j in 1 .. x_msg_count loop
    fnd_msg_pub.get
    ( j
    , FND_API.G_FALSE
    , x_msg_data
    , t_msg_dummy
    t_output := ( 'Msg'
    || To_Char
    ( j
    || ': '
    || x_msg_data
    dbms_output.put_line
    ( SubStr
    ( t_output
    , 1
    , 255
    end loop;
    end if;
    dbms_output.put_line('x_return_status = '||x_return_status);
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line('x_msg_data = '||x_msg_data);
    -- COMMIT;
    END;
    ERROR
    SQL> @p
    Msg1: The Party Relationship Type (Ship To) entered is either invalid or it does
    not exist in the Installed Base Lookups
    Msg2: The Party Relationship Type (Ship To) entered is either invalid or it does
    not exist in the Installed Base Lookups
    x_return_status = E
    x_msg_count = 2
    x_msg_data = The Party Relationship Type (Ship To) entered is either invalid or
    it does not exist in the Installed Base Lookups
    PL/SQL procedure successfully completed.

    Hi
    We are in 11.5.10.2 and I already checked notes which you sent before and setups are fine as the relationship type' Ship to' having 'contacts' enabled in the setup.
    I am also seeing a differernt issue as once I update existing item instnace with the status 'Return for Credit' through API, system is not allowing me to update the extended attributes through front end application manually and I am seeing a note at the end of the screen as 'Note: This item instance cannot be updated. ' and this is only happening when I update the item instance status to 'Returned for Credit' not when I create new item instances with status as 'Created'. Is this intended functionality to restrict update on extended attributes if I change the status of item instnace to 'Return for Credit' ?
    Thanks

Maybe you are looking for