Invoicing is not working in trunk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Invoicing is not working in trunk

Jacopo Cappellato
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
Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

Jacopo Cappellato
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

Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

David E Jones

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
>
Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

Jacopo Cappellato
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
>>

Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

Jacopo Cappellato
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
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

cjhowe
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 <[hidden email]> 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
> >>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

cjhowe
correction, the last role should be - BILL_FROM_VENDOR
--- Chris Howe <[hidden email]> 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 <[hidden email]> 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
> > >>>
> >
> >
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Invoicing is not working in trunk

Jacopo Cappellato
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 <[hidden email]> 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 <[hidden email]> 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
>>>
>>