Cash journal

Shoukry
2005-11-27
2013-05-02
  • Shoukry

    Shoukry - 2005-11-27

    when i make a transaction throught the Cash journal
    and go to the Cash line tab and select the
    general expense for a cash type the journal is generated as follows

    DR CASH BOOK EXPENSE WITH MINUS VALUE -50
    DR ALSO THE PITTY CASH (WITH THE POSITIVE VAUE) 50

    But actually the entries must be as follows

    DR CASH BOOK EXPENSES         50
       CR PITTY CASH              50
    so please i need your help
    thx,
    Ashraf shoukry.

     
    • Colin Rooney

      Colin Rooney - 2005-11-27

      if you enter a negative number for the expense (i.e. -50) the postings will be made as you were expecting.

      I'm just starting to look at the cash journal myself, so I cannot say if these is the intended use  or not ... there is not mention of entering negative values for expenses in the manuals??

      Hope that helps some

      colin

       
      • Shoukry

        Shoukry - 2005-11-28

        I did the same solution (put a negative value) but any way let's wait and see.
        thanks for your help,

        Ashraf Shoukry.

         
    • albert

      albert - 2005-11-28

      Dear all:
      In the Compiere 253a
      The Doc_Cash.java... if amount is negative then
      but amount not negative ... will be out of....
      if (CashType.equals(DocLine_Cash.CASHTYPE_EXPENSE)){
      //  amount is negative
      //  CashExpense     DR
      //  CashAsset       CR
      fact.createLine(line, getAccount Doc.ACCTTYPE_CashExpense, as), getC_Currency_ID(), line.getAmount().negate(), null);
      assetAmt = assetAmt.subtract(line.getAmount().negate());
      ....
      ....
      //  Cash Asset
      fact.createLine(null, getAccount  (Doc.ACCTTYPE_CashAsset, as),getC_Currency_ID(), assetAmt);

      We Support pan Pacific Rim Compiere Customize
      Taiwan Support Team Ph.D. Albert (taiwan)0958-222-948 Skype DrAlbert
      We run Compiere Customize Free 200 hours Course for University in anywhere if you’re a Ph.D. Student or Master Student and a Sponsor of University to run this course from USD 100- or 1000.-….
      anywhere

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks