Versions Compared

Key

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

Overview

This structure encapsulates a resource expense import pool item and related values. Pool items are used in the importing of expenses into Projector from external sources such as comma separated files.

Format

Panel
titlePwsResourceExpenseImportPoolItemElement

Elements

Element

Data Type

Required?

Default

Description

Sample Data

ExpenseTypeIdentity

PwsExpenseTypeRef

The expense type identity, if the pool item's expense type is recognized.


IncurredOpsCurrencyIdentity

PwsOpsCurrencyRef

The incurred currency identity, if the pool item's incurred currency is recognized.


LocationIdentity

PwsLocationRef

The location identity, if the pool item's location is recognized.


PayeeVendorIdentity

PwsVendorRef

The payee vendor identity, if the pool item's payee vendor is recognized.


PoolItem

PwsResourceExpenseImportPoolItemDetail

The pool item.


ProjectIdentity

PwsProjectRef

The project identity, if the pool item's project is recognized.


ProjectName

String

The project name, if the pool item's project is recognized.


ResourceIdentity

PwsResourceRef

The resource identity, if the pool item's resource is recognized.


DefaultVatPercentage

Double

The default VAT percentage if the pool item's expense type and location are recognized.


StandardInc2DisbFxRate

Double

The standard incurred to disbursed exchange rate, if the pool item's incurred currency is recognized.


Usage Example(s)

Code Block
languagexml
titleExample 01
collapsetrue
               <a:PwsResourceExpenseImportPoolItemElement>
                  <a:ExpenseTypeIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ExpenseTypeId i:nil="true"/>
                     <b:ExpenseTypeName>Personal Auto Mileage</b:ExpenseTypeName>
                     <b:ExpenseTypeUid>1152921504606861203</b:ExpenseTypeUid>
                  </a:ExpenseTypeIdentity>
                  <a:IncurredOpsCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:OpsCurrencyCode>CAD</b:OpsCurrencyCode>
                     <b:OpsCurrencyId i:nil="true"/>
                  </a:IncurredOpsCurrencyIdentity>
                  <a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>London</b:LocationName>
                     <b:LocationUid>1152921504606850976</b:LocationUid>
                  </a:LocationIdentity>
                  <a:PayeeVendorIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:PoolItem>
                     <a:PoolItemId i:nil="true"/>
                     <a:PoolItemUid>1152921504606882533</a:PoolItemUid>
                     <a:Description>Hotel stay</a:Description>
                     <a:ExpenseTypeName>Personal Auto Mileage</a:ExpenseTypeName>
                     <a:IncurredAmount>9.12</a:IncurredAmount>
                     <a:IncurredAmountString>9.12</a:IncurredAmountString>
                     <a:IncurredDate>2018-03-01T00:00:00Z</a:IncurredDate>
                     <a:IncurredDateString>2018-03-01</a:IncurredDateString>
                     <a:IncurredOpsCurrencyCode>CAD</a:IncurredOpsCurrencyCode>
                     <a:IncurredVatAmount>0</a:IncurredVatAmount>
                     <a:IncurredVatAmountString>0</a:IncurredVatAmountString>
                     <a:LocationName>London</a:LocationName>
                     <a:NonBillableFlag>false</a:NonBillableFlag>
                     <a:NonBillableFlagString i:nil="true"/>
                     <a:NonImportedComment>-</a:NonImportedComment>
                     <a:OverrideClientAmount i:nil="true"/>
                     <a:OverrideClientAmountString i:nil="true"/>
                     <a:PayeeVendorName i:nil="true"/>
                     <a:ProjectCode>P001053-001</a:ProjectCode>
                     <a:ResourceDisplayName>Bruce Wayne</a:ResourceDisplayName>
                     <a:TotalAmountDisbursedCurrency>9.12</a:TotalAmountDisbursedCurrency>
                     <a:TotalAmountDisbursedCurrencyString>9.12</a:TotalAmountDisbursedCurrencyString>
                     <a:Udf1 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:BooleanValue i:nil="true"/>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                        <b:NumericValue i:nil="true"/>
                     </a:Udf1>
                     <a:Udf1String i:nil="true"/>
                     <a:Udf2 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:BooleanValue>true</b:BooleanValue>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                        <b:NumericValue i:nil="true"/>
                     </a:Udf2>
                     <a:Udf2String i:nil="true"/>
                     <a:Units>12</a:Units>
                     <a:UnitsString>12</a:UnitsString>
                  </a:PoolItem>
                  <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ProjectCode>P001053-001</b:ProjectCode>
                     <b:ProjectId i:nil="true"/>
                     <b:ProjectUid>1152921504607413582</b:ProjectUid>
                  </a:ProjectIdentity>
                  <a:ProjectName>Parsifal</a:ProjectName>
                  <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ResourceDisplayName>Bruce Wayne</b:ResourceDisplayName>
                     <b:ResourceId i:nil="true"/>
                     <b:ResourceReferenceSystemId>BW-01</b:ResourceReferenceSystemId>
                     <b:ResourceUid>1152921504606968725</b:ResourceUid>
                  </a:ResourceIdentity>
                  <a:DefaultVatPercentage i:nil="true"/>
                  <a:StandardInc2DisbFxRate i:nil="true"/>
               </a:PwsResourceExpenseImportPoolItemElement>