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/01 18:26:42 UTC

[jira] Created: (OFBIZ-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

Implement an automatic GL posting service triggered when inventory is issued to a work effort
---------------------------------------------------------------------------------------------

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


Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
Service definition:
    <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
        location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
        <description>Create an accounting transaction for inventory that is issued to 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 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 WIP_INVENTORY (and not COGS_ACCOUNT)
4) the Debit glAccountTypeId is RAWMAT_INVENTORY
5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)

The seca will be:

    <eca service="assignInventoryToWorkEffort" event="commit">
        <action service="createAcctgTransForWorkEffortIssuance" 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] Commented: (OFBIZ-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547758 ] 

Jacopo Cappellato commented on OFBIZ-1473:
------------------------------------------

Another difference from the createAcctgTransForSalesShipmentIssuance service is that here, instead of getting an ItemIssuance we will retrieve the WorkEffortInventoryAssign record and get the InventoryItem and quantity from there.

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment:  GL posting service.patch

I am submitting here my modified work for JiraIssues 1473 and 1474 as per the comments recieved in CR-362.

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments:  GL posting service.patch, GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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] Commented: (OFBIZ-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

Anil K Patel commented on OFBIZ-1473:
-------------------------------------

Sachin,
The patch you have provided seems to  be incomplete, its missing entries in seca and services file. Can you please provide more complete and update patch.

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment:     (was:  GL posting service.patch)

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Comment: was deleted

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch, GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

Anil K Patel closed OFBIZ-1473.
-------------------------------

    Resolution: Fixed

Thanks Sachin Chourasia and others for patch, its in rev#600844

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>            Assignee: Anil K Patel
>         Attachments: GL posting service.patch, GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment: GL posting service.patch

I am submitting here my modified work for JiraIssues 1473 and 1474 as per the comments recieved in CR-362.

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment:     (was: GL+posting+service.patch)

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment: GL+posting+service.patch

I am submitting here my modified work for JiraIssues 1473 and 1474 as per the comments recieved in CR-362.

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Comment: was deleted

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch, GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

Anil K Patel reassigned OFBIZ-1473:
-----------------------------------

    Assignee: Anil K Patel

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>            Assignee: Anil K Patel
>         Attachments: GL posting service.patch, GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

Jacopo Cappellato updated OFBIZ-1473:
-------------------------------------

    Description: 
Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
Service definition:
    <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
        location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
        <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
1) replace shipmentId with workEffortId
2) do not set partyId and roleTypeId
3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
4) the Debit glAccountTypeId is RAWMAT_INVENTORY
5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)

The seca will be:

    <eca service="assignInventoryToWorkEffort" event="commit">
        <action service="createAcctgTransForWorkEffortIssuance" mode="sync"/>
    </eca> 


  was:
Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
Service definition:
    <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
        location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
        <description>Create an accounting transaction for inventory that is issued to 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 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 WIP_INVENTORY (and not COGS_ACCOUNT)
4) the Debit glAccountTypeId is RAWMAT_INVENTORY
5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)

The seca will be:

    <eca service="assignInventoryToWorkEffort" event="commit">
        <action service="createAcctgTransForWorkEffortIssuance" mode="sync"/>
    </eca> 



> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" 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-1473) Implement an automatic GL posting service triggered when inventory is issued to a work effort

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

SACHIN CHOURASIYA updated OFBIZ-1473:
-------------------------------------

    Attachment: GlPostingService.patch

Please refer this patch for the modified work done for the JiraIssues @ 1473 and 1474

> Implement an automatic GL posting service triggered when inventory is issued to a work effort
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1473
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1473
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>         Attachments: GL posting service.patch, GlPostingService.patch
>
>
> Name of the service: "createAcctgTransForWorkEffortIssuance" or similar
> Service definition:
>     <service name="createAcctgTransForWorkEffortIssuance" engine="simple" auth="true"
>         location="org/ofbiz/accounting/ledger/GeneralLedgerServices.xml" invoke="createAcctgTransForWorkEffortIssuance">
>         <description>Create an accounting transaction for inventory that is issued to 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 service "createAcctgTransForSalesShipmentIssuance". The new service will be very similar, with the following differences:
> 1) replace shipmentId with workEffortId
> 2) do not set partyId and roleTypeId
> 3) the Credit glAccountTypeId is WIP_INVENTORY (and not COGS_ACCOUNT)
> 4) the Debit glAccountTypeId is RAWMAT_INVENTORY
> 5) the acctgTransTypeId is INVENTORY (and not SALES_SHIPMENT)
> The seca will be:
>     <eca service="assignInventoryToWorkEffort" event="commit">
>         <action service="createAcctgTransForWorkEffortIssuance" mode="sync"/>
>     </eca> 

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