added network error to excluded errors in coc file availability check
This commit is contained in:
parent
86595476d5
commit
8f339106bd
@ -159,7 +159,8 @@ Service CheckFileAvailability(StartDate, EndDate)
|
|||||||
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
|
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
|
||||||
end
|
end
|
||||||
end else
|
end else
|
||||||
If Count(ErrTest, 'ssh_init') EQ 0 then
|
// Ignore ssh_init and network errors
|
||||||
|
If ( (IndexC(ErrTest, 'ssh_init', 1) EQ 0) and (IndexC(ErrTest, 'Network error', 1) EQ 0 ) ) then
|
||||||
Error_Services('Add', 'Expected file for shipment ' : COCNo : ' missing.')
|
Error_Services('Add', 'Expected file for shipment ' : COCNo : ' missing.')
|
||||||
NewCOC<COC_FTP_EXISTS$> = False$
|
NewCOC<COC_FTP_EXISTS$> = False$
|
||||||
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
|
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
|
||||||
@ -341,6 +342,3 @@ CompanyExceptionCheck:
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user