ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: Variant Features @ Invoice
Date Sun, 17 Oct 2010 08:17:39 GMT
if I remember right the orderItem has an relationship to the feature.
you can pull the data from that into the invioceitem.Itemdescription


=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Rene Scheibe sent the following on 10/16/2010 4:00 AM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was wondering how the features of a product variant make it into
> the order/invoice if they are not saved within the product name?
>
> Scenario:
> Customer buys variant 1 with Features "red" and "XXL".
> There are plenty of methods to show them on the product detail page
> or in the cart - e.g.:
>
> ProductWorker.getVariantDistinguishingFeatures(product)
> ProductWorker.getProductFeaturesByApplTypeId(product, 'STANDARD_FEATURE')
>
> But they cannot be used for the order/invoice as variants can change
> (e.g.: entity ProductFeatureAppl) but the invoice should not change.
>
> So is the feature info already stored somewhere else for the order/invoice
> or how to do so?
>
> Cheers,
> René
> - --
> René Scheibe * rene.scheibe@tngtech.com
> TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
> Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
> Sitz: Unterföhring * Amtsgericht München * HRB 135082
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAky5hccACgkQUXs9EHvIuCr9UACdHZPP/qq+mAPkhN61QIX4//11
> kaEAn2RuAezflfnpk/YM9s5siqDeXR9q
> =4Ezp
> -----END PGP SIGNATURE-----
>


Mime
View raw message