Author: jacopoc
Date: Wed Nov 28 09:55:45 2007 New Revision: 599075 URL: http://svn.apache.org/viewvc?rev=599075&view=rev Log: Added seca to automatically post accounting transactions and some fileds to the find acctg trans screens. Modified: ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml ofbiz/trunk/applications/accounting/widget/GlForms.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=599075&r1=599074&r2=599075&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml Wed Nov 28 09:55:45 2007 @@ -28,5 +28,10 @@ <condition field-name="statusId" operator="equals" value="SHIPMENT_PACKED"/> <action service="createAcctgTransForSalesShipment" mode="sync"/> </eca> + <!-- this eca automatically post the accounting transactions to GL --> + <eca service="createAcctgTransAndEntries" event="commit"> + <condition field-name="acctgTransId" operator="is-not-empty"/> + <action service="postAcctgTrans" mode="sync"/> + </eca> </service-eca> Modified: ofbiz/trunk/applications/accounting/widget/GlForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlForms.xml?rev=599075&r1=599074&r2=599075&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlForms.xml Wed Nov 28 09:55:45 2007 @@ -58,6 +58,7 @@ <field name="paymentId"><text size="20" maxlength="20"/></field> <field name="produtId"><text size="20" maxlength="20"/></field> <field name="workEffortId"><text size="20" maxlength="20"/></field> + <field name="shipmentId"><text size="20" maxlength="20"/></field> <field name="fromDate"><date-time/></field> <field name="thruDate"><date-time/></field> <field name="performSearch"><hidden value="Y"/></field> @@ -78,6 +79,7 @@ <condition-expr field-name="paymentId" operator="equals" env-name="parameters.paymentId" ignore-if-empty="true"/> <condition-expr field-name="productId" operator="equals" env-name="parameters.productId" ignore-if-empty="true"/> <condition-expr field-name="workEffortId" operator="equals" env-name="parameters.workEffortId" ignore-if-empty="true"/> + <condition-expr field-name="shipmentId" operator="equals" env-name="parameters.shipmentId" ignore-if-empty="true"/> <condition-expr field-name="acctgTransId" operator="equals" env-name="parameters.acctgTransId" ignore-if-empty="true"/> <condition-expr field-name="transactionDate" operator="greater-equals" env-name="parameters.fromDate" ignore-if-empty="true"/> <condition-expr field-name="transactionDate" operator="less" env-name="parameters.thruDate" ignore-if-empty="true"/> @@ -89,6 +91,7 @@ <select-field field-name="invoiceId"/> <select-field field-name="paymentId"/> <select-field field-name="workEffortId"/> + <select-field field-name="shipmentId"/> <select-field field-name="partyId"/> <select-field field-name="isPosted"/> <select-field field-name="postedDate"/> @@ -111,6 +114,7 @@ </field> <field name="paymentId" use-when="paymentId==null"><display/></field> <field name="workEffortId"><display/></field> + <field name="shipmentId"><display/></field> <field name="partyId" title="${uiLabelMap.PartyParty}"> <display-entity entity-name="PartyNameView" description="${groupName}${firstName} ${lastName} [${partyId}]"/> </field> @@ -138,6 +142,8 @@ </field> <field name="paymentId" use-when="paymentId==null"><display/></field> <field name="partyId"><display/></field> + <field name="workEffortId" position="2"><display/></field> + <field name="shipmentId" position="2"><display/></field> <field name="verify" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> <hyperlink description="${uiLabelMap.AccountingVerifyTransaction}" target="postAcctgTrans?acctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}&verifyOnly=Y" also-hidden="false"/> </field> @@ -193,6 +199,7 @@ <field name="paymentId"><text size="20" maxlength="20"/></field> <field name="produtId"><text size="20" maxlength="20"/></field> <field name="workEffortId"><text size="20" maxlength="20"/></field> + <field name="shipmentId"><text size="20" maxlength="20"/></field> <field name="fromDate"><date-time/></field> <field name="thruDate"><date-time/></field> <field name="performSearch"><hidden value="Y"/></field> @@ -213,6 +220,7 @@ <condition-expr field-name="paymentId" operator="equals" env-name="parameters.paymentId" ignore-if-empty="true"/> <condition-expr field-name="productId" operator="equals" env-name="parameters.productId" ignore-if-empty="true"/> <condition-expr field-name="workEffortId" operator="equals" env-name="parameters.workEffortId" ignore-if-empty="true"/> + <condition-expr field-name="shipmentId" operator="equals" env-name="parameters.shipmentId" ignore-if-empty="true"/> <condition-expr field-name="acctgTransId" operator="equals" env-name="parameters.acctgTransId" ignore-if-empty="true"/> <condition-expr field-name="transactionDate" operator="greater-equals" env-name="parameters.fromDate" ignore-if-empty="true"/> <condition-expr field-name="transactionDate" operator="less" env-name="parameters.thruDate" ignore-if-empty="true"/> @@ -248,6 +256,7 @@ </field> <field name="paymentId" position="2" use-when="paymentId==null"><display/></field> <field name="workEffortId" position="2"><display/></field> + <field name="shipmentId" position="2"><display/></field> <field name="partyId" position="2" title="${uiLabelMap.PartyParty}"> <display-entity entity-name="PartyNameView" description="${groupName}${firstName} ${lastName} [${partyId}]"/> </field> |
Free forum by Nabble | Edit this page |