audit log isn't apply for "Charge Account" field

Description

go to charge window
go to accounting tab
change value of "Charge Account"
save.

right click to see change history. blank grid display.

Environment

None

Activity

Show:
Hiep Lq
March 30, 2019, 4:17 AM

actual need to go "Account Combination" for see history

it need a improve to have shortcut to browse

Hiep Lq
March 30, 2019, 4:30 AM

reason: key of C_Charge_Acct is multi column (check on PO line 2616 && m_IDs.length == 1)

Hiep Lq
March 30, 2019, 4:34 AM

hi , do you think we should replace multi column key by unique constrain, and add standard key (table_id) for that table

Carlos Ruiz
April 5, 2019, 1:51 PM

Hi

Yes, that was discussed in the iDempiere workshop 2015 and for that we opened ticket where implemented the primary key for M_ProductPrice, that ticket has a lot of comments and discoveries, so is good to give it a read.

I think the change was not trivial (5 commits related to that ticket), but with the experience gained there it must be smooth to do it for other tables.

Regards,

Carlos Ruiz

Carlos Ruiz
July 30, 2020, 1:35 PM

Decreased the priority, it's not causing issues, just lack of audit on a table that is usually just controlled by the accountant.

Closing as potential idea - if this is going to be fixed I think it must be general and cover all the accounting tabs (which makes it consistent but a lot harder to implement).

Assignee

Unassigned

Reporter

Hiep Lq

Tested By

None

Priority

Major
Configure