Parameters
|
Mandatory (Yes/No)
|
Description
|
---|---|---|
servicePlanProductId
|
No
|
the ID of Service Contract Plan using which the CLIs need to be created.
|
isCLIPlanProductId
|
No
|
The Boolean variable to look on Applicable Contract Line Product ID.
|
serviceContractId
|
Yes
|
the ID of the Service Contract record.
|
assetDataList
|
Yes
|
list of Assets to be added to the Service Contract
|
Parameters
|
Mandatory (Yes/No)
|
Description
|
---|---|---|
assetId
|
Yes
|
the record ID of the Asset that needs to be added as CLI. This Asset can be any Asset but should match the Product in CLI Plan. It should be in line with interactive authoring.
|
startDate
|
Yes
|
the Start Date of the CLI.
|
endDate
|
No
|
the End Date of the CLI. If not provided, the EndDate is calculated as StartDate + Duration in Plan.
|
pricebookEntryId
|
No
|
the pricebook Entry ID or the Product ID. If provided, use that. If not, then use it from the Service Contract's pricebook. It throws an error if the ID in pricebook is not matching.
|
subscriptionId
|
No
|
the ID of the Subscription object that needs to be copied to one of the CLI fields.
|
subscriptionFieldName
|
No
|
the field name on CLI, which is a lookup to Subscription object.
|
subscribedAssetId
|
No
|
the ID of the Subscription object that needs to be copied to one of the CLI's fields.
|
subscribedAssetFieldName
|
No
|
the field name on CLI, which is a lookup to Subscribed Asset object.
|
Parameters
|
Description
|
---|---|
servicePlanProductId
|
the ID of Service Contract Plan using which the CLIs need to be created.
|
isCLIPlanProductId
|
The Boolean variable to look on Applicable Contract Line Product ID.
|
serviceContractId
|
the ID of Service Contract for which the CLIs need to be created.
|
assetId
|
the record ID of the Asset that needs to be added as CLI. This Asset can be any Asset but should match the Product in CLI Plan. It should be in line with interactive authoring.
|
startDate
|
the Start Date of the CLI.
|
endDate
|
the End Date of the CLI. If not provided, the EndDate is calculated as StartDate + Duration in Plan.
|
pricebookEntryId
|
the pricebook Entry ID or the Product ID. If provided, use that. If not, then use it from the Service Contract's pricebook. It throws an error if the ID in pricebook is not matching.
|
subscriptionId
|
the ID of the Subscription object that needs to be copied to one of the CLI fields.
|
subscriptionFieldName
|
the field name on CLI, which is a lookup to Subscription object.
|
subscribedAssetId
|
the ID of the Subscription object that needs to be copied to one of the CLI's fields.
|
subscribedAssetFieldName
|
the field name on CLI, which is a lookup to Subscribed Asset object.
|
contractLineItemId
|
the SFDC record Id of the CLI created.
|
error
|
Any error would go under the error variable in SvmxGlobal class.
|