You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2023/03/11 12:34:00 UTC

[jira] [Assigned] (OFBIZ-12774) GL Transactions should default isPosted to 'N'

     [ https://issues.apache.org/jira/browse/OFBIZ-12774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Watford reassigned OFBIZ-12774:
--------------------------------------

    Assignee: Daniel Watford

> GL Transactions should default isPosted to 'N'
> ----------------------------------------------
>
>                 Key: OFBIZ-12774
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12774
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: 22.01.01
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>             Fix For: 22.01.01
>
>
> There appears to be a change in behaviour between 18.12 and 22.01 for the default value of isPosted when creating a GL Transaction.
>  
> In 18.12 this field defaults to 'N'.
> In 22.01 this field defaults to blank.
>  
> Code appears to expect this field to either contain 'Y' or 'N' and uses this to determine whether the transaction is editable or read-only, and whether buttons, such as the "Post Transaction" button defined in AccountingMenu.xml#EditGlAcctTransSubTabBar are displayed.
>  
> As an example, if a transaction is created with a blank isPosted value, screen GlScreens.xml#EditAcctgTrans will consider the transaction as NOT POSTED (since acctgTrans.isPosted is not equal to 'Y') and will therefore display an edit form for the transaction.
> However, AccountingMenu.xml#EditGlAcctTransSubTabBar will consider the transaction as POSTED (since acctgTrans.isPosted is not equal to 'N') and will therefore prevent display of the Post Transaction button.
> In this case the user can edit the transaction, but cannot click the button to post the transaction.
> Further, in the EditTransaction screen, the select box for isPosted does not permit blank values so, by default, the first value - 'Y' - is displayed. Leading the user to erroneously believe the transaction is posted.
>  
> To resolve this issue, release18.12 behaviour should be reinstated and GL Transactions should default to have isPosted set to 'N' and blank values should not be permitted.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)