#37 Bug# 770534: Organization Default in Acctng Transactions

R2.4.4
closed
CServer.jar (2)
5
2003-07-23
2003-07-23
Carmen Sum
No

Could I please have a single patch on this?

THanks
Carmen

Discussion

  • Jorg Janke

    Jorg Janke - 2003-07-23

    Logged In: YES
    user_id=87038

    The problem was fixed in the released R2.5.0a among a few
    other issues. Part of the 2.5.0 was the switch to the
    database independent infrastructure and hard to undo for
    2.4.5 (I assume).

    The change is in orc.compiere.acct.FactLine.java - Method
    getAD_Org_ID():

    // Prio 3 - get from doc - if not GL
    if (m_AD_Org_ID <= 0)
    {
    if
    (m_docVO.DOCTYPE_GLJournal.equals
    (m_docVO.DocumentType))
    m_AD_Org_ID =
    m_acct.getAD_Org_ID (); // inter-company GL
    else
    m_AD_Org_ID =
    m_docVO.AD_Org_ID;
    }
    // Prio 4 - get from account - if not
    GL
    if (m_AD_Org_ID <= 0)
    {
    if
    (m_docVO.DOCTYPE_GLJournal.equals
    (m_docVO.DocumentType))
    m_AD_Org_ID =
    m_docVO.AD_Org_ID;
    else
    m_AD_Org_ID =
    m_acct.getAD_Org_ID ();
    }
    //
    return m_AD_Org_ID;

     
  • Jorg Janke

    Jorg Janke - 2003-07-23
    • labels: --> CServer.jar
    • milestone: --> R2.4.4
    • assigned_to: nobody --> jjanke
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks