We are doing a Conversion for Installbase where in we have to bring in the Installbase records from Legacy systems.
I know the API to Insert records into Installbase which is
Is there any Installbase API which will create the Warranty contract for this Installbase records or do we have to explicitly call the create contract API's to create Contracts in Service Contract Module.
When using the CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE api the following 2 steps are required for a warranty to be created
1. The warranty needs to be included in the Bill of Material of the item that is being used to create an Item Instance in Install Base.
2. Th profile option CSI: Contracts Enabled needs to be set to 'Yes' at the Site level.
I tried a lot with this APi (CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE)but its not creating the contract.
Only for the update API( CSI_ITEM_INSTANCE_PUB.update_ITEM_INSTANCE) there is call to Expire the contracts if the IB records are Expired