03-03-06 11:50 PM
Yeah, there are quite a few CAL* tables to go through. Not sure how
much I could help without access to your db to run some SQL queries.
I've pasted two statements from a recent project. None include
CATGPCALCD so perhaps you can incorporate that table into the first by
changing the calusage_id to fit your efforts.
select cru.calrule_id, cru.flags, cs.calscale_id, cs.code,
cs.calmethod_id, cra.calrange_id, cra.calmethod_id, cra.rangestart,
crl.value, crl.setccurr
from calrule as cru, calscale as cs, crulescale as crs, calrange as cra,
calrlookup as crl
where cru.calrule_id = crs.calrule_id and cs.calscale_id =
crs.calscale_id and cs.calscale_id = cra.calscale_id and cra.calrange_id
= crl.calrange_id and cs.calusage_id = -2
order by cru.calrule_id, cs.calscale_id, rangestart, value
select jg.jurstgroup_id, jg.description, jg.code, sm.shipmode_id,
sm.code, sm.carrier, cru.calrule_id, cs.calscale_id, cs.code,
cs.calmethod_id, cra.calrange_id, cra.calmethod_id, cra.rangestart,
crl.value, crl.setccurr
from jurstgroup as jg, shpjcrule as sjcr, shipmode as sm, calrule as
cru, calscale as cs, crulescale as crs, calrange as cra, calrlookup as crl
where jg.jurstgroup_id = sjcr.jurstgroup_id and sm.shipmode_id =
sjcr.shipmode_id and cru.calrule_id = sjcr.calrule_id and cru.calrule_id
= crs.calrule_id and cs.calscale_id = crs.calscale_id and cs.calscale_id
= cra.calscale_id and cra.calrange_id = crl.calrange_id
order by jurstgroup_id, shipmode_id, cs.calscale_id, rangestart, value
R
> Hi Robert,
>
> Yeah I flushed the registry after the changes and then stopped and restarted the i
nstance but still no go. I have been trying to dig around and see if I can find any
more details instructions on setting up something like this, but as near as i can te
ll
I have all the entries in CALCODE, CALRULE, CALSCALE, CALRANGE, CRULESCALE,
CALRLOOKUP and CATGPCALCD setup and referencing each other correctly so it i
s driving me crazy.
[ Post a follow-up to this message ]
|