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
FieldTypeRequiredDescription
milestoneIDIDYesID of the Agreement Milstone


Response Parameter

Response
FieldTypeDescription
resultInteger

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);
CODE