Demand Schedule BPM


I don't have Periodicity turned on.

---In vantage@yahoogroups.com, <tracy.smith@...> wrote:

Not sure what you're calculations include but have you looked at Periodicity? 

I am working on a BPM that will override the Demand Schedule logic to calculate Need By and Ship By(ReqDate). I have this ABL code in place, but even when I see the data directive running in the app server logs the Ship By Date cannot be overwritten.


Any ideas? Here are more details:


Data Directive: In-Transaction

Conditions: For Each ttdemandschedule where ttdemandSchedule.RowMod = "A" no-lock.




Find first UD04 where ud04.Company = ttdemandschedule.Company and UD04.Key2 = STRING(ttdemandschedule.CustNum) and INT(UD04.Key3) = INT(ttdemandschedule.Number01) 

If available UD04 then do:

ASSIGN ttdemandSchedule.ReqDate = ttdemandschedule.NeedByDate - INT(ttdemandschedule.Number02)

end.


Not sure what you're calculations include but have you looked at Periodicity?