PwsDocumentAssociation

Overview

This data structure includes the identity of an item associated with a document.  For example, if the document is a receipt associated with a cost card, then this data structure identifies the cost card. Currently, receipts are the only document type that can be associated with Projector entities in this way.  

Format

PwsDocumentAssociation
  • PwsDocumentAssociation
    • AssociatedItemIdentity: PwsFlexItemRef
    • ReferenceNumber: String **deprecated**
    • ReferenceNumberClearFlag: Boolean **deprecated**

Elements

Element

Data Type

Description

Sample Data

AssociatedItemIdentity

PwsFlexItemRef

The identity of the item associated with a document. Click here for more information.


ReferenceNumber

String

** This field has been deprecated **


ReferenceNumberClearFlag

Boolean

** This field has been deprecated **


Usage Example(s)


Example 01 - Receipt on a cost card
                     <a:Associations>
                        <a:PwsDocumentAssociation>
                           <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                              <b:ItemId i:nil="true"/>
                              <b:ItemType>CCD</b:ItemType>
                              <b:ItemUid>1152921504614018558</b:ItemUid>
                              <b:ReferenceType i:nil="true"/>
                           </a:AssociatedItemIdentity>
                           <a:ReferenceNumber i:nil="true"/>
                           <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag>
                        </a:PwsDocumentAssociation>
                     </a:Associations>