Overview
Format
Panel | ||
---|---|---|
| ||
|
Elements
...
Element
...
Data Type
...
Description
...
Sample Data
...
DataItems
...
...
DocumentDataDetail
...
Usage Example(s)
...
language | xml |
---|---|
title | Example 01 - Receipt on a cost card |
collapse | true |
This data structure captures additional data associated with a document. The exact nature of this data depends upon the document type. For example, if the document is a receipt, this data structure contains the expense document information and, if attached to one or more cost cards, the identities of those cost cards as well as some basic information about each one. If the document is attached to an issue, this data structure will include the identity of the issue.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
DataItems | This structure contains additional details about data items associated with a document. Click here for more information. | ||
DocumentDataDetail | The identity or identities of Projector entities that are associated with a document. Click here for more information. |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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>1152921504614018558</b:ItemUid> <b:ReferenceType i:nil="true"/> </a:AssociatedItemIdentity> <a:Data> <a:Values xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <a<b:DocumentData>PwsValue> <a:DataItems> <b:ColumnType>V</b:ColumnType> <a:PwsDocumentDataItems> <a:AssociatedItemIdentity xmlns<b:Tag>Type</b="http://projectorpsa.com/DataContracts/Shared/Common/">:Tag> <b:ItemId i:nil="true"/>Value>CostCard</b:Value> <b:ItemType>CCD</b:ItemType> <b:Values/> <b:ItemUid>1152921504614018558</b:ItemUid> </b:PwsValue> <b:ReferenceType i:nil="true"/> <b:PwsValue> </a:AssociatedItemIdentity> <b:ColumnType>D</b:ColumnType> <a:Data> <a<b:ValuesTag>Incurred xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">Date</b:Tag> <b:Value>Mar 1 <b:PwsValue>2018</b:Value> <b:ColumnType>V<Values/b:ColumnType>> <b:Tag>Type<</b:Tag>PwsValue> <b:Value>CostCard</b:Value>PwsValue> <b:Values/>ColumnType>V</b:ColumnType> <b:Tag>Expense Type</b:Tag> </b:PwsValue> <b:Value>Personal Auto <b:PwsValue>Mileage</b:Value> <b:ColumnType>D<Values/b:ColumnType>> <b:Tag>Incurred Date<</b:Tag> PwsValue> <b:Value>Mar 1 2018</b:Value>PwsValue> <b:Values/>ColumnType>M</b:ColumnType> <<b:Tag>Disbursed Amount</b:PwsValue>Tag> <b:PwsValue>:Value>12.00</b:Value> <b:ColumnType>V<Values/b:ColumnType>> <b:Tag>Expense Type<</b:Tag>PwsValue> <b:PwsValue> <b:Value>Personal Auto Mileage</b:Value> <b:ColumnType>V</b:ColumnType> <b:Values/> <b:Tag>Disbursed Currency <Code</b:PwsValue>Tag> <b:Value>CAD</b:PwsValue>Value> <b:ColumnType>M<Values/b:ColumnType>> <b:Tag>Disbursed Amount<</b:Tag>PwsValue> <b:Value>12.00</b:Value></a:Values> </a:Data> <b:Values/> </a:PwsDocumentDataItems> </ba:PwsValue>DataItems> <a:DocumentDataDetail> <b:PwsValue> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:ColumnType>V</b:ColumnType> <b:ItemId i:nil="true"/> <b:Tag>Disbursed Currency Code<ItemType>ED</b:Tag> ItemType> <b:Value>CAD<ItemUid>1152921504607636703</b:Value>ItemUid> <b:ReferenceType i:nil="true"/> <b:Values/> </a:AssociatedItemIdentity> </b:PwsValue> <a:Associations> </a:Values> <a:PwsDocumentAssociation> </a:Data> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> </a:PwsDocumentDataItems> </a<b:DataItems> ItemId i:nil="true"/> <a:DocumentDataDetail> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"><b:ItemType>CCD</b:ItemType> <b:ItemId i:nil="true"/>ItemUid>1152921504614018558</b:ItemUid> <b:ItemType>ED</b:ItemType>:ReferenceType i:nil="true"/> <b:ItemUid>1152921504607636703<</b:ItemUid>a:AssociatedItemIdentity> <b<a:ReferenceTypeReferenceNumber i:nil="true"/> <<a:ReferenceNumberClearFlag>false</a:AssociatedItemIdentity>ReferenceNumberClearFlag> <a:Associations></a:PwsDocumentAssociation> </a:Associations> <a:PwsDocumentAssociation> <a:Notes i:nil="true"/> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"></a:DocumentDataDetail> </a:DocumentData> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<b<a:ItemId i:nil="true"/>DocumentData> <a:DataItems/> <b:ItemType>CCD</b:ItemType> <a:DocumentDataDetail> <b:ItemUid>1152921504614018558</b:ItemUid> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:ReferenceTypeItemId i:nil="true"/> </a:AssociatedItemIdentity><b:ItemType>ED</b:ItemType> <a:ReferenceNumber i:nil="true"/><b:ItemUid>1152921504607636703</b:ItemUid> <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag> <b:ReferenceType i:nil="true"/> </a:PwsDocumentAssociation>AssociatedItemIdentity> </a:Associations><a:Associations/> <a:Notes i:nil="true"/> </a:DocumentDataDetail> </a:DocumentData> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:DocumentData> <a:DataItems/> <a:DocumentDataDetail> <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:ItemId i:nil="true"/> <b:ItemType>ED<ItemType>R</b:ItemType> <b:ItemUid>1152921504607636703<ItemUid>1152921504606962993</b:ItemUid> <b:ReferenceType i:nil="true"/> </a:AssociatedItemIdentity> <a:Associations/> <a:Notes i:nil="true"/> <a:AssociatedItemDescription>Barry Franklin</a:AssociatedItemDescription> </a:DocumentDataDetail> </a:DocumentData> |