//
//  R5ISSUERETURNTRANSACTIONS.h
//  EAMiPad
//
//  Created by Lakshmi Kothapalli on 1/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RecordData.h"
#import "R5IRPARTS.h"

@interface R5ISSUERETURNTRANSACTIONS : RecordData{
    NSString *TRA_CODE;
    NSString *TRA_DESC;
    NSString *TRA_IR;
    NSString *TRA_EVENT;
    NSString *TRA_ORG; //Event_org
    NSString *TRA_ACT;
    NSString *TRA_EVT_DESC;
    NSString *TRA_OBJECT;
    NSString *TRA_OBJECT_ORG;
    NSString *TRA_OBJ_DESC;
    NSString *TRA_PROJECT;
    NSString *TRA_PROJBUD;
    NSString *TRA_MRC;
    NSString *TRA_COSTCODE;
    NSString *TRA_STORE;
    NSString *TRA_STOREORG;
    //NSString *TRA_PERS;
    NSString *TRA_MATLIST;
    NSString *TRA_MATLREV;
    NSDate *TRA_DATE;
    NSString *xmldata;
}
@property (nonatomic,strong) NSString *TRA_CODE;
@property (nonatomic,strong) NSString *TRA_DESC;
@property (nonatomic,strong) NSString *TRA_IR;
@property (nonatomic,strong) NSString *TRA_EVENT;
@property (nonatomic,strong) NSString *TRA_ORG;
@property (nonatomic,strong) NSString *TRA_ACT;
@property (nonatomic,strong) NSString *TRA_EVT_DESC;
@property (nonatomic,strong) NSString *TRA_OBJECT;
@property (nonatomic,strong) NSString *TRA_OBJECT_ORG;
@property (nonatomic,strong) NSString *TRA_OBJ_DESC;
@property (nonatomic,strong) NSString *TRA_PROJECT;
@property (nonatomic,strong) NSString *TRA_PROJBUD;
@property (nonatomic,strong) NSString *TRA_MRC;
@property (nonatomic,strong) NSString *TRA_MRC_ORG;
@property (nonatomic,strong) NSString *TRA_COSTCODE;
@property (nonatomic,strong) NSString *TRA_COSTCODE_ORG;
@property (nonatomic,strong) NSString *TRA_COSTCODE_DESC;
@property (nonatomic,strong) NSString *TRA_STORE;
@property (nonatomic,strong) NSString *TRA_STOREORG;
//@property (nonatomic,strong) NSString *TRA_PERS;
@property (nonatomic,strong) NSString *TRA_MATLIST;
@property (nonatomic,strong) NSString *TRA_MATLREV;
@property (nonatomic,strong) NSDate *TRA_DATE;
@property (nonatomic,strong) NSString *xmldata;

@property(nonatomic        ) BOOL hasChildWoClosed;
@property(nonatomic        ) BOOL hasAllChildClosed;
@property(nonatomic        ) BOOL isMECWo;
@property (nonatomic, strong) NSString *tra_splittrans;
@property (nonatomic, strong) NSString *trl_splittrans;
@property (nonatomic, strong) NSString *TRA_RELATED_WO;
@property (nonatomic, strong) NSString *TRA_ALL_EQUIP;
@property (nonatomic, strong) NSString *TRA_PARENT_WO;
@property (nonatomic, strong) NSString *TRA_OBJECT_TEMP;
@property (nonatomic, strong) NSString *TRA_OBJECT_ORG_TEMP;
@property (nonatomic,strong) NSString *TRA_IR_DISPLAY;


- (R5IRPARTS *)partAtIndex:(NSInteger )index;
- (void)addPart:(R5IRPARTS *)part;
- (void)clearParts;
- (NSInteger )partsCount;
- (void)replacePartAtIndex:(NSUInteger )index withPart:(R5IRPARTS *)part;
- (void)removePartAtIndex:(NSUInteger )index;

@end

