Versions Compared

Key

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

...

Panel
titlePwsSaveUserDefinedFieldsOrder
  • PwsSaveUserDefinedFieldsOrder
    • EntityCode: String (24)
    • EntityId: Int32
    • EntityName: String (255)
    • EntityUid: Int64
    • UserDefinedFields: PwsUserDefinedFieldDetail[1..100]

Elements


Element

Data Type

Required?

Description

Sample Data

EntityCode

String (24)

One of EntityCode, EntityName or EntityUid is required

The entity code is a unique identifier for an entity. Entities include Clients, Engagements, Projects, Roles, Tasks, Issues, Resource, Time Card or Cost Cards

P001468-001

EntityId

Int32

No 

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


EntityName

String (255)

See EntityCode

The entity name is a unique identifier for an entity


EntityUid

Int64

See EntityCode

A unique and immutable Id for an entity


UserDefinedFields

PwsUserDefinedFieldDetail[1..100]

Yes

This represents all the fields that make up a user defined field value


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
           <req:SaveOrders>
               <com:PwsSaveUserDefinedFieldsOrder>
                  <com:EntityCode>P001468-001</com:EntityCode>
                  <com:UserDefinedFields>
                     <com:PwsUserDefinedFieldDetail>
                        <com:UdfName>PR-Assigned Resource</com:UdfName>
                        <com:ResourceIdentityValue>
                           <com:ResourceReferenceSystemId>IT Manager</com:ResourceReferenceSystemId>
                        </com:ResourceIdentityValue>
                     </com:PwsUserDefinedFieldDetail>
                  </com:UserDefinedFields>
               </com:PwsSaveUserDefinedFieldsOrder>
            </req:SaveOrders>