Menu

#25 Paid up transaction items all

open
nobody
None
5
2004-03-31
2004-03-24
No

All tran_item records for normal paid transactions have a
status of 1 = suspended.

Cause:

EjItem.engage() - about line 254 has this call:

transItem().setState(Item.PAID);

Presumably, this should be:

transItem().setState(TransItem.PAID);

Solution:

Make the change as above.
(= TransItem.SUSPEND"). the class

Discussion

  • Iain Sinclair

    Iain Sinclair - 2004-03-31
    • summary: Paid up transaction items all "Suspended" --> Paid up transaction items all
     
  • Iain Sinclair

    Iain Sinclair - 2004-03-31

    Logged In: YES
    user_id=972075

    Of course, if you makethe change above, suspended items
    will also be entered as being PAID.

    The saved trans_* records are not being re-used. So, if you
    add a PK to the (trans_id, seq_no) of the trans_* tables,
    you'll get a unique key insert violation after recalling and
    completing a saved transaction.

    Presumably, saved transaction lines should be overwritten
    when completed.

     

Log in to post a comment.

MongoDB Logo MongoDB