//
//  PhysicalInventoryDataController.h
//  EAMiPadConnected
//
//  Created by Satish Kumar Jakkula on 3/11/16.
//
//

#import "RecordDataController.h"

@class R5TRANSACTIONS;
@class R5STOCKTAKELINES;

@protocol PhysicalInventoryTableViewCellDelegate2 <NSObject>

@optional
- (void)physicalInventoryDataControllerGetSuccess:(NSArray *)models withType:(WebQueryRequestType)type withModel:(NSString *)modelName;
- (void)physicalInventoryDataControllerFailed:(NSString *)fault;

@end

@interface PhysicalInventoryDataController : RecordDataController
{
    R5TRANSACTIONS   *_recordValue;
    R5STOCKTAKELINES *_currentStockLine;
}


@property (nonatomic    )   BOOL forDataUpload;
@property (nonatomic    )   ConnectionMode   connectionMode;

- (void)getTransactionWithCurrentPosition:(int )currentPosition;
- (void)getPhysicalInventory:(NSString *)strTransactionId andTransactionLine:(NSString *)strTransactionLine andPartFilter:(NSString *)partFilter andCurrentPosition:(int )currentPosition;
- (void)savePhysicalInventory:(R5STOCKTAKELINES *)stockLine;
- (void)getPhysicalInventoryStockLine:(WebQueryParameters *)params;

@end
