Dev - partyIdTo not populated by storeIncomingEmail

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

Dev - partyIdTo not populated by storeIncomingEmail

Si Chen-2
We played with Al's storeIncomingEmail somewhat today and noticed  
that the partyIdTo for CommunicationEvent was not being populated  
correctly.  It is using userLogin's partyIdTo.  Since this service  
runs as an SMCA, no partyIdTo is actually being stored.  I'm thinking  
about modifying it so that it will do the same lookup for partyIdTo  
as for partyIdFrom.

Also, I noticed that the system is only screening the first Address.  
I think that's fine for now, but eventually we should process all the  
addresses and save them as related parties for a CommunicationEvent.

Does this make sense?

Si
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - partyIdTo not populated by storeIncomingEmail

BJ Freeman
I was looking to using the ContactMech for Emails that then found the
PartyID.
Those that do not match will have _NA for partyID.

I also will be running a service, sorting mail by subject like Orders,
ticket, Tracking, and Inventory updates. These will usually have a
PartyID of _NA.



Si Chen sent the following on 6/13/06 6:07 PM:

> We played with Al's storeIncomingEmail somewhat today and noticed  
> that the partyIdTo for CommunicationEvent was not being populated  
> correctly.  It is using userLogin's partyIdTo.  Since this service  
> runs as an SMCA, no partyIdTo is actually being stored.  I'm thinking  
> about modifying it so that it will do the same lookup for partyIdTo  
> as for partyIdFrom.
>
> Also, I noticed that the system is only screening the first Address.  
> I think that's fine for now, but eventually we should process all the  
> addresses and save them as related parties for a CommunicationEvent.
>
> Does this make sense?
>
> Si
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev