Those are relationship names. For more information I highly recommend looking at the documentation on the ofbiz.org site, including the Entity Engine Guide and the Framework Introduction videos. Even better, achieve an extensive knowledge of the with the Advanced Framework package from Undersun.

http://www.undersunconsulting.com/ecommerce/control/product/ ~product_id=OFBADVFWKPKG

-David


On Sep 14, 2006, at 5:06 AM, Purani S wrote:

Hi,
The following lines are taken from "applications\product\webapp \catalog\WEB-INF\actions\product\EditProductAssoc.bsh".


if (product != null) {
assocFromProducts = product.getRelated("MainProductAssoc", null, UtilMisc.toList("sequenceNum"));
    context.put("assocFromProducts", assocFromProducts);

    assocToProducts = product.getRelated("AssocProductAssoc");
    context.put("assocToProducts", assocToProducts);
}


I don't understand where from the variables "MainProductAssoc" and "AssocProductAssoc". I searched for the entities in this name. But I could not find out.

Could I please get some help regarding this.

Thanks
Purani

Reply via email to