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: About automatic purchase order ship and receive
Date Tue, 03 Mar 2009 10:58:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ECA is to modify or update an Entity, like re-calc the grand total of an
order in the orderheader.
SCA is when you want to perform operations based on some other event
like a service update.
So yours should be an SCA
Should review how a SCA works.
Looks like you may be doing Dropshipper.
if your using the trunk have you reviewed The dropshipper code.

Larry.Liu sent the following on 3/2/2009 10:34 PM:
> Hi all,
> 
> We have implement automatically purchase order ship and receive
> 
> by the follow step,
> 
> 1. Create a customize service and invoke service quickShipPurchaseOrder and
> receiveInventoryProduct
> 
> 2. Add a customize eca service as below to invoke this new defined service.
> 
> <eca service="*changeOrderItemStatus*" event="*commit*">
>   <condition field-name="*statusId*" operator="*equals*" value="*
> ITEM_APPROVED*" />
>   <action service="*automaticReceivePurchaseOrder*" mode="*sync*" />
> </eca>
> 
> So does anybody also did this kind of change before and can u advice us that
> whether there would be any impact to the out-of-the-box process for this
> change?
> 
> Regards,
> Liu Xiangqian
> 
> Wizitsoft Information Technology Ltd.
> www.wizitsoft.com | (86) 010-62670653 ext 614
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJrQ1trP3NbaWWqE4RAph6AJ9wMWNCdIFiuT7hRQBec8K/HKOcIwCgtN2y
sdGlso9kyck9JZfeHFX0yYI=
=jtvl
-----END PGP SIGNATURE-----

Mime
View raw message