Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 contract line item milestone information and to pass information about a Contract Line Item Milestone back contract line item milestone back to the server to get updated.

...

Panel
titlePwsContractLineItemMilestoneElement

Elements


Element

Data Type

Required?

Default

Description

Sample Data

CreatedByUserIdentity

PwsUserRef

On Insert: No

On Update: No

 


The identity of the user who created this milestone

 


CreatedTimestamp

DateTime

On Insert: No

On Update: No

 


The date and time this milestone was created

2018-01-06T16:53:15.527Z

InvoiceIdentity

PwsInvoiceRef

On Insert: No

On Update: No

 


The invoice that contains this milestone

 


LastUpdatedByUserIdentity

PwsUserRef

On Insert: No

On Update: No

 


The user who last updated the milestone

 


LastUpdatedTimestamp

DateTime

On Insert: No

On Update: No

 


The date and time this milestone was last updated 

2018-01-06T18:12:48.527Z

MilestoneDetail

PwsContractLineItemMilestoneDetail

On Insert: No

On Update: No

 


The complete set of information about a contract line item milestone 

 


MilestoneStatus

String

On Insert: No

On Insert: No

 P

The milestone status

"P" for Pending - the milestone is yet to be achieved, but will in the future

"F" for Foregone - the milestone has not and will not be achieved

"A" for Achieved - set this by choosing an achieved date

"B" for Billed - set when this milestone is on an issued invoice

P

PurchaseOrderNumber

String

On Insert: No

On Update: No

 


The purchase order number associated with the milestone

PO-1234

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                         <PwsContractLineItemMilestoneElement>
                              <CreatedByUserIdentity>
                                 <UserDisplayName>Bob Smith</UserDisplayName>
                                 <UserId i:nil="true"/>
                                 <UserReferenceSystemId>Partner - 01</UserReferenceSystemId>
                                 <UserUid>1152921504607011056</UserUid>
                              </CreatedByUserIdentity>
                              <CreatedTimestamp>2018-01-06T16:53:25.15Z</CreatedTimestamp>
                              <InvoiceIdentity i:nil="true"/>
                              <LastUpdatedByUserIdentity>
                                 <UserDisplayName>Bob Smith</UserDisplayName>
                                 <UserId i:nil="true"/>
                                 <UserReferenceSystemId>Partner - 01</UserReferenceSystemId>
                                 <UserUid>1152921504607011056</UserUid>
                              </LastUpdatedByUserIdentity>
                              <LastUpdatedTimestamp>2018-01-06T18:12:48.527Z</LastUpdatedTimestamp>
                              <MilestoneDetail>
                                 <ContractLineItemMilestoneId i:nil="true"/>
                                 <ContractLineItemMilestoneUid>1152921504607104692</ContractLineItemMilestoneUid>
                                 <AchievedDate i:nil="true"/>
                                 <ContractLineItemIdentity>
                                    <ContractLineItemCode>P001396-CL1</ContractLineItemCode>
                                    <ContractLineItemId i:nil="true"/>
                                    <ContractLineItemUid>1152921504607083378</ContractLineItemUid>
                                 </ContractLineItemIdentity>
                                 <ContractLineItemMilestoneName>Milestone for period starting 01-Jan-2018</ContractLineItemMilestoneName>
                                 <MilestoneAmount>10000</MilestoneAmount>
                                 <PlannedDate i:nil="true"/>
                                 <Description>Milestone for start of project</Description>
                                 <ForegoneFlag>false</ForegoneFlag>
                                 <ProjectIdentity>
                                    <ProjectCode>P001396-001</ProjectCode>
                                    <ProjectId i:nil="true"/>
                                    <ProjectUid>1152921504607412210</ProjectUid>
                                 </ProjectIdentity>
                                 <ProjectTaskIdentity>
                                    <ExternalSystemIdentifier i:nil="true"/>
                                    <ProjectTaskId i:nil="true"/>
                                    <ProjectTaskUid>1152921504608637343</ProjectTaskUid>
                                 </ProjectTaskIdentity>
                              </MilestoneDetail>
                              <MilestoneStatus>P</MilestoneStatus>
                              <PurchaseOrderNumber>PO-1234</PurchaseOrderNumber>
                           </PwsContractLineItemMilestoneElement>