Versions Compared

Key

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

...

This structure represents the unique key fields associated with identifying association of a cost card that is associated with a receipt. Note: receipts can be associated with a cost card or an entire expense report, multiple receipts may be associated with a single cost card or expense report, and multiple cost cards can be associated with a single receipt.

Format


Panel
titlePwsReceiptCostCard
  • PwsReceiptCostCard
    • CostCardIdentity: PwsCostCardRef
    • ReferenceNumber: String (50)
    • ReferenceNumberClearFlag: Boolean

Elements


Element

Data Type

Required?

Default

Description

Sample Data

CostCardIdentity

PwsCostCardRef

Yes


Key fields identifying the cost card associated with the receipt

 

.


ReferenceNumber

String (50)

No 


The reference number

is a unique identifier for a receipt associated with a cost card 

can be any value to further associate the cost card with the receipt image (e.g. if the image contains multiple, numbered receipts, this could be the number associated with the receipt that pertains to this specific cost card).


ReferenceNumberClearFlag

Boolean

No 

false

If set to 'true', the reference number will be set to null

 
false

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                     <a:PwsReceiptCostCard>
                           <a:CostCardIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                              <b:CostCardId i:nil="true"/>
                              <b:CostCardUid>1152921504614515251</b:CostCardUid>
                              <b:ReferenceId i:nil="true"/>
                           </a:CostCardIdentity>
                           <a:ReferenceNumber i:nil="true"/>
                           <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag>
                        </a:PwsReceiptCostCard>
                     </a:ReceiptCostCards>