//
//  R5EVENTS.h
//  EAMMobile
//
//  Created by Weikang Ding on 2/15/11.ƒ
//  Copyright 2011 Infor. All rights reserved.
//

//#import <CoreData/CoreData.h>

#import "RecordData.h"

@interface R5EVENTS :  RecordData
{
	
}


@property (nonatomic, strong) NSString  * EVT_ENTEREDBY;
@property (nonatomic, strong) NSDate    * EVT_TFPROMISEDATE;
@property (nonatomic, strong) NSDate    * EVT_PFPROMISEDATE;
@property (nonatomic, strong) NSDate    * EVT_TFDATECOMPLETED;
@property (nonatomic, strong) NSString  * OBJ_ALIAS; 
@property (nonatomic, strong) NSString  * EVT_DESC; 
@property (nonatomic, strong) NSString  * EVT_STATUS; 
@property (nonatomic, strong) NSDate    * EVT_SCHEDEND;
@property (nonatomic, strong) NSString  * EVT_PRIORITY;
@property (nonatomic, strong) NSString  * EVT_CLASS;
@property (nonatomic, strong) NSString  * EVT_JOBTYPE_DESC;
@property (nonatomic, strong) NSString  * EVT_STANDWORK;
@property (nonatomic, strong) NSString  * EVT_ORG_DESC;
@property (nonatomic, strong) NSString  * EVT_REQM_DESC;
@property (nonatomic, strong) NSString  * EVT_PARENT;
@property (nonatomic, strong) NSDate    * EVT_REPORTED;
@property (nonatomic, strong) NSString  * EVT_ORIGIN;
@property (nonatomic, strong) NSString  * EVT_ORIGIN_DESC;
@property (nonatomic, strong) NSString  * EVT_WARRANTY;
@property (nonatomic, strong) NSString  * EVT_SAFETY;
@property (nonatomic, strong) NSString  * EVT_STANDWORK_DESC;
@property (nonatomic, strong) NSString  * EVT_MRC_DESC;
@property (nonatomic, strong) NSString  * EVT_PERSON;
@property (nonatomic, strong) NSString  * EVT_PERSON_DESC;
@property (nonatomic, strong) NSString  * EVT_MRC;
@property (nonatomic, strong) NSString  * EVT_JOBTYPE;
@property (nonatomic, strong) NSString  * EVT_LOCATION;
@property (nonatomic, strong) NSString  * EVT_LOCATION_ORG;
@property (nonatomic, strong) NSString  * EVT_LOCATION_DESC;
@property (nonatomic, strong) NSString  * EVT_OBJECT;
@property (nonatomic, strong) NSString  * EVT_OBJECT_DESC;
@property (nonatomic, strong) NSString  * EVT_OBJECT_ORG;
@property (nonatomic, strong) NSString  * EVT_CLASS_DESC;
@property (nonatomic, strong) NSString  * EVT_COSTCODE_DESC;
@property (nonatomic, strong) NSString  * EVT_PRIORITY_DESC;
@property (nonatomic, strong) NSString  * EVT_RSTATUS;
@property (nonatomic, strong) NSString  * EVT_CLASS_ORG;
@property (nonatomic, strong) NSString  * EVT_ORG;
@property (nonatomic, strong) NSString  * EVT_COSTCODE;
@property (nonatomic, strong) NSString  * EVT_REQM;
@property (nonatomic, strong) NSString  * EVT_CODE;
@property (nonatomic, strong) NSString  * EVT_STATUS_DESC;
@property (nonatomic, strong) NSDate    * EVT_TARGET;
@property (nonatomic, strong) NSString  * EVT_TYPE;
@property (nonatomic, strong) NSString  * EVT_PROJECT;
@property (nonatomic, strong) NSString  * EVT_PROJBUD;
@property (nonatomic, strong) NSString  * EVT_OBJCRITICALITY;
@property (nonatomic, strong) NSString  * EVT_METUOM;
@property (nonatomic, strong) NSString  * EVT_CREATEDBY;
@property (nonatomic, strong) NSDate    * EVT_DUE;
@property (nonatomic, strong) NSString  * EVT_PPMREV;
@property (nonatomic, strong) NSString  * EVT_PPMORG;
@property (nonatomic, strong) NSString  * EVT_ADDRESS;

//new properties as per new requirment
@property (nonatomic, strong) NSString  *ACT_EVENT;
@property (nonatomic, strong) NSString  *ACT_ACT;
@property (nonatomic, strong) NSString  *ACT_TRADE;
@property (nonatomic, strong) NSString  *ACT_TASK;
@property (nonatomic, strong) NSString  *ACT_TASKREV;
@property (nonatomic, strong) NSDate    *ACT_START;
@property (nonatomic, strong) NSDate    *ACT_END;
@property (nonatomic, strong) NSString  *ACT_MRC;
@property (nonatomic, strong) NSString  *ACT_PEOPLEREQUIRED;
@property (nonatomic, strong) NSString  *ACT_ESTIMATEDHOURS;
@property (nonatomic, strong) NSMutableArray  * ACT_ACTIVITIES;

//this EVT_UPDATESTATUS is to store the status value to query ucode in update mode
@property (nonatomic, strong) NSString  * EVT_UPDATESTATUS;
@property (nonatomic, strong) NSString  *latitude;
@property (nonatomic, strong) NSString  *longitude;
@property (nonatomic, strong) NSNumber  *EVT_XCOORDINATE;
@property (nonatomic, strong) NSNumber  *EVT_YCOORDINATE;
@property (nonatomic, strong) NSString  *xmldata;
@property (nonatomic, strong) NSString  *OBJ_CLASS;
@property (nonatomic, strong) NSString  *OBJ_CLASS_ORG;
@property (nonatomic, strong) NSString  *OBJ_CATEGORY;
@property (nonatomic, strong) NSString  *OBJ_OBTYPE;
@property (nonatomic, strong) NSString  *OBJ_CGMP;
@property (nonatomic, strong) NSString  *EVT_STANDARDWODURATION;
@property (nonatomic, strong) NSString  *EVT_TYPEDESCRIPTION;
//- (NSString *)woSyncRequestforXML:(NSString *)woXML;
//- (NSString *)woAddRequest;
//EVENTS_EREC fields
@property (nonatomic, strong) NSString  *EVT_ESUSER;
@property (nonatomic, strong) NSString  *EVT_ESPASSWORD;
@property (nonatomic, strong) NSString  *EVT_ESTYPE;
@property (nonatomic, strong) NSString  *EVT_ESCERTNUM;
@property (nonatomic, strong) NSString  *EVT_ESCERTTYPE;
@property (nonatomic, strong) NSDate  *EVT_EXTERNALDATE;
//EVENTS_EREC fields
//Close Work Order
@property (nonatomic, strong) NSString  * EVT_CAUSE;
@property (nonatomic, strong) NSString  * EVT_CAUSE_DESC;
@property (nonatomic, strong) NSString  * EVT_FAILURE;
@property (nonatomic, strong) NSString  * EVT_FAILURE_DESC;
@property (nonatomic, strong) NSString  * EVT_ACTION;
@property (nonatomic, strong) NSString  * EVT_ACTION_DESC;
@property (nonatomic, strong) NSDate    * EVT_COMPLETED;
@property (nonatomic, strong) NSDate    * EVT_START;
@property (nonatomic, strong) NSNumber  * EVT_DOWNTIME;
@property (nonatomic, strong) NSNumber  * EVT_DOWNTIMEHRS;
@property (nonatomic, strong) NSDecimalNumber  * EVT_FAILUREUSAGE;
@property (nonatomic, strong) NSString  * EVT_PPM;
@property (nonatomic, strong) NSString  * EVT_CLOSECOMMENT;
@property (nonatomic        ) BOOL        isCloseWorkOrder;
@property (nonatomic, strong) NSArray   * EVT_CUSTOMFIELDS;
@property (nonatomic, strong) NSString  * EVT_CONFIRMCHECKLIST;
@property (nonatomic, strong) NSString  * EVT_CONFIRMDELETECHECKLIST;
@property (nonatomic, strong) NSString  *EVT_CONFIRMDELETE;
@property (nonatomic, strong) NSDate    *EVT_REQUESTSTART;
@property (nonatomic, strong) NSDate    *EVT_REQUESTEND;
//Close Work Order

//<--MEC
@property (nonatomic, strong) NSString  * EVT_MULTIEQUIP;
@property (nonatomic, strong) NSString  * EVT_REPLACE_MEC;
@property (nonatomic, strong) NSString  * EVT_RTYPE;
@property (nonatomic, strong) NSString  * EVT_OBTYPE;
@property (nonatomic, strong) NSString  * EVT_OBRTYPE;
@property (nonatomic, strong) NSString  * EVT_OBJECT_TYPE_DESC;
//MEC-->

//<--Linear assets related fields

@property (nonatomic, strong) NSString  * LINEARREFUOM;

@property (nonatomic, strong) NSString  * EVT_FROMPOINT;
@property (nonatomic, strong) NSString  * EVT_FROMPOINT_ALT_POINT;
@property (nonatomic, strong) NSDecimalNumber  * EVT_FROMPOINT_UPLOAD;
@property (nonatomic, strong) NSString  * EVT_FROMREFDESC;
@property (nonatomic, strong) NSString  * EVT_FROMGEOREF;

@property (nonatomic, strong) NSString  * EVT_TOPOINT;
@property (nonatomic, strong) NSString  * EVT_TOPOINT_ALT_POINT;
@property (nonatomic, strong) NSDecimalNumber  * EVT_TOPOINT_UPLOAD;
@property (nonatomic, strong) NSString  * EVT_TOREFDESC;
@property (nonatomic, strong) NSString  * EVT_TOGEOREF;

@property (nonatomic, strong) NSString  * EVT_INSPECTIONDIRECTION_DESC;
@property (nonatomic, strong) NSString  * EVT_FLOW_DESC;
@property (nonatomic, strong) NSString  * EVT_INSPECTIONDIRECTION;
@property (nonatomic, strong) NSString  * EVT_FLOW;
@property (nonatomic, strong) NSString  *EVT_RELATIONSHIP_TYPE;
@property (nonatomic, strong) NSString  *EVT_RELATIONSHIP_TYPE_DESC;

@property (nonatomic, strong) NSString  *EVT_FROM_REFERENCE;
@property (nonatomic, strong) NSString  *EVT_FROM_REFERENCE_POINT;
@property (nonatomic, strong) NSDecimalNumber  *EVT_FROM_OFFSET;
@property (nonatomic, strong) NSDecimalNumber  *EVT_FROM_OFFSET_PERCENTAGE;
@property (nonatomic, strong) NSString  *EVT_FROM_OFFSET_DIRECTION;
@property (nonatomic, strong) NSString  *EVT_FROM_OFFSET_DIRECTION_DESC;
@property (nonatomic, strong) NSString  *EVT_FROM_LR_REFERENCE;
@property (nonatomic, strong) NSString  *EVT_FROM_LR_REFERENCE_POINT;
@property (nonatomic, strong) NSDecimalNumber  *EVT_FROM_LR_OFFSET;
@property (nonatomic, strong) NSString  *EVT_FROM_LR_OFFSET_DIRECTION;
@property (nonatomic, strong) NSString  *EVT_FROM_LR_OFFSET_DIRECTION_DESC;

@property (nonatomic, strong) NSString  *EVT_TO_REFERENCE;
@property (nonatomic, strong) NSString  *EVT_TO_REFERENCE_POINT;
@property (nonatomic, strong) NSDecimalNumber  *EVT_TO_OFFSET;
@property (nonatomic, strong) NSDecimalNumber  *EVT_TO_OFFSET_PERCENTAGE;
@property (nonatomic, strong) NSString  *EVT_TO_OFFSET_DIRECTION;
@property (nonatomic, strong) NSString  *EVT_TO_OFFSET_DIRECTION_DESC;
@property (nonatomic, strong) NSString  *EVT_TO_LR_REFERENCE;
@property (nonatomic, strong) NSString  *EVT_TO_LR_REFERENCE_POINT;
@property (nonatomic, strong) NSDecimalNumber  *EVT_TO_LR_OFFSET;
@property (nonatomic, strong) NSString  *EVT_TO_LR_OFFSET_DIRECTION;
@property (nonatomic, strong) NSString  *EVT_TO_LR_OFFSET_DIRECTION_DESC;
@property (nonatomic, strong) NSDecimalNumber  *OBJ_FROMPOINT;
@property (nonatomic, strong) NSString  *OBJ_DIRECTION;




// Linear assets related fields-->

//Work Order Location fields
@property (nonatomic, strong) NSNumber  * EVT_LATITUDE;
@property (nonatomic, strong) NSNumber  * EVT_LONGITUDE;

@property (nonatomic, strong) NSString  * EVT_OBJECT_GISOBJID;
@property (nonatomic, strong) NSString  * EVT_OBJECT_GISLAYER;

//Work Order Maintainence Fields
@property (nonatomic, strong) NSString  *EVT_MP;
@property (nonatomic, strong) NSNumber  *EVT_MP_SEQ;

//Work Order Permission related information
@property (nonatomic) BOOL  departmentSecurityReadOnly;
@property (nonatomic) BOOL  jtAuthReadOnly;
@property (nonatomic, strong) NSString  * EVT_IMAGEURL;
@property (nonatomic, strong) NSString  * EVT_LACONFIRM;

//Non Conformity Flag for PM Records;
@property (nonatomic, strong) NSString * EVT_PPOINCLUDENONCONFORMITIES;
@property (nonatomic, ) BOOL hasNonConformityRecords;

//Service Code related fields
@property (nonatomic, strong) NSString *EVT_SERVICEPROBLEM;
@property (nonatomic, strong) NSString *EVT_SERVICEPROBLEM_DESC;
@property (nonatomic, strong) NSString *EVT_SERVICEPROBLEM_ORG;
@property (nonatomic, strong) NSString *EVT_SUPPLIER;
@property (nonatomic, strong) NSString *EVT_SUPPLIER_DESC;
@property (nonatomic, strong) NSString *EVT_SUPPLIER_ORG;
@property (nonatomic, strong) NSString *EVT_SERVICECATEGORY;
@property (nonatomic, strong) NSString *EVT_SERVICECATEGORY_DESC;
@property (nonatomic, strong) NSString *EVT_SERVICECATEGORY_ORG;
@property (nonatomic, strong) NSString *PERMTURNAROUND;
@property (nonatomic, strong) NSString *PERMTURNAROUNDUNIT;
@property (nonatomic, strong) NSString *TEMPTURNAROUND;
@property (nonatomic, strong) NSString *TEMPTURNAROUNDUNIT;
@property (nonatomic, strong) NSString *SPCVALIDATION;

@property (nonatomic, strong) NSDate    *EVT_CREATED;

@property (nonatomic, strong) NSString *EVT_SCHEDGRP;
@property (nonatomic, strong) NSString *EVT_SCHEDGRP_DESC;
@property (nonatomic, strong) NSString *EVT_ROUTE;
@property (nonatomic, strong) NSString *EVT_ROUTE_DESC;
@property (nonatomic, strong) NSString *EVT_CAMPAIGN;
@property (nonatomic, strong) NSString *EVT_CAMPAIGN_ORG;
@property (nonatomic, strong) NSString *EVT_CAMPAIGN_LINE;
@property (nonatomic, strong) NSString *EVT_CAMPAIGN_SURVEY;

@property (nonatomic, strong) NSNumber *EVT_CLOSINGLATITUDE;
@property (nonatomic, strong) NSNumber *EVT_CLOSINGLONGITUDE;
@end



