PwsCostSplitOrder

Overview


This structure represents the fields associated with a cost card split.

Format


PwsCostSplitOrder
  • PwsCostSplitOrder
    • SplitClientAmount: Double
    • SplitPercent: Double
    • SplitTotalAmountDisbursedCurrency: Double
    • SplitUnits: Int32
    • CostCardIdentity: PwsVersionedCostCardRef

Elements


Element

Data Type

Required?

Description

Sample Data

SplitClientAmountDoubleA SplitClientAmount or SplitPercent or SplitTotalAmountDisbursedCurrency is requiredThe client amount to be assigned to the existing card after the split
153.35
SplitPercentDoubleSee SplitClientAmountThe percentage of the cost to be assigned to the existing card after the split.20
SplitTotalAmountDisbursedCurrencyDoubleSee SplitClientAmountThe total amount in disbursed currency to be assigned to the existing card after the split
60.00
SplitUnitsInt32NoThe number of units to be assigned to the existing card after the split
1
CostCardIdentityPwsVersionedCostCardRefYesThis structure represents the unique key fields associated with identifying a Cost Card. Time Cards can be identified with a CostCardUid. 

Usage Example(s)


Example 01
           <tim:SplitOrders>
               <tim:PwsCostSplitOrder>
                  <tim:CostCardIdentity>
                     <com:CostCardUid>1152921504614693734</com:CostCardUid>
                  </tim:CostCardIdentity>
                  <tim:SplitClientAmount>1.50</tim:SplitClientAmount>
               </tim:PwsCostSplitOrder>
            </tim:SplitOrders>