You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/12/02 09:36:42 UTC

[jira] Created: (OFBIZ-1480) Implement an automatic GL posting service triggered when inventory is produced by a work effort

Implement an automatic GL posting service triggered when inventory is produced by a work effort
-----------------------------------------------------------------------------------------------

                 Key: OFBIZ-1480
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1480
             Project: OFBiz
          Issue Type: Sub-task
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: Jacopo Cappellato


Name of the service: "createAcctgTransForWorkEffortInventoryProduced" or similar
Service definition:
    <service name="createAcctgTransForWorkEffortInventoryProduced" engine="simple" auth="true"
        location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortInventoryProduced">
        <description>Create an accounting transaction for inventory that is produced by a work effort (Type: INVENTORY D: RAWMAT_INVENTORY, C: WIP_INVENTORY)</description>
        <attribute name="workEffortId" type="String" mode="IN" optional="false"/>
        <attribute name="inventoryItemId" type="String" mode="IN" optional="false"/>
        <attribute name="acctgTransId" type="String" mode="OUT" optional="true"/>
    </service>

Use as a template the notes in task OFBIZ-1473, with the following differences:
1) the Credit glAccountTypeId is WIP_INVENTORY
2) the Debit glAccountTypeId is INVENTORY_ACCOUNT
3) the acctgTransTypeId is INVENTORY
4) the origAmount is: inventoryItem.quantityOnHandTotal * inventoryItem.unitCost


The seca will be:

    <eca service="createWorkEffortInventoryProduced" event="commit">
        <action service="createAcctgTransForWorkEffortInventoryProduced" mode="sync"/>
    </eca> 


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


[jira] Closed: (OFBIZ-1480) Implement an automatic GL posting service triggered when inventory is produced by a work effort

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel closed OFBIZ-1480.
-------------------------------

    Resolution: Fixed

Thanks to Alok Agnihotri and others for providing implementation. Patch is in rev #600751

> Implement an automatic GL posting service triggered when inventory is produced by a work effort
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1480
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1480
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>            Assignee: Anil K Patel
>         Attachments: GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortInventoryProduced" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortInventoryProduced" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortInventoryProduced">
>         <description>Create an accounting transaction for inventory that is produced by a work effort (Type: INVENTORY D: RAWMAT_INVENTORY, C: WIP_INVENTORY)</description>
>         <attribute name="workEffortId" type="String" mode="IN" optional="false"/>
>         <attribute name="inventoryItemId" type="String" mode="IN" optional="false"/>
>         <attribute name="acctgTransId" type="String" mode="OUT" optional="true"/>
>     </service>
> Use as a template the notes in task OFBIZ-1473, with the following differences:
> 1) the Credit glAccountTypeId is WIP_INVENTORY
> 2) the Debit glAccountTypeId is INVENTORY_ACCOUNT
> 3) the acctgTransTypeId is INVENTORY
> 4) the origAmount is: inventoryItem.quantityOnHandTotal * inventoryItem.unitCost
> The seca will be:
>     <eca service="createWorkEffortInventoryProduced" event="commit">
>         <action service="createAcctgTransForWorkEffortInventoryProduced" mode="sync"/>
>     </eca> 

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


[jira] Assigned: (OFBIZ-1480) Implement an automatic GL posting service triggered when inventory is produced by a work effort

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel reassigned OFBIZ-1480:
-----------------------------------

    Assignee: Anil K Patel

> Implement an automatic GL posting service triggered when inventory is produced by a work effort
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1480
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1480
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>            Assignee: Anil K Patel
>         Attachments: GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortInventoryProduced" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortInventoryProduced" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortInventoryProduced">
>         <description>Create an accounting transaction for inventory that is produced by a work effort (Type: INVENTORY D: RAWMAT_INVENTORY, C: WIP_INVENTORY)</description>
>         <attribute name="workEffortId" type="String" mode="IN" optional="false"/>
>         <attribute name="inventoryItemId" type="String" mode="IN" optional="false"/>
>         <attribute name="acctgTransId" type="String" mode="OUT" optional="true"/>
>     </service>
> Use as a template the notes in task OFBIZ-1473, with the following differences:
> 1) the Credit glAccountTypeId is WIP_INVENTORY
> 2) the Debit glAccountTypeId is INVENTORY_ACCOUNT
> 3) the acctgTransTypeId is INVENTORY
> 4) the origAmount is: inventoryItem.quantityOnHandTotal * inventoryItem.unitCost
> The seca will be:
>     <eca service="createWorkEffortInventoryProduced" event="commit">
>         <action service="createAcctgTransForWorkEffortInventoryProduced" mode="sync"/>
>     </eca> 

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


[jira] Updated: (OFBIZ-1480) Implement an automatic GL posting service triggered when inventory is produced by a work effort

Posted by "Alok Agnihotri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alok Agnihotri updated OFBIZ-1480:
----------------------------------

    Attachment: GlPostingService.patch

Automatic GL posting service triggered when inventory is produced by a work effort.

> Implement an automatic GL posting service triggered when inventory is produced by a work effort
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1480
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1480
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortInventoryProduced" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortInventoryProduced" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortInventoryProduced">
>         <description>Create an accounting transaction for inventory that is produced by a work effort (Type: INVENTORY D: RAWMAT_INVENTORY, C: WIP_INVENTORY)</description>
>         <attribute name="workEffortId" type="String" mode="IN" optional="false"/>
>         <attribute name="inventoryItemId" type="String" mode="IN" optional="false"/>
>         <attribute name="acctgTransId" type="String" mode="OUT" optional="true"/>
>     </service>
> Use as a template the notes in task OFBIZ-1473, with the following differences:
> 1) the Credit glAccountTypeId is WIP_INVENTORY
> 2) the Debit glAccountTypeId is INVENTORY_ACCOUNT
> 3) the acctgTransTypeId is INVENTORY
> 4) the origAmount is: inventoryItem.quantityOnHandTotal * inventoryItem.unitCost
> The seca will be:
>     <eca service="createWorkEffortInventoryProduced" event="commit">
>         <action service="createAcctgTransForWorkEffortInventoryProduced" mode="sync"/>
>     </eca> 

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