Re: Product Configuration

2018-11-19 Thread Rishi Solanki
The configurable product generally assemble after order. So production run
associated with order will create inventory for it, and then can be
assigned to order item. This is what OFBiz services suggested to go with.


--
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co


On Tue, Nov 20, 2018 at 12:53 AM  wrote:

> Can you receive an item that is a product configuration?  How do you get
> it in inventory?
>
> Thanks,
>
> James
>
>  Original Message 
> Subject: Re: Product Configuration
> From: Julien NICOLAS 
> Date: Wed, November 14, 2018 3:01 am
> To: user@ofbiz.apache.org
>
> Hi Yokesh,
>
> If you prefer to understand it by using OFBiz as a standard user, let's
> follow below instructions.
>
>
> Let's configure a computer.
>
> 1 base computer, 1 RAM of 8Gb, 2 type of SSD (128 and 256)
>
> Create the computer with "Configurable Good" type. Define a sale price
> (around 800€ for a good one ;)
>
> Create the 8Gb RAM product whit "Finish Good" type. Define a sale price.
>
> Create 2 other Finish Good for SSD 128 and SSD 256 and define them a
> sale price.
>
> In the Web Application "Configurations" click on the "Create New" button
>
> _A choice for the RAM quantity :_
>
> Config item type : Single Choice
>
> Config Item Name : Quantity of RAM
>
> => Click on the Update button
>
> You are now in the choice options. Create new configuration option, go
> to "Config Options" tab and in the "Create New Config Options" define
> the 8Gb RAM option.
>
> Config Option Name : 8Gb RAM (1x8Gb)
>
> Description : 8Gb RAM (1x8Gb)
>
> Sequence Num : 10 /(the first option in the list)/
>
> The screen add a new screenlet "Add Product Component".
>
> Select the 8Gb RAM previously created and a Quantity of 1, sequ num 10
> then click on the "Create" button.
>
> Now add another config option. In the "Edit Config Options" screenlet,
> click on the "Create New Config Options" button and create the new
> config options :
>
> Config Option Name : 16Gb RAM (2x8Gb)
>
> Description : 16Gb RAM (2x8Gb)
>
> Sequence Num : 20
>
> In the "Add Product Component" add the same 8Gb RAM product but keyin 2
> in quantity.
>
> _SSD Options_
>
> Click the "[New Config Item]" button and do the same as the the RAM (but
>
> change the product for each config options)
>
> _*Link Computer and Config Options*_
>
> Go to the application "Catalog", tab "Products", select the computer
> previously created then find the button "Configurations".
>
> Here, you'll find the "Add Products Configs" screenlet. Select the RAM
> in first and the sequence num 10.
>
> IMPORTANT !!! In the "Config Type Id" you MUST select "Question" to let
> the choice to the user.
>
>
> That's all. It's as simple as that ;)
>
>
>
> Le 14/11/2018 à 10:00, yokeshwaran2...@gmail.com a écrit :
> > How to setup a configurable product in ofbiz, also how to map the
> associated products within a configurable product to be shown in e commerce.
> >
> >
> > Regards,
> > Yokesh.
> >
>


RE: Product Configuration

2018-11-19 Thread james
Can you receive an item that is a product configuration?  How do you get
it in inventory?

Thanks,

James

 Original Message 
Subject: Re: Product Configuration
From: Julien NICOLAS 
Date: Wed, November 14, 2018 3:01 am
To: user@ofbiz.apache.org

Hi Yokesh,

If you prefer to understand it by using OFBiz as a standard user, let's 
follow below instructions.


Let's configure a computer.

1 base computer, 1 RAM of 8Gb, 2 type of SSD (128 and 256)

Create the computer with "Configurable Good" type. Define a sale price 
(around 800€ for a good one ;)

Create the 8Gb RAM product whit "Finish Good" type. Define a sale price.

Create 2 other Finish Good for SSD 128 and SSD 256 and define them a 
sale price.

In the Web Application "Configurations" click on the "Create New" button

_A choice for the RAM quantity :_

Config item type : Single Choice

Config Item Name : Quantity of RAM

=> Click on the Update button

You are now in the choice options. Create new configuration option, go 
to "Config Options" tab and in the "Create New Config Options" define 
the 8Gb RAM option.

Config Option Name : 8Gb RAM (1x8Gb)

Description : 8Gb RAM (1x8Gb)

Sequence Num : 10 /(the first option in the list)/

The screen add a new screenlet "Add Product Component".

Select the 8Gb RAM previously created and a Quantity of 1, sequ num 10 
then click on the "Create" button.

Now add another config option. In the "Edit Config Options" screenlet, 
click on the "Create New Config Options" button and create the new 
config options :

Config Option Name : 16Gb RAM (2x8Gb)

Description : 16Gb RAM (2x8Gb)

Sequence Num : 20

In the "Add Product Component" add the same 8Gb RAM product but keyin 2 
in quantity.

_SSD Options_

Click the "[New Config Item]" button and do the same as the the RAM (but

change the product for each config options)

_*Link Computer and Config Options*_

Go to the application "Catalog", tab "Products", select the computer 
previously created then find the button "Configurations".

Here, you'll find the "Add Products Configs" screenlet. Select the RAM 
in first and the sequence num 10.

IMPORTANT !!! In the "Config Type Id" you MUST select "Question" to let 
the choice to the user.


That's all. It's as simple as that ;)



Le 14/11/2018 à 10:00, yokeshwaran2...@gmail.com a écrit :
> How to setup a configurable product in ofbiz, also how to map the associated 
> products within a configurable product to be shown in e commerce.
>
>
> Regards,
> Yokesh.
>


RE: VAT

2018-11-19 Thread james
Great - Are you adding to both sales and purchase side?  Any support for
the upcoming requirement in the UK to digitally report?


 Original Message 
Subject: Re: VAT
From: Jacques Le Roux 
Date: Thu, November 15, 2018 9:20 am
To: user@ofbiz.apache.org

Yes I'm working on https://issues.apache.org/jira/browse/OFBIZ-4160

It should be committed soon. Hopefully
https://issues.apache.org/jira/browse/OFBIZ-5662 too

I guess you know

https://cwiki.apache.org/confluence/display/OFBIZ/VAT

https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz%27s+Tax+Authority+Data+Model

ilscipio is based on OFBiz with adaptations

Jacques


Le 15/11/2018 à 15:52, ja...@productive1.com a écrit :
> I spoke to Scipio and unfortunately we would have to move our entire
> platform over to theirs. Has there been any development directly in
> ofbiz on VAT?
>
>  Original Message 
> Subject: Re: VAT
> From: Wolfgang Paul Rauchholz 
> Date: Thu, October 25, 2018 5:40 am
> To: user@ofbiz.apache.org
>
> Alternatively you can check Scipio ERP.
> A German derivate of ofbiz.
>
> On Thu, 25 Oct 2018 at 13:15,  wrote:
>
>> I found on the web there was some development done specifically for
>> Opentaps for sale. It covered VAT for Sales Side, Purchase Side, and
>> reporting.
>>
>> http://shop.opentaps.org/index.php/featured/vat-module-by-integratingweb.html
>>
>> I am hesitant to purchase anything on this site as I am not sure how
>> active it is. Anyone know anyone from Integrating Web, Opentaps, or
>> Shen Chi who may have access to this code?
>>
>> It includes:
>>
>> The Vat module by IntegratingWeb, an opentaps Partner, allows you to
>> easily manage VAT for sales orders, purchase orders and invoice in your
>> Opentaps CRM-ERP System. This module includes gwt integration, ledger
>> posting, detailed reports and the capability to override VAT when you
>> create an invoice.
>>
>> Features of the VAT module include:
>>
>> Adds vat to Sales orders and Purchase orders
>>
>> Calculates vat using the rate associated to the product and the geo
>> location of the customer or supplier
>>
>> Adds an extra vat number field to the crm module: account and leads.
>>
>> Vat number associated to a party can be validated with a syntax
>> validator and with the VIES system
>>
>> Prints the vat number on the invoices
>>
>> Sales and vendor vat invoices
>>
>> Vat on invoices can be overridden
>>
>> Vat posting on specific gl accounts
>>
>> Vat posting on gl accounts can be configured
>>
>> Vat reports that calculate the vat return.
>>
>> Thanks,
>>
>> James
>>
>>  Original Message 
>> Subject: Re: VAT
>> From: Wolfgang Paul Rauchholz 
>> Date: Wed, October 24, 2018 11:23 pm
>> To: user@ofbiz.apache.org
>>
>> Here some reads about treatment of VAT in ofbiz.
>> https://cwiki.apache.org/confluence/display/OFBENDUSER/08+Tax+Authorities
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-PricesWithVAT
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz%27s+Tax+Authority+Data+Model
>>
>> Wolfgang
>>
>> On Thu, Oct 25, 2018 at 4:42 AM  wrote:
>>
>>> Does Ofbiz handle VAT for the EU both on the sales side as well as
>>> purchasing side? If so has anyone explored the new electronic
>>> integration to the government that is being required in 2019?
>>>
>>> Thanks,
>>>
>>> James
>>>
>>
>> --
>>
>> Wolfgang Rauchholz
>>


Re: Webpos and sales tax

2018-11-19 Thread Frank Herrman
Hi Ingo,

This did the trick for me! The only thing that might require some further 
investigation is that it now shows this list:

* Total: 127,64
* Total promo: 0
* Total VAT: 22,15
* Total: 127,64

The first total you would probably expect the price excl. VAT (105,49 in this 
example). Not a big deal for me though.

Kind regards,
 
Frank 

Op 15-11-18 11:33 heeft Ingo Wolfmayr  geschreven:

Hi Frank,

that’s because the "getDisplayGrandTotal" method takes the subtotal of the 
cart line that already has tax included and adds the "totalSalesTax".

return 
this.getDisplaySubTotal().add(this.getTotalShipping()).add(this.getTotalSalesTax()).add(this.getOrderOtherAdjustmentTotal()).add(this.getOrderGlobalAdjustments());

I have changed it locally to:

GenericValue productStore = 
ProductStoreWorker.getProductStore(productStoreId, delegator);
if(productStore.get("showPricesWithVatTax").equals("Y")){
return 
this.getSubTotal().add(this.getTotalShipping()).add(this.getTotalSalesTax()).add(this.getOrderOtherAdjustmentTotal()).add(this.getOrderGlobalAdjustments());
}else
{
return 
this.getDisplaySubTotal().add(this.getTotalShipping()).add(this.getTotalSalesTax()).add(this.getOrderOtherAdjustmentTotal()).add(this.getOrderGlobalAdjustments());
}

I am still testing but it looks promising.

Best regards,
Ingo


-Ursprüngliche Nachricht-
Von: Frank Herrman  
Gesendet: Mittwoch, 14. November 2018 09:13
An: user@ofbiz.apache.org
Betreff: Re: Webpos and sales tax

Hi Ingo,

Thank you for your suggestion, unfortunately I already had that set for the 
facility the POS is connected to. I have set it for the other facilities as 
well, but that did not work out.

I have messed around with the code to get it to work and ended up with 
something that seems to work. However, if I set 'show pricies including taxes' 
to my store it adds the tax twice to the due-amount and total (though the sales 
tax is correct). So it does not feel right yet. I have something like this:

Total: 1 euro
Tax: 0,21 euro
Total: 1,42 euro

Kind regards,
 
Frank

On [DATE], "[NAME]" <[ADDRESS]> wrote:

Hello Frank,

in order to have WebPOS calculate the tax you have to add the 
SHIPPING_ORIG_LOCATION to the facility.

1.) Add contact mech to facility
2.) Add FacilityContactMechPurpose



It will then calculate the tax, as the SHIP_ORIG_LOCATION is used for 
tax calculation in WebPOS. There is still an issue adding the tax to the "Total 
Due". As I am currently working on getting the WebPOS ready for Austria I am 
working on a fix right now. 

Best regards,
Ingo

-Ursprüngliche Nachricht-
Von: Frank Herrman  
Gesendet: Montag, 29. Oktober 2018 16:56
An: user@ofbiz.apache.org
Betreff: Webpos and sales tax

Hi there,

I’m having trouble with the WebPOS. I noticed the latest update of 
Ofbiz had some improvements in this module, but still a lot is missing. One of 
the most important things I can’t seem to get working is the sales tax. For 
example, I have a product of 18.182 euro’s, 22 euro incl. sales tax. It now 
shows:


  *   Total: 22.00
  *   Total VAT: 0.00
  *   Total: 22.00
  *   To be paid: 18.182

So the total amount is correct. The amount to be paid suddenly does not 
include the sales tax. Furthermore, the sales tax shows 0 euro. VAT does work 
outside the POS (in order management), it just doesn’t work in the POS. When I 
enter an amount paid by cash or whatever payment method, it expects me to enter 
18.182 instead of the 22.00 euro’s the customer needs to pay.

I dived into the code but can’t seem to find it. I ended up in 
applications/order/src/main/java/org/apache/ofbiz/order/order/OrderReadHelper.java
 where I found the method getOrderTaxByTaxAuthGeoAndParty() which bases the 
sales tax on the tax authority. So my feeling is that in a webpos session the 
right tax authority is not activated. The POS terminal I have chosen is 
connected to a facility that does have the right tax authority. I’m not sure if 
there is any other setting that could cause this?


Kind regards,

Frank