You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ti...@sastau.it> on 2007/05/21 17:56:12 UTC
Invoicing is not working in trunk
Hi all,
I'm having problems to create a sales invoice from an order.
The error is a NPE at line 207 of InvoiceServices:
String billFromVendorPartyId = orh.getBillFromParty().getString("partyId");
So the problem seems caused by the missing role in the order... any
suggestion of what could have caused this?
Thanks,
Jacopo
Re: Invoicing is not working in trunk
Posted by Jacopo Cappellato <ti...@sastau.it>.
I think that the issue is resolved now... my guess is that the error was
caused by the missing </form> tag in the init order entry screen.
After I've applied the patch from Adrian Crum, it is working pretty well.
Jacopo
Chris Howe wrote:
> correction, the last role should be - BILL_FROM_VENDOR
> --- Chris Howe <cj...@yahoo.com> wrote:
>
>> I created two additional orders.
>>
>> From Ecommerce - WSCO10001 -- Works correctly
>> From Order Entry - WSCO10002 -- Works incorrectly, partyId "Customer"
>> put in wrong role (BILL_TO_CUSTOMER instead of BILL_TO_VENDOR).
>>
>>
>> --- Jacopo Cappellato <ti...@sastau.it> wrote:
>>
>>> here is an order:
>>>
>>>
> https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=WSCO10000
>>> Jacopo
>>>
>>> Jacopo Cappellato wrote:
>>>> Yes,
>>>>
>>>> just create a random order in the demo server and try to quick
>> ship
>>> it.
>>>> Jacopo
>>>>
>>>> David E Jones wrote:
>>>>> That is weird... Is thos for a sales order? Generally for those
>>> the
>>>>> BILL_FROM_VENDOR is the company (pay to, ie bill from) party on
>>> the
>>>>> ProductStore.
>>>>>
>>>>> Do you have any more details about when this is happening? Is
>>> there an
>>>>> easy way to reproduce it on the demo site or a stock
>>>>> checkout/build/install?
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>> Jacopo Cappellato wrote:
>>>>>> Any ideas about what is the cause for the missing
>>> BILL_FROM_VENDOR
>>>>>> role in the order?
>>>>>>
>>>>>> hmmmm.. this is weird
>>>>>>
>>>>>> Jacopo
>>>>>>
>>>>>> Jacopo Cappellato wrote:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I'm having problems to create a sales invoice from an order.
>>>>>>> The error is a NPE at line 207 of InvoiceServices:
>>>>>>>
>>>>>>> String billFromVendorPartyId =
>>>>>>> orh.getBillFromParty().getString("partyId");
>>>>>>>
>>>>>>> So the problem seems caused by the missing role in the
>> order...
>>> any
>>>>>>> suggestion of what could have caused this?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Jacopo
>>>
>>
Re: Invoicing is not working in trunk
Posted by Chris Howe <cj...@yahoo.com>.
correction, the last role should be - BILL_FROM_VENDOR
--- Chris Howe <cj...@yahoo.com> wrote:
> I created two additional orders.
>
> From Ecommerce - WSCO10001 -- Works correctly
> From Order Entry - WSCO10002 -- Works incorrectly, partyId "Customer"
> put in wrong role (BILL_TO_CUSTOMER instead of BILL_TO_VENDOR).
>
>
> --- Jacopo Cappellato <ti...@sastau.it> wrote:
>
> > here is an order:
> >
> >
>
https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=WSCO10000
> >
> > Jacopo
> >
> > Jacopo Cappellato wrote:
> > > Yes,
> > >
> > > just create a random order in the demo server and try to quick
> ship
> > it.
> > >
> > > Jacopo
> > >
> > > David E Jones wrote:
> > >>
> > >> That is weird... Is thos for a sales order? Generally for those
> > the
> > >> BILL_FROM_VENDOR is the company (pay to, ie bill from) party on
> > the
> > >> ProductStore.
> > >>
> > >> Do you have any more details about when this is happening? Is
> > there an
> > >> easy way to reproduce it on the demo site or a stock
> > >> checkout/build/install?
> > >>
> > >> -David
> > >>
> > >>
> > >> Jacopo Cappellato wrote:
> > >>> Any ideas about what is the cause for the missing
> > BILL_FROM_VENDOR
> > >>> role in the order?
> > >>>
> > >>> hmmmm.. this is weird
> > >>>
> > >>> Jacopo
> > >>>
> > >>> Jacopo Cappellato wrote:
> > >>>> Hi all,
> > >>>>
> > >>>> I'm having problems to create a sales invoice from an order.
> > >>>> The error is a NPE at line 207 of InvoiceServices:
> > >>>>
> > >>>> String billFromVendorPartyId =
> > >>>> orh.getBillFromParty().getString("partyId");
> > >>>>
> > >>>> So the problem seems caused by the missing role in the
> order...
> > any
> > >>>> suggestion of what could have caused this?
> > >>>>
> > >>>> Thanks,
> > >>>>
> > >>>> Jacopo
> > >>>
> >
> >
>
>
Re: Invoicing is not working in trunk
Posted by Chris Howe <cj...@yahoo.com>.
I created two additional orders.
>From Ecommerce - WSCO10001 -- Works correctly
>From Order Entry - WSCO10002 -- Works incorrectly, partyId "Customer"
put in wrong role (BILL_TO_CUSTOMER instead of BILL_TO_VENDOR).
--- Jacopo Cappellato <ti...@sastau.it> wrote:
> here is an order:
>
>
https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=WSCO10000
>
> Jacopo
>
> Jacopo Cappellato wrote:
> > Yes,
> >
> > just create a random order in the demo server and try to quick ship
> it.
> >
> > Jacopo
> >
> > David E Jones wrote:
> >>
> >> That is weird... Is thos for a sales order? Generally for those
> the
> >> BILL_FROM_VENDOR is the company (pay to, ie bill from) party on
> the
> >> ProductStore.
> >>
> >> Do you have any more details about when this is happening? Is
> there an
> >> easy way to reproduce it on the demo site or a stock
> >> checkout/build/install?
> >>
> >> -David
> >>
> >>
> >> Jacopo Cappellato wrote:
> >>> Any ideas about what is the cause for the missing
> BILL_FROM_VENDOR
> >>> role in the order?
> >>>
> >>> hmmmm.. this is weird
> >>>
> >>> Jacopo
> >>>
> >>> Jacopo Cappellato wrote:
> >>>> Hi all,
> >>>>
> >>>> I'm having problems to create a sales invoice from an order.
> >>>> The error is a NPE at line 207 of InvoiceServices:
> >>>>
> >>>> String billFromVendorPartyId =
> >>>> orh.getBillFromParty().getString("partyId");
> >>>>
> >>>> So the problem seems caused by the missing role in the order...
> any
> >>>> suggestion of what could have caused this?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Jacopo
> >>>
>
>
Re: Invoicing is not working in trunk
Posted by Jacopo Cappellato <ti...@sastau.it>.
here is an order:
https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=WSCO10000
Jacopo
Jacopo Cappellato wrote:
> Yes,
>
> just create a random order in the demo server and try to quick ship it.
>
> Jacopo
>
> David E Jones wrote:
>>
>> That is weird... Is thos for a sales order? Generally for those the
>> BILL_FROM_VENDOR is the company (pay to, ie bill from) party on the
>> ProductStore.
>>
>> Do you have any more details about when this is happening? Is there an
>> easy way to reproduce it on the demo site or a stock
>> checkout/build/install?
>>
>> -David
>>
>>
>> Jacopo Cappellato wrote:
>>> Any ideas about what is the cause for the missing BILL_FROM_VENDOR
>>> role in the order?
>>>
>>> hmmmm.. this is weird
>>>
>>> Jacopo
>>>
>>> Jacopo Cappellato wrote:
>>>> Hi all,
>>>>
>>>> I'm having problems to create a sales invoice from an order.
>>>> The error is a NPE at line 207 of InvoiceServices:
>>>>
>>>> String billFromVendorPartyId =
>>>> orh.getBillFromParty().getString("partyId");
>>>>
>>>> So the problem seems caused by the missing role in the order... any
>>>> suggestion of what could have caused this?
>>>>
>>>> Thanks,
>>>>
>>>> Jacopo
>>>
Re: Invoicing is not working in trunk
Posted by Jacopo Cappellato <ti...@sastau.it>.
Yes,
just create a random order in the demo server and try to quick ship it.
Jacopo
David E Jones wrote:
>
> That is weird... Is thos for a sales order? Generally for those the
> BILL_FROM_VENDOR is the company (pay to, ie bill from) party on the
> ProductStore.
>
> Do you have any more details about when this is happening? Is there an
> easy way to reproduce it on the demo site or a stock
> checkout/build/install?
>
> -David
>
>
> Jacopo Cappellato wrote:
>> Any ideas about what is the cause for the missing BILL_FROM_VENDOR
>> role in the order?
>>
>> hmmmm.. this is weird
>>
>> Jacopo
>>
>> Jacopo Cappellato wrote:
>>> Hi all,
>>>
>>> I'm having problems to create a sales invoice from an order.
>>> The error is a NPE at line 207 of InvoiceServices:
>>>
>>> String billFromVendorPartyId =
>>> orh.getBillFromParty().getString("partyId");
>>>
>>> So the problem seems caused by the missing role in the order... any
>>> suggestion of what could have caused this?
>>>
>>> Thanks,
>>>
>>> Jacopo
>>
Re: Invoicing is not working in trunk
Posted by David E Jones <jo...@hotwaxmedia.com>.
That is weird... Is thos for a sales order? Generally for those the BILL_FROM_VENDOR is the company (pay to, ie bill from) party on the ProductStore.
Do you have any more details about when this is happening? Is there an easy way to reproduce it on the demo site or a stock checkout/build/install?
-David
Jacopo Cappellato wrote:
> Any ideas about what is the cause for the missing BILL_FROM_VENDOR role
> in the order?
>
> hmmmm.. this is weird
>
> Jacopo
>
> Jacopo Cappellato wrote:
>> Hi all,
>>
>> I'm having problems to create a sales invoice from an order.
>> The error is a NPE at line 207 of InvoiceServices:
>>
>> String billFromVendorPartyId =
>> orh.getBillFromParty().getString("partyId");
>>
>> So the problem seems caused by the missing role in the order... any
>> suggestion of what could have caused this?
>>
>> Thanks,
>>
>> Jacopo
>
Re: Invoicing is not working in trunk
Posted by Jacopo Cappellato <ti...@sastau.it>.
Any ideas about what is the cause for the missing BILL_FROM_VENDOR role
in the order?
hmmmm.. this is weird
Jacopo
Jacopo Cappellato wrote:
> Hi all,
>
> I'm having problems to create a sales invoice from an order.
> The error is a NPE at line 207 of InvoiceServices:
>
> String billFromVendorPartyId = orh.getBillFromParty().getString("partyId");
>
> So the problem seems caused by the missing role in the order... any
> suggestion of what could have caused this?
>
> Thanks,
>
> Jacopo