Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview


This structure contains the complete set of information about a user defined field. This structure is utilized by the web service (PwsSaveUserDefinedFields)

Format


PwsSaveUserDefinedFieldsOrder
  • 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)


Example 01
           <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>
  • No labels