Re: svn commit: r605608 - /ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml

Posted by Adrian Crum on
URL: http://ofbiz.116.s1.nabble.com/Re-svn-commit-r605608-ofbiz-trunk-applications-accounting-servicedef-secas-ledger-xml-tp187181p187185.html

Jacopo,

I looked at that example. You have things set up a little differently than I pictured. I'll get back
to you in a little while.

-Adrian

Jacopo Cappellato wrote:

> Adrian,
>
> thanks for the details; I'd say that an example for one of the auto
> posting services (for example
> "createAcctgTransForSalesShipmentIssuance") that are triggered by
> 'external' actions by the secas defined in secas_ledger.xml would really
> help.
>
> Jacopo
>
>
> Adrian Crum wrote:
>
>>
>> Ideally, external apps posting to GL wouldn't need to assign any
>> additional permissions to the user. The permission SECAs decision
>> would be based on the validity of the data in the transaction, not on
>> the user's permissions.
>>
>> -Adrian
>>
>> Anil Patel wrote:
>>
>>> Jacopo,
>>> I think I'll first try to fix data in my app and see if its possible to
>>> live with it. I understand, Its important to keep these services active
>>> in order to get it tested better.
>>>
>>> Regards
>>> Anil Patel
>>>
>>> On Wed, 2007-12-19 at 18:06 +0100, Jacopo Cappellato wrote:
>>>
>>>> Anil,
>>>>
>>>> if the GL auto posting services are still causing issues (because
>>>> they are in alpha and because seed data is not completely
>>>> implemented) we can  disable them all in the
>>>> accounting/ofbiz-component.xml file.
>>>> I was the one that activated them all some time ago, but maybe it
>>>> was too early.
>>>>
>>>> Jacopo
>>>>
>>>>
>>>> [hidden email] wrote:
>>>>
>>>>> Author: apatel
>>>>> Date: Wed Dec 19 08:34:06 2007
>>>>> New Revision: 605608
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=605608&view=rev
>>>>> Log:
>>>>> Sorry, I saw Jacopo's comments from his earlier commit. Instead I
>>>>> need to fix seed data in my app.
>>>>>
>>>>> Modified:
>>>>>    ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
>>>>>
>>>>> Modified:
>>>>> ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml?rev=605608&r1=605607&r2=605608&view=diff 
>>>>>
>>>>> ==============================================================================
>>>>>
>>>>> --- ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
>>>>> (original)
>>>>> +++ ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
>>>>> Wed Dec 19 08:34:06 2007
>>>>> @@ -78,12 +78,10 @@
>>>>>         <action
>>>>> service="createAcctgTransForFixedAssetMaintIssuance" mode="sync"/>
>>>>>     </eca>
>>>>>     <!--attempt to create AcctgTrans and Entries for Incoming
>>>>> Payment -->
>>>>> -    <!-- Uncomment this entry if GL data is setup.     <eca
>>>>> service="createPayment" event="commit">
>>>>>         <condition field-name="statusId" operator="equals"
>>>>> value="PMNT_RECEIVED"/>
>>>>>         <action
>>>>> service="createAcctgTransAndEntriesForIncomingPayment" mode="sync"/>
>>>>>     </eca>
>>>>> -     -->
>>>>>     <!--attempt to create AcctgTrans and Entries for Incoming when
>>>>> set PaymentStatus -->
>>>>>     <eca service="setPaymentStatus" event="commit">
>>>>>         <condition field-name="statusId" operator="equals"
>>>>> value="PMNT_RECEIVED"/>
>>>>>
>>>>
>>>
>>>
>
>