Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #27102 All Revisions ] Back to Issue ]
Summary 0027102: Create Variants method is not setting the correct organization in table m_product_ch_value
Revision 2014-07-17 18:18 by jecharri
Steps To Reproduce -Go to ERP and create a "product characteristic" with check "Variant" checked.
-Go to window product and create a product with org '*'
-Set the product as generic and insert created "product characteristic"
-Change the user organization to "Vall blanca User"
-After that, select again the product and press in "Create variants"

You will see that created product has "Vall blanca User" organization in table "m_product_ch_value" instead of "*"

You can use the following query to check

select chv.ad_org_id,p.ad_org_id,c.ad_org_id,v.ad_org_id
from m_product_ch_value chv
  join m_product p on p.m_product_id = chv.m_product_id
  join m_characteristic c on c.m_characteristic_id = chv.m_characteristic_id
  join m_ch_value v on v.m_ch_value_id = chv.m_ch_value_id

It will be necessary to create a module script

When this issue is fixed, check also related issue 27117
Revision 2014-07-16 21:10 by jecharri
Steps To Reproduce -Go to ERP and create a "product characteristic" with check "Variant" checked.
-Go to window product and create a product with org '*'
-Set the product as generic and insert created "product characteristic"
-Change the user organization to "Vall blanca User"
-After that, select again the product and press in "Create variants"

You will see that created product has "Vall blanca User" organization in table "m_product_ch_value" instead of "*"

You can use the following query to check
select chv.ad_org_id,p.ad_org_id,c.ad_org_id,v.ad_org_id
from m_product_ch_value chv
  join m_product p on p.m_product_id = chv.m_product_id
  join m_characteristic c on c.m_characteristic_id = chv.m_characteristic_id
  join m_ch_value v on v.m_ch_value_id = chv.m_ch_value_id

It will be necessary to create a module script
Revision 2014-07-16 21:08 by jecharri
Steps To Reproduce -Go to ERP and create a "product characteristic" with check "Variant" checked.
-Go to window product and create a product with org '*'
-Set the product as generic and insert created "product characteristic"
-Change the user organization to "Vall blanca User"
-After that, select again the product and press in "Create variants"

You will see that created product has "Vall blanca User" organization in table "m_product_ch_value" instead of "*"

You can use the following query to check
select chv.ad_org_id,p.ad_org_id,c.ad_org_id,v.ad_org_id
from m_product_ch_value chv
  join m_product p on p.m_product_id = chv.m_product_id
  join m_characteristic c on c.m_characteristic_id = chv.m_characteristic_id
  join m_ch_value v on v.m_ch_value_id = chv.m_ch_value_id


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker