Create Subscription API action button on Service Request form
Summary:
Create Action Button in Application composer for Service request which create subscription in subscription management
Content (please ensure you mask any confidential information):
We have requirement where client want to create subscription for 15 days everytime after the work order is completed, we want to create subscription action button on service request form so that whenever the service work order is completed, we will give the customer 15 days warranty on service activities which is performed in maintenance management and billed in service logistics in depot repair,
We want create subscription API which pick start date from service request and end date 15 days after start date, pick customer from service request, add subscription product (Extended warranty) , select service request asset as covered level, edit coverage template and only select those service activities which are used in maintenance and billed in service logistics, activate subscription and show on service request that subscription is created for these service activities. and discount adjustment for this service activity will be 100%