WorkOrderCost Class |
Namespace: CorrigoService.Entities
[SerializableAttribute] public class WorkOrderCost : CorrigoEntityWithOptimisticLock
The WorkOrderCost type exposes the following members.
| Name | Description | |
|---|---|---|
| ApStateId |
AP State matching current Vendor Invoice status.
| |
| ApStatusId |
Vendor Invoice status
| |
| AuthorizationCode |
Authorization code for Vendor Invoice; set by user when Vendor Invoice status is set to predefined status “Authorized”.
Max Length=32
| |
| BillingAccount |
Billing Account associated with WO.
| |
| BillingRule |
Enumeration of values: Unknown, VendorAndServiceFee, Contract, NotBilled, ServiceFee, All, CostsAndFees.
| |
| BillToOption |
This field defines type of entity (f.i. None, Customer, WorkZone, Other) which will be billed for this WO, or lack thereof.
Zero value is allowed – it matches actual record in the lookup.
| |
| ChargeCode |
Custom charge back classification defined by client; used only when Customer Invoicing module is off.
There is predefined default value ChargeCode.None which is used by BO.
Is Required.
| |
| CheckClearDate |
Date when check to vendor was cleared. There is no business logic for this field. Value is date only, no time part.
| |
| CheckCutDate |
Payment date; set by user when Vendor Invoice status is set to predefined status “Paid”. Value is date only, no time part.
| |
| CheckNumber |
Check number; set by user when Vendor Invoice status is set to predefined status “Paid”.
Max Length=64
| |
| Contract |
Contract associated with WO.
| |
| CostState |
Enumeration of values: Pending, Submitted, Approved, Exported
Cost State matching current Cost status and matches enumeration CostState.
Is required.
| |
| CostStatusId |
Cost status.
| |
| CostsTotal |
Total amount of Costs associated with WO. Zero value is allowed.
| |
| CurrencyTypeId |
Currency type inherited from WO
| |
| CustomerNte |
Customer NTE (not to exceed).
| |
| ExpensesTotal |
Total amount of costs plus Vendor Invoice total. This represents total amount of expenses associated with WO. Zero value is allowed.
| |
| ExternalId |
External ID; used by integration clients.
Max Length=64
| |
| GlAccount |
GL Account number.
Max Length=32
| |
| IsPreBilled |
True means this is pre-billed vendor invoice. Such vendor invoices can be created from PM/RM templates; they have distinct WON workflow in 6.x.
| |
| Items |
Financial Items
| |
| JobCode |
Job Code; this field has no associated business logic and set manually by user.
Max Length=32
| |
| Number |
Vendor Invoice Number. This value is set either manually or by WON provider when invoice is submitted.
Max Length=32
| |
| PaymentAmount |
Amount paid to vendor; set by user when Vendor Invoice status is set to predefined status “Paid”.
| |
| PaymentNotes |
Payment Notes.
Max Length=3072
| |
| ServiceFeesTotal |
Total amount of service fees. Precision 2 digits; negative and zero values are allowed. This value is computed by BO.
| |
| TaxDetails |
Tax Details based on Tax Validation Note
| |
| TaxStatus |
Enumeration of values: Unknown, None, Success, Failure, Provider
| |
| TaxValidationNote |
Tax Validation Note
| |
| VendorInvoiceDate |
Vendor invoice submission date provided received from 6.x. Value is date only, no time part.
| |
| VendorInvoiceReceivedDate |
Actual vendor invoice submission date (automatically set when invoice is received from 6.x). Value is date only, no time part.
| |
| VendorInvoiceTotal |
Vendor Invoice total amount. Zero value is allowed.
|