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

Version 1 Current »

Overview


This structure is used to uniquely identify a receipt attachment note within a document folder

Format


PwsAttachmentNote
  • PwsAttachmentNote
    • AttachmentNoteId: Int32
    • AttachmentNoteUid: Int64
    • DocumentData: PwsDocumentDataElement
    • EditDeleteFlag: Boolean
    • EditDeletePermissionFlag: Boolean
    • ReceiptLockedFlag: Boolean

Elements


Element

Data Type

Description

Sample Data

AttachmentNoteId

Int32

The receipt attachment note Id is a unique identifier for a receipt attachment note. For internal use only. 

 

AttachmentNoteUid

Int64

The receipt attachment note Uid is a unique and immutable identifier for a receipt attachment note

1152921504607351899

DocumentData

PwsDocumentDataElement

This structure contains the complete set of information about the data items within a document

 

EditDeleteFlag

Boolean

If set to 'true', the receipt attachment note can be edited or deleted

true

EditDeletePermissionFlag

Boolean

If set to 'true', the authenticated user has permission to edit or delete the receipt attachment note

true 

ReceiptLockedFlag

Boolean

If set to 'true', the receipt attachment note is locked and cannot be edited or deleted 

false 

Usage Example(s)


Example 01
                  <a:PwsAttachmentNote>
                     <AttachmentNoteId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <AttachmentNoteUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607351899</AttachmentNoteUid>
                     <a:DocumentData>
                        <a:DataItems>
                           <a:PwsDocumentDataItems>
                              <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                                 <b:ItemId i:nil="true"/>
                                 <b:ItemType>CCD</b:ItemType>
                                 <b:ItemUid>1152921504614515296</b:ItemUid>
                                 <b:ReferenceType i:nil="true"/>
                              </a:AssociatedItemIdentity>
                              <a:Data>
                                 <a:Values xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                                    <b:PwsValue>
                                       <b:ColumnType>V</b:ColumnType>
                                       <b:Tag>Type</b:Tag>
                                       <b:Value>CostCard</b:Value>
                                       <b:Values/>
                                    </b:PwsValue>
                                    <b:PwsValue>
                                       <b:ColumnType>D</b:ColumnType>
                                       <b:Tag>Incurred Date</b:Tag>
                                       <b:Value>Feb 27 2018</b:Value>
                                       <b:Values/>
                                    </b:PwsValue>
                                    <b:PwsValue>
                                       <b:ColumnType>V</b:ColumnType>
                                       <b:Tag>Expense Type</b:Tag>
                                       <b:Value>Travel</b:Value>
                                       <b:Values/>
                                    </b:PwsValue>
                                    <b:PwsValue>
                                       <b:ColumnType>M</b:ColumnType>
                                       <b:Tag>Disbursed Amount</b:Tag>
                                       <b:Value>500.00</b:Value>
                                       <b:Values/>
                                    </b:PwsValue>
                                    <b:PwsValue>
                                       <b:ColumnType>V</b:ColumnType>
                                       <b:Tag>Disbursed Currency Code</b:Tag>
                                       <b:Value>USD</b:Value>
                                       <b:Values/>
                                    </b:PwsValue>
                                 </a:Values>
                              </a:Data>
                           </a:PwsDocumentDataItems>
                        </a:DataItems>
                        <a:DocumentDataDetail>
                           <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                              <b:ItemId i:nil="true"/>
                              <b:ItemType>ED</b:ItemType>
                              <b:ItemUid>1152921504607683575</b:ItemUid>
                              <b:ReferenceType i:nil="true"/>
                           </a:AssociatedItemIdentity>
                           <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>1152921504614515296</b:ItemUid>
                                    <b:ReferenceType i:nil="true"/>
                                 </a:AssociatedItemIdentity>
                                 <a:ReferenceNumber i:nil="true"/>
                                 <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag>
                              </a:PwsDocumentAssociation>
                           </a:Associations>
                           <a:Notes>This receipt was lost, a copy has been requested.</a:Notes>
                        </a:DocumentDataDetail>
                     </a:DocumentData>
                     <a:EditDeleteFlag>true</a:EditDeleteFlag>
                     <a:EditDeletePermissionFlag>true</a:EditDeletePermissionFlag>
                     <a:ReceiptLockedFlag>false</a:ReceiptLockedFlag>
                  </a:PwsAttachmentNote>
  • No labels