How to show Document Types in report?

We have a lot of “Document types” in the program, such as: collection, third-party expenses, debts, etc. During the working day, it includes expenses for the day and additional income. How to display them in the report, what variables to use? I’ve tried variables from the “Accounts” list, but it doesn’t work.

Try {REPORT ACCOUNT TRANSACTION DETAILS}

It doesn’t work. Example:

[Расходы:2, 1]

Общий расход | {ACCOUNT CREDIT TOTAL:Expenses Accounts}
>Детально:
Инкассация 1-й этаж | {REPORT ACCOUNT TRANSACTION DETAILS:Инкассация 1 Этаж}
...

screen1

So, I found this code:

[Account Transactions:1,1,1,1,1, 1]
>>docType|SRC|TGT|docName|txName|amount
{REPORT ACCOUNT TRANSACTION `DETAILS:T.DocumentType,T.Source,T.Target,T.Name,T.TransactionName,T.Amount}`

It’s worked, but for all transactions, I need to showing only doctypes from expenses accounts.

So, pls help with it

Инкассация 1-й этаж | {REPORT ACCOUNT TRANSACTION DETAILS:Инкассация 1 Этаж}

This is not correct. You are missing

You havent stated target account at the end. Replace the “Target Account” in syntax below with your target account.

Инкассация 1-й этаж | {REPORT ACCOUNT TRANSACTION DETAILS:Инкассация 1 Этаж:Target Account}

[quote=“ATechAsia, post:6, topic:19268”]
This is not correct. You are missing

You havent stated target account at the end. Replace the “Target Account” in syntax below with your target account.

Инкассация 1-й этаж | {REPORT ACCOUNT TRANSACTION DETAILS:Инкассация 1 >Этаж:Target Account}
[/quote]
It doesn't work... But I found this silution:
    [Расходы подробно:2,1]
    >>Наименование|Сумма
    Инкассация | {ACCOUNT TOTAL:Инкассация}
    Коммунальные платежи | {ACCOUNT TOTAL:Коммунальные платежи}
    Прочее | {ACCOUNT TOTAL:Прочее}
    Продукты | {ACCOUNT TOTAL:Продукты}
    Хозрасходы | {ACCOUNT TOTAL:Хозрасходы}
    Безналичный Чай Расход | {ACCOUNT TOTAL:Безналичный Чай Расход}
    Инкассация | {ACCOUNT TOTAL:Инкассация}
    Зарплаты | {ACCOUNT TOTAL:Зарплаты}
    Расходы на кухню | {ACCOUNT TOTAL:Расходы на кухню}
    Маркетинг | {ACCOUNT TOTAL:Маркетинг}
    [Итого:2,1]
    >>Наименование|Сумма
    Общие расходы | {ACCOUNT TOTAL:Expenses Accounts}

first

But I also need to specify the details (transactions). {REPORT ACCOUNT TRANSACTION DETAILS} is suitable for this, but all transactions, including rounding of the amount, are included in the report. I only need details about “Expenses Accounts”.

I dont understand most of it thats written but if you were to share you Account Transactions Type and Document Type you have issue reporting I would be able to provide more inisght.

My system uses a lot of" expenses accounts " for the needs of the enterprise: (collection, expenses, taxes, services, etc.). Also, since you are using the 2 terminal and 2 drawers for money, I did a different transaction types and document types for them. In this example, the report shows only the account balance, but you also need to show the exact transactions - when and how the payment occurred.

I understand that.

I need screenshots of your account transaction type and document type that you have issue with.

Otherwise I cant help you.

P.S. You just copied my syntax without changing what I told you to change.

expense4 espense1

Из того что я понял Вам скорее всего надо создать Тип Аккаунта “Инкасация” и внутри него два аккаунта 1 этаж и 2 этаж.

в Expenses Accounts, Вы слишком обобщаете все свои аккаунты.
Лучше разделить это на несколько категорий, в отчетах можно потом без проблем отобразить необходимые аккаунты.

Не забывайте что транзакции не могут проведены в одном и том же типе аккаунте.

Мне нужно отобразить траназкции по типу Expenses Accounts в отчёте. Потому как когда я использую:
[Расходы:2, 1, 1, 1]
{REPORT ACCOUNT TRANSACTION DETAILS:T.Source,T.Date,T.DocumentType,T.Amount}

То в отчёт попадают все транзакции, в том числе округления и скидки. Грубо говоря, мне надо отфильтровать последнюю переменную, чтобы оно отображала только транзакции Expenses Accounts

Here is an example.

{ACCOUNT TRANSACTION DETAILS:Expense Bank Payment:Bank}

Expense Bank Payment - name of the Transaction Type
Bank - Name of the default source account

You incorrectly named topic
in title You Want Document type

iin the post you want Account type expression
You need:
{REPORT ACCOUNT TRANSACTION DETAILS:T.DocumentType,T.Source,T.Target,T.Name,T.TransactionName,T.Amount : (Target Account type=“XXX”)}

right?

1 Like

I think completely misunderstood what he wants to do too. :thinking:

вам надо сначала написать название транзакции а потом название счета.
У меня в отчетах примерно так:
[Итоговый отчёт:1, 2, 1]
Сумма с продаж||{REPORT PAYMENT DETAILS:P.Amount.Sum:Payment.Amount > 0}
>>Наличные|{ACCOUNT TOTAL:Наличные}
Продажа||{REPORT PAYMENT DETAILS:P.Amount.sum:(PT=Наличные)}
Приход||{ACCOUNT TRANSACTION TOTAL:Транзакции прихода Наличные:Наличные}
Приход с клиентов||{ACCOUNT TRANSACTION TOTAL:Клиент Оплата наличными:Наличные}
>Расход||{ACCOUNT TRANSACTION TOTAL:Транзакции расхода Наличные:Наличные}
>>Терминал|{ACCOUNT TOTAL:Терминал}
Продажа||{REPORT PAYMENT DETAILS:P.Amount.sum:(PT=Терминал)}
Приход||{ACCOUNT TRANSACTION TOTAL:Транзакции прихода Терминал:Терминал}
Приход с клиентов||{ACCOUNT TRANSACTION TOTAL:Клиент Оплата Терминал:Терминал}
>Расход||{ACCOUNT TRANSACTION TOTAL:Транзакции расхода Терминал:Терминал}
>>Долг клиентам||{ACCOUNT TRANSACTION TOTAL:Клиент Операция аккаунта:Задолженность}
>>Общий итог|[=F((TN(’{ACCOUNT TOTAL:Наличные}’)+TN(’{ACCOUNT TOTAL:Терминал}’)))]