PwsCostAlert

Overview


This structure represents a cost alert. Cost alerts pertain to outstanding rejected and/or draft (unsubmitted) expenses on expense reports.

Format


PwsCostAlert
  • PwsCostAlert
    • AlertType: String
    • CurrencyDecimalDigits: Int32
    • DisbursedCurrencyCode: String
    • DisbursementTotal: Double
    • DocumentName: String (50)
    • ExpenseDocumentIdentity: PwsExpenseDocumentRef
    • ReimbursementTotal: Double

Elements


Element

Data Type

Description

Sample Data

AlertType

String

The Cost Alert Type:

'R' for rejected

'D' for draft / unsubmitted 

R


CurrencyDecimalDigits

Int32

The number of decimal places associated with the disbursed currency.

2 

DisbursedCurrencyCode

String

The currency code of the disbursed currency.

USD

DisbursementTotal

Double

The total disbursed amount.

213

DocumentName

String (50)

The expense document name associated with the cost card(s).

Expense report created 27 Feb 2018 - B

ExpenseDocumentIdentity

PwsExpenseDocumentRef

The identity of the expense document associated with the cost card(s).


Usage Example(s)


Example 01
                 <a:PwsCostAlert>
                     <a:AlertType>R</a:AlertType>
                     <a:CurrencyDecimalDigits>2</a:CurrencyDecimalDigits>
                     <a:DisbursedCurrencyCode>USD</a:DisbursedCurrencyCode>
                     <a:DisbursementTotal>213</a:DisbursementTotal>
                     <a:DocumentName>Expense report created 27 Feb 2018 - B</a:DocumentName>
                     <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:DocumentNumber>ER00722</b:DocumentNumber>
                        <b:ExpenseDocumentId i:nil="true"/>
                        <b:ExpenseDocumentUid>1152921504607683576</b:ExpenseDocumentUid>
                     </a:ExpenseDocumentIdentity>
                     <a:ReimbursementTotal>213</a:ReimbursementTotal>
                  </a:PwsCostAlert>