Good Afternoon Sebastian.
I anticipated on that question, yes.
1. For a possible mdb update, search for offering_id
select offering_id,offering_name from usm_offering where offering_name like '%Desk Phone Acc%'
2a. Take offering_id from 1-result. The offering_id shows 10121. And the next query then is:
select
o.offering_id,o.offering_name,
ori.id,ori.parent_id,
rp.rate_plan_id,rp.rate_plan_name,rp.description,
rd.rate_plan_id,rd.rate_row,rd.rate_col,rd.item_text,rd.text_1,rd.category,rd.category_class
from usm_offering o,usm_offering_rplan_inclusion ori,usm_rate_plan rp,usm_rate_definition rd
where o.offering_id=10121
and o.offering_id = ori.parent_id
and ori.child_id = rp.rate_plan_id
and rp.rate_plan_id = rd.rate_plan_id
order by rate_row,rate_col asc
The rate_row and rate_col values, determine the order in which the options appear in the SOG.
Which seems not to be easy to change that through an mdb update query.
-----
2b. To only select the SOG-option names:
select
o.offering_id,o.offering_name,
ori.id,ori.parent_id,
rp.rate_plan_id,rp.rate_plan_name,rp.description,
rd.rate_plan_id,rd.rate_row,rd.rate_col,rd.item_text,rd.text_1,rd.category,rd.category_class
from usm_offering o,usm_offering_rplan_inclusion ori,usm_rate_plan rp,usm_rate_definition rd
where o.offering_id=10121
and o.offering_id = ori.parent_id
and ori.child_id = rp.rate_plan_id
and rp.rate_plan_id = rd.rate_plan_id
and rate_col = 0
order by rate_row,rate_col asc
Should you decide >> Please be careful!!
Stop all mdb processing and make a backup first.
Kind regards, Louis.