You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "SACHIN CHOURASIYA (JIRA)" <ji...@apache.org> on 2007/12/05 15:11:43 UTC
[jira] Updated: (OFBIZ-1487) Create a service to clone an existing
accounting transaction and its entries (AcctgTrans and AcctgTransEntry),
with an optional parameter to revert the original transaction
[ https://issues.apache.org/jira/browse/OFBIZ-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SACHIN CHOURASIYA updated OFBIZ-1487:
-------------------------------------
Attachment: jiraIssue@#1473.patch
We (Sachin Chourasiya & Rishi) are submitting here our work for creating a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transaction
> Create a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transaction
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-1487
> URL: https://issues.apache.org/jira/browse/OFBIZ-1487
> Project: OFBiz
> Issue Type: Sub-task
> Components: accounting
> Affects Versions: SVN trunk
> Reporter: Jacopo Cappellato
> Attachments: jiraIssue@#1473.patch
>
>
> Create a service to clone an existing accounting transaction and its entries (AcctgTrans and AcctgTransEntry), with an optional parameter to revert the original transaction.
> Proposed service name: "copyAcctgTransAndEntries"
> IN parameters: fromAcctgTransId (mandatory), revert (optional)
> OUT parameters: acctgTransId
> The service simply clones the AcctgTrans record into a new identical one (if possible, use the createAcctgTrans service) with the exception of the following fields:
> transactionDate: do not set, so that it will be automatically set to now
> isPosted: set to N
> postedDate: do not set
> scheduledPostedDate: do not set
> createdByUserLogin: do not set
> lastModifiedByUserLogin: do not set
> and also clones all the AcctgTransEntry (if possible, use the createAcctgTransEntry service), with the exception of the following fields:
> reconcileStatusId: do not set
> For each entry, if the parameters.revert field is set to "Y", flip the debitCreditFlag from C to D and vice versa.
> Add two new links to the "Edit Accounting Transaction" screen: "duplicate accounting transaction" and "revert accounting transaction" that both call the above service (the latter calls the service with revert=Y).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.