PwsContractLineItemMilestoneDetail

Overview


This structure contains the complete set of information about a contract line item milestone. The structure is used both to retrieve detailed contract line item milestone information and to pass information about a contract line item milestone back to the server to get updated.


Format


PwsContractLineItemMilestoneDetail
  • PwsContractLineItemMilestoneDetail
    • ContractLineItemMilestoneId: Int32
    • ContractLineItemMilestoneUid: Int64
    • AchievedDate: DateTime
    • ContractLineItemIdentity: PwsContractLineItemRef
    • ContractLineItemMilestoneName: String (100)
    • MilestoneAmount: Double
    • PlannedDate: DateTime
    • Description: String (1000)
    • ForegoneFlag: Boolean
    • ProjectIdentity: PwsProjectRef
    • ProjectTaskIdentity: PwsProjectTaskRef

Elements


Element

Data Type

Required?

Default

Description

Sample Data

ContractLineItemMilestoneId

Int32

On Insert: No

On Update: No


The contract line milestone Id is a unique identifier for a contract line item milestone. For internal use only


ContractLineItemMilestoneUid

Int64

One of ContractLineItemMilestoneUid or ContractLineItemMilestoneName is required


A unique and immutable identifier for a contract line item milestone

1152921504607106569

AchievedDate

DateTime

On Insert: No

On Update: No


The date (in midnight UTC) the contract line item milestone was achieved


ContractLineItemIdentity

PwsContractLineItemRef

On Insert: Yes

On Update: Yes


The contract line item that the milestone is associated with


ContractLineItemMilestoneName

String (100)

See ContractLineItemMilestoneUid


The contract line item milestone name

Milestone for period starting 01-Feb-2018

MilestoneAmount

Double

On Insert: Yes

On Update: No


The contract line item milestone amount 

10000

PlannedDate

DateTime

On Insert: Yes

On Update: No


The planned achieved date (in midnight UTC) for the milestone 

2018-01-01T00:00:00Z

Description

String (1000)

On Insert: No

On Update: No


The contract line item milestone description 

February Milestone

ForegoneFlag

Boolean

On Insert: No

On Update: No

false

If set to 'true', it indicates that the milestone is not achieved and will not be achieved 

true/false

ProjectIdentity

PwsProjectRef

On Insert: No

On Update: No


The project (if any) that the milestone is associated with


ProjectTaskIdentity

PwsProjectTaskRef

On Insert: No

On Update: No


The project task (if any) that the milestone is associated with


Usage Example(s)


Example 01
                               <b:MilestoneDetail>
                                 <b:ContractLineItemMilestoneId i:nil="true"/>
                                 <b:ContractLineItemMilestoneUid>1152921504607106569</b:ContractLineItemMilestoneUid>
                                 <b:AchievedDate i:nil="true"/>
                                 <b:ContractLineItemIdentity>
                                    <b:ContractLineItemCode>P001320-CL1</b:ContractLineItemCode>
                                    <b:ContractLineItemId i:nil="true"/>
                                    <b:ContractLineItemUid>1152921504607083461</b:ContractLineItemUid>
                                 </b:ContractLineItemIdentity>
                                 <b:ContractLineItemMilestoneName>Milestone for period starting 01-Feb-2018</b:ContractLineItemMilestoneName>
                                 <b:MilestoneAmount>10000</b:MilestoneAmount>
                                 <b:PlannedDate>2018-01-01T00:00:00Z</b:PlannedDate>
                                 <b:Description>February Milestone</b:Description>
                                 <b:ForegoneFlag>false</b:ForegoneFlag>
                                 <b:ProjectIdentity>
                                    <b:ProjectCode>P001320-001</b:ProjectCode>
                                    <b:ProjectId i:nil="true"/>
                                    <b:ProjectUid>1152921504607410915</b:ProjectUid>
                                 </b:ProjectIdentity>
                                 <b:ProjectTaskIdentity>
                                    <b:ExternalSystemIdentifier i:nil="true"/>
                                    <b:ProjectTaskId i:nil="true"/>
                                    <b:ProjectTaskUid>1152921504608715269</b:ProjectTaskUid>
                                 </b:ProjectTaskIdentity>
                              </b:MilestoneDetail>