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

Version 1 Next »

Overview


This structure contains the complete set of information about an expense document. The structure is used both to retrieve detailed expense document information and to pass information about an expense document back to the server to get updated.

Format


PwsExpenseDocumentDetail
  • PwsExpenseDocumentDetail
    • DocumentNumber: String
    • ExpenseDocumentId: Int32
    • ExpenseDocumentUid: Int64
    • CashAdvanceReturnAmount: Double
    • CostCenterIdentity: PwsCostCenterRef
    • DocumentName: String
    • DocumentType: String
    • LocationIdentity: PwsLocationRef
    • ResourceIdentity: PwsResourceRef
    • VendorIdentity: PwsVendorRef
    • VendorInvoiceDate: DateTime
    • VendorInvoiceReferenceNumber: String
    • Vendor: PwsVendorSummary
    • SubcontractorInvoiceDate: DateTime
    • SubcontractorInvoiceReferenceNumber: String
    • NewDocumentNumber: String
    • SubcontractorInvoiceReferenceNumberClearFlag: Boolean
    • Timestamp: String
    • VendorInvoiceReferenceNumberClearFlag: Boolean

Elements


Element

Data Type

Required?

Default

Description

Sample Data

DocumentNumber

String

 

 

The expense document number is a unique identifier for an expense document

 

ExpenseDocumentId

Int32

 

 

The expense document Id is a unique identifier for an expense document. For internal use only. 

 

ExpenseDocumentUid

Int64

 

 

The expense document Uid is a unique and immutable identifier for an expense document

 

CashAdvanceReturnAmount

Double

 

 

The cash advance associated with the expense document 

 

CostCenterIdentity

PwsCostCenterRef

 

 

The cost center associated with the expense document 

 

DocumentName

String

 

 

The expense document name 

 

DocumentType

String

 

 

The expense document type:

"E" for Expense Report

"V" for Vendor Invoice

"S" for Soft Cost Batch 

 

LocationIdentity

PwsLocationRef

 

 

The unique keys identifying the location associated with the expense document

 

ResourceIdentity

PwsResourceRef

 

 

The unique keys identifying the resource associated with the expense document 

 

VendorIdentity

PwsVendorRef

 

 

The unique keys identifying the vendor associated with the expense document 

 

VendorInvoiceDate

DateTime

 

 

The vendor invoice date associated with the expense document

 

VendorInvoiceReferenceNumber

String

 

 

The vendor invoice number is a unique identifier for a vendor

 

Vendor

PwsVendorSummary

 

 

The unique keys identifying the vendor associated with the expense document 

 

SubcontractorInvoiceDate

DateTime

 

 

The subcontractor invoice date associated with the expense document

 

SubcontractorInvoiceReferenceNumber

String

 

 

The subcontractor invoice reference number is a unique identifier for a subcontractor invoice

 

NewDocumentNumber

String

 

 

The new expense document number. This is used by PwsSaveExpenseDocument to support changing an existing expense document number. You can both identify an expense document by expense document number and modify the expense document by specifying the original number in DocumentNumber and the new value in NewDocumentNumber. NewDocumentNumber will always be null in responses from PwsGetExpenseDocument. Note that the expense document number may only be changed if numbering for expense documents is configured as Manual or Hybrid.


SubcontractorInvoiceReferenceNumberClearFlag

Boolean

 

 

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

 

Timestamp

String

 

 

Base64 encoded timestamp  

 

VendorInvoiceReferenceNumberClearFlag

Boolean

 

 

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

 

  • No labels