Versions Compared

Key

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

Overview


This structure contains the complete set of information about is returned by services such as PwsGetContractLineItem, which return the full details about contract line items, including full details of milestones associated with the contract line item. This structure contains a contract line item milestone (less any subordinate entitiesdetail structure (PwsContractLineItemMilestoneDetail). 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 updatedIt is also where additional related information about the contract line item milestone, that is not directly an attribute of the contract line item milestone itself or is not a modifiable attribute, is found.

Format


Panel
titlePwsContractLineItemMilestoneElement

Elements


Element

Data Type

Required?

Description

Sample Data

CreatedByUserIdentity

PwsUserRef

n/a

The identity of the user who created this milestone.


CreatedTimestamp

DateTime

n/a

The date and time (in UTC format) this milestone was created.

2018-01-06T16:53:15.527Z

InvoiceIdentity

PwsInvoiceRef

n/a

The invoice (if any) that contains this milestone.


LastUpdatedByUserIdentity

PwsUserRef

n/a

The user who last modified the milestone.


LastUpdatedTimestamp

DateTime

n/a

The date and time (in UTC format) this milestone was last updated .

2018-01-06T18:12:48.527Z

MilestoneDetail

PwsContractLineItemMilestoneDetail

On Insert: Yes

On Update: Yes

n/a


The complete set of information about the milestone. This substructure can be modified and passed to PwsSaveContractLineItemMilestone to make changes to the milestone.


MilestoneStatus

String (1)

On Insert: Yes

On Update: Non/a


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 (50)

On Insert: No

On Update: Non/a


The purchase order number associated with the milestone.

PO-1234
EffectivePlannedDateDateTimen/aIf linked to a project task, it is the task's start date. Otherwise, it is the milestone's planned date.

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                            <b:PwsContractLineItemMilestoneElement>
     
                        <b:CreatedByUserIdentity>
     
                           <b:UserDisplayName>BettyUserDisplayName>PPSA Support Smith<User</b:UserDisplayName>
     
                           <b:UserId i:nil="true"/>
     
                           <b:UserReferenceSystemId>Partner - 01<UserReferenceSystemId>000</b:UserReferenceSystemId>
                                 <b:UserUid>1152921504607011056<UserUid>1152921504606944261</b:UserUid>
    
                         </b:CreatedByUserIdentity>
                              <b:CreatedTimestamp>2018-0111-17T1412T16:3357:5752.143<23Z</b:CreatedTimestamp>
   
                          <b:InvoiceIdentity i:nil="true"/>
    
                         <b:LastUpdatedByUserIdentity>
                                 <b:UserDisplayName>BettyUserDisplayName>PPSA Support Smith<User</b:UserDisplayName>
     
                           <b:UserId i:nil="true"/>
     
                           <b:UserReferenceSystemId>Partner - 01<UserReferenceSystemId>000</b:UserReferenceSystemId>
   
                             <b:UserUid>1152921504607011056<UserUid>1152921504606944261</b:UserUid>
  
                           </b:LastUpdatedByUserIdentity>
   
                          <b:LastUpdatedTimestamp>2018-0111-17T1412T16:3657:0652.58<23Z</b:LastUpdatedTimestamp>
     
                        <b:MilestoneDetail>
  
                              <b:ContractLineItemMilestoneId i:nil="true"/>
   
                             <b:ContractLineItemMilestoneUid>1152921504607106568<ContractLineItemMilestoneUid>1152921504607120669</b:ContractLineItemMilestoneUid>
  
                              <b:AchievedDate i:nil="true"/>
    <b:AchievedDate>2018-12-23T00:00:00Z</b:AchievedDate>
                            <b:ContractLineItemIdentity>
     
                              <b:ContractLineItemCode>P001320ContractLineItemCode>P001125-CL2-CL1<2</b:ContractLineItemCode>
     
                              <b:ContractLineItemId i:nil="true"/>
     
                              <b:ContractLineItemUid>1152921504607083461<ContractLineItemUid>1152921504607095669</b:ContractLineItemUid>
     
                           </b:ContractLineItemIdentity>
     
                           <b:ContractLineItemMilestoneName>Milestone for period starting 01-Jan-2018<ContractLineItemMilestoneName>2018-4Q</b:ContractLineItemMilestoneName>
  
                              <b:MilestoneAmount>10000<MilestoneAmount>400</b:MilestoneAmount>
     
                           <b:PlannedDate i:nil="true"/>
                                 <b:Description>January Milestone</b:Description>
  PlannedDate>2018-09-01T00:00:00Z</b:PlannedDate>
                              <b:ForegoneFlag>false</b:ForegoneFlag>
                                 <b:ProjectIdentity>
                                    <b:ProjectCode>P001320-001</b:ProjectCode>
                                    <b:ProjectId <b:Description i:nil="true"/>
       
                            <b:ProjectUid>1152921504607410915<ForegoneFlag>false</b:ProjectUid>
     ForegoneFlag>
                           </b:ProjectIdentity>
                                 <b:ProjectTaskIdentity>
                                    <b:ExternalSystemIdentifier<b:ProjectIdentity i:nil="true"/>
     
                              <b:ProjectTaskIdProjectTaskIdentity i:nil="true"/>
                                    <b:ProjectTaskUid>1152921504608715269<</b:ProjectTaskUid>MilestoneDetail>
                                 </b:ProjectTaskIdentity>
                              </b:MilestoneDetail>
    <b:MilestoneStatus>A</b:MilestoneStatus>
                         <b:MilestoneStatus>P<PurchaseOrderNumber>P001125-PO</b:MilestoneStatus>
     PurchaseOrderNumber>
                        <b:PurchaseOrderNumber i:nil="true"/>
     :EffectivePlannedDate>2018-09-01T00:00:00Z</b:EffectivePlannedDate>
                     </b:PwsContractLineItemMilestoneElement>
                       
 <b:PwsContractLineItemMilestoneElement>