checkIfMilestoneHasDependents API checks whether any dependent record exists for Agreement Fee, Agreement Prepay or Agreement Trueup for the given Milestone ID.
result checkIfMilestoneHasDependents(milestoneID)
This API accepts milestone ID as an input parameter and checks if any dependent record exists for Agreement Fee, Agreement Prepay or Agreement Trueup for the given Milestone ID.
Request Parameters
Request
Field
Type
Required
Description
milestoneID
ID
Yes
ID of the Agreement Milstone
Response Parameter
Response
Field
Type
Description
result
Integer
Returns true if the agreement record has dependents
Returns false if the agreement record has no dependents
Code Sample
ID milestoneId = 'a566A000000PRh5QAG';
Apttus_Revenue2.RevRecAction.checkIfMilestoneHasDependents(milestoneId);