[ 
https://issues.apache.org/jira/browse/OFBIZ-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548153
 ] 

Jacopo Cappellato commented on OFBIZ-1472:
------------------------------------------

Pranay,

yes, that line needs to be uncommented to activate GL auto posting services. 
For now we are keeping them disabled because the family of auto posting service 
is still incomplete, but very soon (maybe at the end of the week) I guess we 
could consider to uncomment it (you are all doing a great job and you are very 
fast).

Jacopo


> Implement an automatic GL posting service triggered when inventory is issued 
> for fixed asset maintenance
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1472
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1472
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>            Reporter: Jacopo Cappellato
>         Attachments: CreateAcctgTransForFixedAssetMaintIssuance.patch
>
>
> Name of the service: "createAcctgTransForFixedAssetMaintIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForFixedAssetMaintIssuance" 
> engine="simple"  auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" 
> invoke="createAcctgTransForFixedAssetMaintIssuance">
>         <description>Create an accounting transaction for inventory that is 
> issued for fixed asset maintenance (Type: INVENTORY D: INVENTORY_ACCOUNT, C: 
> FIXED_ASSET_MAINT)</description>
>         <attribute name="itemIssuanceId" type="String" mode="IN" 
> optional="false"/>
>         <attribute name="acctgTransId" type="String" mode="OUT" 
> optional="true"/>
>     </service>
> Use as a template the service "createAcctgTransForSalesShipmentIssuance". The 
> new service will be very similar, with the following differences:
> 1) replace shipmentId with fixedAssetId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is FIXED_ASSET_MAINT (and not COGS_ACCOUNT)
> 4) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="createItemIssuance" event="commit">
>         <condition field-name="fixedAssetId" operator="is-not-empty"/>
>         <action service="createAcctgTransForFixedAssetMaintIssuance" 
> mode="sync"/>
>     </eca>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to