In an APS package with one mainservice and one subservice.
For example:Main service will fetch some basic credentials and subservice will create an account in the
isp(using API).
We can restrict this account creation using limit,means admin can limit the subservice-create account in the customer control panel.
For implementing this we can use the following methods.
# create a resource name in the resource tab in eclipse.
# create a resource type->
1. After uploading the package click on the “Resource Types” tab.
2. Click on the Create Button
3. Click on application service link, give name and description
4. Click on the subservice name displayed in the next screen.
5. click on next and keep blank as the priority(additional parameter)
6. click next and finish
# Service Plan
1.Add the above resource types into the resource rates and give inc unit and max unit as your “limit value”
Eg: if you give inc unit as 5 , you can create subservice 5 times.