Frosty the Coder
Legendary Poster
In this never-ending implementation, now-live w/out a paddle,
they had me mod P4210 to analyze supply/demand for stock
items, and return the exact date that the end customer can expect product.
The end date (RSDJ) being today + "avail date" + pick-to-ship + shipping days.
Some of the "+values" are calendar days, others are shop-floor (F0007) days,
so it accounts for holidays and weekends.
Also returned are scheduled-pick (PDDJ) and estimated-ship (PPDJ).
As this is called from SOE, we accounted for other lines on this order for this item,
that MAY have been changed by reading F42UI11 cache.
When processing KITS, P4210 does this for all the components, finding the slowest one,
and change all other components and the parent to reflect this date.
As they were "too busy" to test DURING the implementation,
we are now finding that all this wonderful code,
being accessed by many many users at the same time,
from spots we never expected is SLOW.
NOW, we are scrambling to find a diff design to provide these "can't live w/out" dates.
The solution we are heading towards is to have the nightly redate
(which uses the same "dates-NER" as the interactive)
to retain it's worktable and to have the interactive access that worktable
w/OUT doing the supply/demand build/analyze.
This will provide them w/a "near time" date which would be current as of last night.
They have asked that I find out how other sites have addressed this need.
So I'm asking, "have you had to code for this requirement and what was your solution?".
TIA very very much.
Gene
they had me mod P4210 to analyze supply/demand for stock
items, and return the exact date that the end customer can expect product.
The end date (RSDJ) being today + "avail date" + pick-to-ship + shipping days.
Some of the "+values" are calendar days, others are shop-floor (F0007) days,
so it accounts for holidays and weekends.
Also returned are scheduled-pick (PDDJ) and estimated-ship (PPDJ).
As this is called from SOE, we accounted for other lines on this order for this item,
that MAY have been changed by reading F42UI11 cache.
When processing KITS, P4210 does this for all the components, finding the slowest one,
and change all other components and the parent to reflect this date.
As they were "too busy" to test DURING the implementation,
we are now finding that all this wonderful code,
being accessed by many many users at the same time,
from spots we never expected is SLOW.
NOW, we are scrambling to find a diff design to provide these "can't live w/out" dates.
The solution we are heading towards is to have the nightly redate
(which uses the same "dates-NER" as the interactive)
to retain it's worktable and to have the interactive access that worktable
w/OUT doing the supply/demand build/analyze.
This will provide them w/a "near time" date which would be current as of last night.
They have asked that I find out how other sites have addressed this need.
So I'm asking, "have you had to code for this requirement and what was your solution?".
TIA very very much.
Gene