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
« Previous
Version 2
Next »
Overview
This structure contains the complete set of information about a cost card. The structure is used both to retrieve detailed cost card information and to pass information about a cost card back to the server to get updated.
- PwsCostCardDetail
- CostCardId: Int32
- CostCardUid: Int64
- ReferenceId: String
- Description: String
- DescriptionClearFlag: Boolean
- ExpenseTypeIdentity: PwsExpenseTypeRef
- IncurredAmount: Double
- IncurredDate: DateTime
- IncurredOpsCurrencyIdentity: PwsOpsCurrencyRef
- IncurredVatAmount: Double
- LocationClearFlag: Boolean
- LocationIdentity: PwsLocationRef
- NonBillableFlag: Boolean
- OverrideClientAmount: Double
- OverrideClientAmountClearFlag: Boolean
- PayeeVendorClearFlag: Boolean
- PayeeVendorIdentity: PwsVendorRef
- ProjectIdentity: PwsProjectRef
- ResourceClearFlag: Boolean
- ResourceIdentity: PwsResourceRef
- Timestamp: String
- TotalAmountDisbursedCurrency: Double
- Udf1: PwsUserDefinedFieldDetail
- Udf1ClearFlag: Boolean
- Udf2: PwsUserDefinedFieldDetail
- Udf2ClearFlag: Boolean
- Units: Double
- ExternalGroupingIdentifier: Int32
- ExternalGroupingIdentifierClearFlag: Boolean
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|
CostCardId | Int32 |
|
|
|
|
CostCardUid | Int64 |
|
|
|
|
ReferenceId | String |
|
|
|
|
Description | String |
|
|
|
|
DescriptionClearFlag | Boolean |
|
|
|
|
ExpenseTypeIdentity | PwsExpenseTypeRef |
|
|
|
|
IncurredAmount | Double |
|
|
|
|
IncurredDate | DateTime |
|
|
|
|
IncurredOpsCurrencyIdentity | PwsOpsCurrencyRef |
|
|
|
|
IncurredVatAmount | Double |
|
|
|
|
LocationClearFlag | Boolean |
|
|
|
|
LocationIdentity | PwsLocationRef |
|
|
|
|
NonBillableFlag | Boolean |
|
|
|
|
OverrideClientAmount | Double |
|
|
|
|
OverrideClientAmountClearFlag | Boolean |
|
|
|
|
PayeeVendorClearFlag | Boolean |
|
|
|
|
PayeeVendorIdentity | PwsVendorRef |
|
|
|
|
ProjectIdentity | PwsProjectRef |
|
|
|
|
ResourceClearFlag | Boolean |
|
|
|
|
ResourceIdentity | PwsResourceRef |
|
|
|
|
Timestamp | String |
|
|
|
|
TotalAmountDisbursedCurrency | Double |
|
|
|
|
Udf1 | PwsUserDefinedFieldDetail |
|
|
|
|
Udf1ClearFlag | Boolean |
|
|
|
|
Udf2 | PwsUserDefinedFieldDetail |
|
|
|
|
Udf2ClearFlag | Boolean |
|
|
|
|
Units | Double |
|
|
|
|
ExternalGroupingIdentifier | Int32 |
|
|
|
|
ExternalGroupingIdentifierClearFlag | Boolean |
|
|
|
|
Usage Example(s)
<a:CostCardDetail>
<CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515248</CostCardUid>
<ReferenceId xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">123</ReferenceId>
<a:Description>Breakfast</a:Description>
<a:DescriptionClearFlag>false</a:DescriptionClearFlag>
<a:ExpenseTypeIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ExpenseTypeId i:nil="true"/>
<b:ExpenseTypeName>Meals</b:ExpenseTypeName>
<b:ExpenseTypeUid>1152921504606878415</b:ExpenseTypeUid>
</a:ExpenseTypeIdentity>
<a:IncurredAmount>7.99</a:IncurredAmount>
<a:IncurredDate>2018-02-06T00:00:00Z</a:IncurredDate>
<a:IncurredOpsCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:OpsCurrencyCode>USD</b:OpsCurrencyCode>
<b:OpsCurrencyId i:nil="true"/>
</a:IncurredOpsCurrencyIdentity>
<a:IncurredVatAmount>0</a:IncurredVatAmount>
<a:LocationClearFlag>false</a:LocationClearFlag>
<a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:LocationId i:nil="true"/>
<b:LocationName>USA</b:LocationName>
<b:LocationUid>1152921504606855985</b:LocationUid>
</a:LocationIdentity>
<a:NonBillableFlag>false</a:NonBillableFlag>
<a:OverrideClientAmount i:nil="true"/>
<a:OverrideClientAmountClearFlag>false</a:OverrideClientAmountClearFlag>
<a:PayeeVendorClearFlag>false</a:PayeeVendorClearFlag>
<a:PayeeVendorIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:VendorId i:nil="true"/>
<b:VendorName>Beth Brown</b:VendorName>
<b:VendorUid>1152921504607055834</b:VendorUid>
<b:VendorNumber>Beth Brown</b:VendorNumber>
</a:PayeeVendorIdentity>
<a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ProjectCode>P001407-001</b:ProjectCode>
<b:ProjectId i:nil="true"/>
<b:ProjectUid>1152921504607413030</b:ProjectUid>
</a:ProjectIdentity>
<a:ResourceClearFlag>false</a:ResourceClearFlag>
<a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ResourceDisplayName>Beth Brown</b:ResourceDisplayName>
<b:ResourceId i:nil="true"/>
<b:ResourceReferenceSystemId>E125</b:ResourceReferenceSystemId>
<b:ResourceUid>1152921504607111786</b:ResourceUid>
</a:ResourceIdentity>
<a:Timestamp>AAAAAA62IdY=</a:Timestamp>
<a:TotalAmountDisbursedCurrency>7.99</a:TotalAmountDisbursedCurrency>
<a:Udf1 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UdfId i:nil="true"/>
<b:UdfName>Attendees</b:UdfName>
<b:UdfUid>1152921504606860180</b:UdfUid>
<b:BooleanValue i:nil="true"/>
<b:DataType>I</b:DataType>
<b:DateValue i:nil="true"/>
<b:IntegerValue>10</b:IntegerValue>
<b:ResourceIdentityValue i:nil="true"/>
<b:TextValue i:nil="true"/>
<b:UdfTreatment>A</b:UdfTreatment>
<b:StoplightValues/>
<b:NumericValue>10</b:NumericValue>
<b:RelationValue i:nil="true"/>
</a:Udf1>
<a:Udf1ClearFlag>false</a:Udf1ClearFlag>
<a:Udf2 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UdfId i:nil="true"/>
<b:UdfName>Purpose</b:UdfName>
<b:UdfUid>1152921504606860181</b:UdfUid>
<b:BooleanValue i:nil="true"/>
<b:DataType>L</b:DataType>
<b:DateValue i:nil="true"/>
<b:IntegerValue i:nil="true"/>
<b:ResourceIdentityValue i:nil="true"/>
<b:TextValue>Team Building</b:TextValue>
<b:UdfTreatment>A</b:UdfTreatment>
<b:StoplightValues/>
<b:NumericValue i:nil="true"/>
<b:RelationValue i:nil="true"/>
</a:Udf2>
<a:Udf2ClearFlag>false</a:Udf2ClearFlag>
<a:Units>1</a:Units>
<a:ExternalGroupingIdentifier>123</a:ExternalGroupingIdentifier>
<a:ExternalGroupingIdentifierClearFlag>false</a:ExternalGroupingIdentifierClearFlag>
</a:CostCardDetail>