Versions Compared

Key

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

...

Panel
titlePwsExpenseDocumentDetail
  • PwsExpenseDocumentDetail
    • DocumentNumber: String (50)
    • ExpenseDocumentId: Int32
    • ExpenseDocumentUid: Int64
    • CashAdvanceReturnAmount: Double
    • CostCenterIdentity: PwsCostCenterRef
    • DocumentName: String (100)
    • DocumentType: String (1)
    • LocationIdentity: PwsLocationRef
    • ResourceIdentity: PwsResourceRef
    • VendorIdentity: PwsVendorRef
    • VendorInvoiceDate: DateTime
    • VendorInvoiceReferenceNumber: String (20)
    • Vendor: PwsVendorSummary
    • SubcontractorInvoiceDate: DateTime
    • SubcontractorInvoiceReferenceNumber: String (20)
    • NewDocumentNumber: String (50)
    • 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

 

false

 

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

 


Timestamp

String

 

 


Base64 encoded timestamp  

  


VendorInvoiceReferenceNumberClearFlag

Boolean

 

false

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