Versions Compared

Key

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

...

Element

Data Type

Required?

Default

Description

Sample Data

CreatedByUserIdentity

PwsUserRef





CreatedTimestamp

DateTime



Created Timestamp - the date and time this milestone was created

2018-01-06T16:53:25.15Z

InvoiceIdentity

PwsInvoiceRef





LastUpdatedByUserIdentity

PwsUserRef





LastUpdatedTimestamp

DateTime



Last Updated Timestamp - the date and time this milestone was last updated

2018-01-06T18:12:48.527Z

MilestoneDetail

PwsContractLineItemMilestoneDetail





MilestoneStatus

String



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



Purchase Order Number associate with the Milestone

M-1234P


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 i:nil="true"/>
                           </PwsContractLineItemMilestoneElement>