PwsProjectorLockEntity

Overview


This structure uniquely identifies an entity that is or will be locked

Format


PwsProjectorLockEntity
  • PwsProjectorLockEntity
    • EntityCode: String (24)
    • EntityId: Int32
    • EntityUid: Int64
    • LockType: String (1)

Elements


Element

Data Type

Required?

Description

Sample Data

EntityCode

String (24)

One of EntityCode or EntityUID is required

The entity code is a unique identifier for an entity.

P001468-001

EntityId

Int32

No 

The entity Id is a unique identifier for an entity. For internal use only.


EntityUid

Int64

See EntityCode

A unique and immutable identifier for an entity.

1152921504607429941

LockType

String

Yes

The Lock Type identifies the type of lock to be acquired, valid values include:

"E" for Engagement

"C" for Contract line item

"P" for Project

"R" for Role

"RT" for Rate Types and Tasks

"CP" for Cost Plan

"CB" for Cost Baseline

"I" for Invoice

P

Usage Example(s)


Example 01
                  <com:EntityIdentity>
                     <com:EntityCode>P001468-001</com:EntityCode>
                     <com:EntityUid>1152921504607429941</com:EntityUid>
                     <com:LockType>P</com:LockType>
                  </com:EntityIdentity>