Create a new Cost Milestone
The Salesforce ID of the delivery element this milestone belongs to. REQUIRED.
Type 1 (Percentage-based): The percentage of the contract cost this milestone represents (0-100). Only applicable when the delivery element uses DeliveryElement forecast mode.
Type 2 (Fixed value): The supplier invoicing currency cost value. Only applicable when the delivery element is not unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.
Type 3 (Unit-based): The number of units. Only applicable together with SupplierInvoicingCurrencyUnitValue when the delivery element is unit-generated.
Type 3 (Unit-based): The supplier invoicing currency value per unit. Only applicable together with Units when the delivery element is unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.
- https://sx-developer.kantata.com/services/apexrest/KSXhttps://sx-developer.kantata.com/services/apexrest/KSX/api/cost-milestones
{ "Name": "string", "DeliveryElementId": "string", "MilestoneDate": "string", "MilestonePercentage": 0, "SupplierInvoicingCurrencyCost": 0, "Units": 0, "SupplierInvoicingCurrencyUnitValue": 0, "Notes": "string", "CustomFieldsMap": [ { "Key": "string", "Value": "string" } ] }