Thank you for your reply!
In general, yes - this is very interesting and partially solves the request. After discussion with the client, it is likely that I will ask for an invoice. Before that, I’ll clarify - is it possible to refine it so that I will independently choose which fields to summarize and which fields to write to, and how much will it cost? (Or is it included in two hours?) Interested in process and product fields. If not, then for a start it will be enough for us to take the sum of processes and fill in the custom field accordingly.
The second point is in the continuation of logic. Taking into account the above refinement, it turns out like this: at the "Waiting for payment" stage, a notification is sent to the client (sms, viber, tg) indicating the amount for all related processes (the above-mentioned custom field), card number and process id. Let's take a happy story as an example, when a client specifies this same orderid in the comment to the payment when paying. Since the action for collecting payments from the monobank
https://voltdetailing.1b.app/app/automatization/hour/edit/ is set and "Shukati the process number according to the template" is indicated in it: #orderid this payment falls into the process that switched to stage and sent SMS. And there is a nuance, for example:
In this process, the sum of the process, let's say 5000, in another, related process, let's say 3000, in the third 2000
sum of three processes 10000
the client receives an SMS in the amount of 10000, he pays them, but the payment gets into the process, where the amount is 5000
and now the question to which I led
can the system, for example, with the help of refinement, automatically check if there are related processes, and if so, automatically distribute this payment to the current and all related processes?
so that, as in the example, the payment for 10000 for one process is distributed into three payments 5000, 3000, 2000 for three related processes.
Thank you for your time!
PS: if you need to write technical specifications for the second part regarding the collection of payments in a separate consultation on the forum, then tell me, I will write. But it would be great if we wrote this logic within one TOR, so that even for forum users this information would be available within one post.