콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4706 화면

I'm needing to show each individual currency in the analytic account's "Costs & Revenues" lines, I would need to dynamically add columns for the different currencies each invoice has and show the total below (mimicking the behavior of the 'Amount' column that's already there), is there a way to do this or a workaround with a similar result?

The analytic account lines already store the amount in the original currency as well as the converted one to the company currency.

I want to avoid going mad by adding a field for each currency by hand.

아바타
취소

Hi, Ray, thanks for the answer, but I would need to have a different column for each possible currency and show the amount the same way the 'Amount' column does.

베스트 답변

Each Analytic Account Line has a move_id field that stores the linked Journal Item that was responsible for creating it.  Each Journal Item has a currency_id field which is blank if the Currency matches the base Currency of the Company, and populated with the Currency of the Income/Expense otherwise.

Create a related field that you add to the List View.

move_id.currency_id

It will only make sense to total lines in the same Currency.


아바타
취소
관련 게시물 답글 화면 활동
1
10월 25
11564
2
7월 24
3262
1
6월 24
5646
1
10월 23
98
1
8월 23
2194