Click or drag to resize

WorkOrderCost Class

Represents work order cost. The object is used to calculate how much money should be paid for the services were done in frame of the Work Order. Web service access scope - read and update only.
Inheritance Hierarchy

Namespace: CorrigoService.Entities
Assembly: ClientXMLDoc (in ClientXMLDoc.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class WorkOrderCost : CorrigoEntityWithOptimisticLock

The WorkOrderCost type exposes the following members.

Properties
 NameDescription
Public propertyApStateId AP State matching current Vendor Invoice status.
Public propertyApStatusId Vendor Invoice status
Public propertyAuthorizationCode Authorization code for Vendor Invoice; set by user when Vendor Invoice status is set to predefined status “Authorized”. Max Length=32
Public propertyBillingAccount Billing Account associated with WO.
Public propertyBillingContact Billing Contact associated with the Billing Account
Public propertyBillingRule Enumeration of values: Unknown, VendorAndServiceFee, Contract, NotBilled, ServiceFee, All, CostsAndFees.
Public propertyBillToOption 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.
Public propertyChargeCode 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.
Public propertyCheckClearDate Date when check to vendor was cleared. There is no business logic for this field. Value is date only, no time part.
Public propertyCheckCutDate Payment date; set by user when Vendor Invoice status is set to predefined status “Paid”. Value is date only, no time part.
Public propertyCheckNumber Check number; set by user when Vendor Invoice status is set to predefined status “Paid”. Max Length=64
Public propertyContract Contract associated with WO.
Public propertyCostState Enumeration of values: Pending, Submitted, Approved, Exported Cost State matching current Cost status and matches enumeration CostState. Is required.
Public propertyCostStatusId Cost status.
Public propertyCostsTotal Total amount of Costs associated with WO. Zero value is allowed.
Public propertyCurrencyTypeId Currency type inherited from WO
Public propertyCustomerNte Customer NTE (not to exceed).
Public propertyExpensesTotal Total amount of costs plus Vendor Invoice total. This represents total amount of expenses associated with WO. Zero value is allowed.
Public propertyExternalId External ID; used by integration clients. Max Length=64
Public propertyGlAccount GL Account number. Max Length=32
Public propertyIsPreBilled 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.
Public propertyItems Financial Items
Public propertyJobCode Job Code; this field has no associated business logic and set manually by user. Max Length=32
Public propertyNumber Vendor Invoice Number. This value is set either manually or by WON provider when invoice is submitted. Max Length=32
Public propertyPaymentAmount Amount paid to vendor; set by user when Vendor Invoice status is set to predefined status “Paid”.
Public propertyPaymentNotes Payment Notes. Max Length=3072
Public propertyServiceDate 
Public propertyServiceFeesTotal Total amount of service fees. Precision 2 digits; negative and zero values are allowed. This value is computed by BO.
Public propertyTaxDetails Tax Details based on Tax Validation Note
Public propertyTaxIdPrimary 
Public propertyTaxIdSecondary 
Public propertyTaxStatus Enumeration of values: Unknown, None, Success, Failure, Provider
Public propertyTaxValidationNote Tax Validation Note
Public propertyVendorInvoiceDate Vendor invoice submission date provided received from 6.x. Value is date only, no time part.
Public propertyVendorInvoiceReceivedDate Actual vendor invoice submission date (automatically set when invoice is received from 6.x). Value is date only, no time part.
Public propertyVendorInvoiceTotal Vendor Invoice total amount. Zero value is allowed.
Top
See Also