diff --git a/src/Functions/Projects/AbstractTimesheetEntry.ts b/src/Functions/Projects/AbstractTimesheetEntry.ts index ceedcb22..be8fa50c 100644 --- a/src/Functions/Projects/AbstractTimesheetEntry.ts +++ b/src/Functions/Projects/AbstractTimesheetEntry.ts @@ -29,7 +29,11 @@ export default abstract class AbstractTimesheetEntry extends AbstractFunction im public description: string; public notes: string; public taskRecordNo: number; + public taskId: string; + public costTypeId: string; public timeTypeName: string; + public laborClassId: string; + public laborUnionId: string; public billable: boolean; public overrideBillingRate: number; public overrideLaborCostRate: number; diff --git a/src/Functions/Projects/TimesheetEntryCreate.ts b/src/Functions/Projects/TimesheetEntryCreate.ts index 86feb2a0..bd4f3134 100644 --- a/src/Functions/Projects/TimesheetEntryCreate.ts +++ b/src/Functions/Projects/TimesheetEntryCreate.ts @@ -31,8 +31,12 @@ export default class TimesheetEntryCreate extends AbstractTimesheetEntry { xml.writeElement("DESCRIPTION", this.description); xml.writeElement("NOTES", this.notes); + xml.writeElement("TASKID", this.taskId); xml.writeElement("TASKKEY", this.taskRecordNo); + xml.writeElement("COSTTYPEID", this.costTypeId); xml.writeElement("TIMETYPE", this.timeTypeName); + xml.writeElement("LABORCLASSID", this.laborClassId); + xml.writeElement("LABORUNIONID", this.laborUnionId); xml.writeElement("BILLABLE", this.billable); xml.writeElement("EXTBILLRATE", this.overrideBillingRate); diff --git a/src/Functions/Projects/TimesheetEntryUpdate.ts b/src/Functions/Projects/TimesheetEntryUpdate.ts index 9a021114..8736fc57 100644 --- a/src/Functions/Projects/TimesheetEntryUpdate.ts +++ b/src/Functions/Projects/TimesheetEntryUpdate.ts @@ -32,8 +32,12 @@ export default class TimesheetEntryUpdate extends AbstractTimesheetEntry { xml.writeElement("DESCRIPTION", this.description); xml.writeElement("NOTES", this.notes); + xml.writeElement("TASKID", this.taskId); xml.writeElement("TASKKEY", this.taskRecordNo); + xml.writeElement("COSTTYPEID", this.costTypeId); xml.writeElement("TIMETYPE", this.timeTypeName); + xml.writeElement("LABORCLASSID", this.laborClassId); + xml.writeElement("LABORUNIONID", this.laborUnionId); xml.writeElement("BILLABLE", this.billable); xml.writeElement("EXTBILLRATE", this.overrideBillingRate);