| | |
| | | |
| | | global Database.QueryLocator start(Database.BatchableContext bc) { |
| | | |
| | | return Database.getQueryLocator([select Id, NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3]); |
| | | return Database.getQueryLocator([select Id, NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3 AND Is_Error__c != 1]); |
| | | } |
| | | |
| | | global void execute(Database.BatchableContext BC, list<BatchIF_Log__c> scope) { |
| | |
| | | // if(updateprocessingList.size()>0){ |
| | | // update updateprocessingList; |
| | | // } |
| | | if(!Test.isRunningTest()){ |
| | | Id execBTId = Database.executeBatch(new NFM601Batch(), 200); |
| | | } |
| | | } |
| | | } |