[
https://issues.apache.org/jira/browse/OFBIZ-10687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727357#comment-16727357 ]
Anushi Gupta commented on OFBIZ-10687:
--------------------------------------
For now, I have changed the default value of status in service 'createFinAccountTrans' to "FINACT_TRNS_CREATED" from "FINACT_TRNS_APPROVED"
Attaching patch for the same
[^OFBIZ-10687.patch]
It would be great if you can share the exact workflow in which you faced the issue so that it can be verified for the same.
> createFinAccountTrans service set wrong statusId value
> ------------------------------------------------------
>
> Key: OFBIZ-10687
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10687> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Trunk, Release Branch 15.12, Release Branch 16.11, Release Branch 17.12
> Reporter: Pierre Smits
> Assignee: Anushi Gupta
> Priority: Major
> Attachments: OFBIZ-10687.patch
>
>
> When a FinAccountTrans record is created and the status of the record was not set, the triggered service 'createFinAccountTrans' sets the statusId of the record to be saved to value="FINACT_TRNS_APPROVED". This is wrong: the statusId of such a record should be: "FINACT_TRNS_CREATED"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)