used SLAVE Engine for run schedule job
On HiPortfolio 3V7 the Job Schedule can be set skip weekend and
holiday. but if your job schedule is run report delay. for example
run report date 1 oct 2009 on job date 2 oct 2009
you can found problem about skip weekend or skip holiday
on after skip date report date is not relative on previous date
for example
you run report delay 1 day (working day, Mon-Fri) skip weekend
Expectation job is
Job Date Report Date
Tue - Mon
Wed - Tue
Thu - Wed
Fri - Thu
Mon - Fri
but the last job in current version is
Job Date Report Date
Tue - Mon
Wed - Tue
Thu - Wed
Fri - Thu
Mon - Sun (it's incorrect)
Solution:
Job Date Report Date
Tue - Mon > Job1
Wed - Tue > Job1
Thu - Wed > Job1
Fri - Thu > Job1
Mon - Fri > Job2
you split job to 2 Job schedule
1. First Job is run between Tue-Fri (report Date Mon-Thu) and job skip weekend and holiday and create caladar for this job with every Monday is Holiday, Replace queue with 1 day
and Increment Date1, Date2 with 1 day
1.1 Crate new Currency for Calandar use Menu Mainenance>Reference file> Groups, classes,currencies, etc. > Currency code/ region> Currency Code
1.2 Create Calandar with Monday is holiday
1.3Crate Job with skip weekend and holiday and use calandar that Monday is holiday
2. Second Job is run on Monday (report date Friday) and skip is none recursive with
replace queue every 7 days, and Increment Date1, Date2 with 7 day
Reference to: HiPortfolio 3V7 week 549, On Windows Plat form
ไม่มีความคิดเห็น:
แสดงความคิดเห็น