1b.app
Link copied -

number format in documents

Answers:

Сусяк Ігор
Integrator.com.ua
Personal license
do it like this:
{row:product_productprice[#2]} {row:product_sum[#2]}
29.11.2021, 13:35
Original comment available on version: ru

- wrote
- did not work
29.11.2021, 13:53
Original comment available on version: ru


Mironenko Dmitry
FLP Mironenko Dmitry wrote:
- wrote
- did not work

You didn't write that.
Now you write like this: {row:product_productprice#2]}
And you need it like this: {row:product_productprice[#2]}
That is,
- [#2] - two decimal places
- or [#3] - three decimal places
29.11.2021, 14:12
Original comment available on version: ru

Mironenko Dmitry The form is not eaten up by the text. Look at the picture
29.11.2021, 14:17
Original comment available on version: ru

- tried
- didn't work either
29.11.2021, 14:28
Original comment available on version: ru


Mironenko Dmitry
FLP Mironenko Dmitry wrote:
- tried
- didn't work either

If you paste the same variables through the clipboard, that is, Ctrl+C/Ctrl+V - then nothing will come of it. You need to insert exactly the same variable separately
29.11.2021, 14:32
Original comment available on version: ru

[/quote]
If you paste the same variables through the clipboard, that is, Ctrl+C/Ctrl+V - then nothing will come of it. You need to insert exactly the same variable separately
[/quote]
- image, I can insert a link.
how to insert a variable separately? And even before that, change its format?
29.11.2021, 14:38
Original comment available on version: ru

Сусяк Ігор
Integrator.com.ua
Personal license
oh, here the side is interpreting it as a code, you didn’t get it. can be like this:
29.11.2021, 15:37
Original comment available on version: ru


Susyak Igor
Integrator
Integrator.com.ua wrote:
oh, here the side is interpreting it as a code, you didn’t get it. can be like this:

- yes, I understand
- but which variables produce two characters without specifying the format.
and when you specify, ceases to be perceived as a variable.
could this be a bug?
29.11.2021, 15:44
Original comment available on version: ru

Сусяк Ігор
Integrator.com.ua
Personal license
but even more so, I admit that you wrote the change by hand and could have indicated that it was a Cyrillic letter.
Change is required to select from the list on the right. try adding {row:product_productprice} to the first column
29.11.2021, 15:50
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Mironenko Dmitry
FLP Mironenko Dmitry wrote:
and when you specify, ceases to be perceived as a variable.

this means that in your source code of the document (html - you can open it by the first button in the editor header) you have text or symbols inside the variable. It should be clean, go into the code and remove the extra text. This usually happens when you paste text by copying ctrl + v inside a variable
29.11.2021, 16:15
Original comment available on version: ru


Susyak Igor
Integrator
Integrator.com.ua wrote:
but even more so, I admit that you wrote the change by hand and could have indicated that it was a Cyrillic letter.
Change is required to select from the list on the right. try adding {row:product_productprice} to the first column

- to the first column?
- also works in the fifth one, but without the "[#2]" insertion, and there are no Cyrillic characters in this insertion
and in the first one with an insert it also does not work, and the format does not affect the number in order at all
29.11.2021, 16:19
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Mironenko Dmitry
FLP Mironenko Dmitry wrote:
- in the first column?
- and in the fifth it works, but without the "[#2]" insert, and there are no Cyrillic characters in this insert
and in the first one with an insert it also does not work, and the format does not affect the number in order at all

Once again, most likely you have this story
29.11.2021, 16:23
Original comment available on version: ru


Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:

Mironenko Dmitry
FLP Mironenko Dmitry wrote:
- in the first column?
- and in the fifth it works, but without the "[#2]" insert, and there are no Cyrillic characters in this insert
and in the first one with an insert it also does not work, and the format does not affect the number in order at all

Once again, most likely you have such a story

- there seems to be no such history, all variables are written correctly
29.11.2021, 16:29
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
The variable {row:product_index} is a field of type integer, that is, an integer, it cannot have a fractional part, an indication in the format {row:product_index[#2]} is not allowed for it
29.11.2021, 16:37
Original comment available on version: ru


Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
The variable {row:product_index} is a field of type integer, that is, an integer, it cannot have a fractional part, an indication in the format {row:product_index[#2]} is not allowed for it

well, at least one variable with the format is displayed ....
and {row:product_productprice[#2]} - why does it cease to be displayed if you add a format?
29.11.2021, 16:43
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Mironenko Dmitry
FLP Mironenko Dmitry wrote:
well, at least one variable with the format is displayed ....
and {row:product_productprice[} - why does it cease to be displayed if you add a format?

Add the previous messages in the topic and try to understand, you do not show what you have filled in, I cannot predict, only guess. If your variable in the code looks like this {row:product_productprice[} - then this is incorrectly filled
You need it like this {row:product_productprice[#2]} - if filled like this, it will work
29.11.2021, 16:46
Original comment available on version: ru


Add the previous messages in the topic and try to understand, you do not show what you have filled in, I cannot predict, only guess. If your variable in the code looks like this {row:product_productprice[} - then this is incorrectly filled
You need it like this {row:product_productprice[#2]} - if filled like this, it will work

- I don't see the difference :)
something needs to be done about it :)
29.11.2021, 16:49
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
Add the previous messages in the topic and try to understand, you do not show what you have filled in, I cannot predict, only guess. If your variable in the code looks like this {row:product_productprice[} - then this is incorrectly filled
It is necessary like this {row:product_productprice[} - if it is filled like this, it will work

the combination '[#2]' here is defined as the contact id
'{row:product_productprice[#2]}' - this is how it should be
29.11.2021, 16:50
Original comment available on version: ru


Sukhanitsky Andrey
Put the previous messages in the topic and try to understand, you do not show what you have filled in, I cannot predict

I'm attaching screenshots to every post.
https://1b.app/ru/ajax/download/12541/ - for example, what is filled in the editor and HTML code
- and here's what's in view
29.11.2021, 16:54
Original comment available on version: ru


Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
the combination '[#2]' here is defined as the contact id
'{row:product_productprice[#2]}' - this is how it should be

that's how it's written,
when adding a format to variables, they are no longer displayed, (except for {row:product_index} - it ignores the format)
29.11.2021, 16:58
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Mironenko Dmitry
FLP Mironenko Dmitry wrote:
- and here's what's in view

view shows the last created document according to this template, so to see the changes - you need to create a new document in the order and already in this document you will see the changed values, according to the variables
29.11.2021, 17:01
Original comment available on version: ru


Sukhanitsky Andrey
view shows the last created document according to this template, so to see the changes - you need to create a new document in the order and already in this document you will see the changed values, according to the variables

Yes strong. and don't say it right now
Viewing reacts perkyly to changes and the process for viewing is taken according to which no documents have ever been created ...
you can see for yourself https://adapter.crm-onebox.com/app/document/templates/5/control/
29.11.2021, 17:15
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Did you generate the document in the order, does it display the numbers correctly?
29.11.2021, 20:12
Original comment available on version: ru


Sukhanitsky Andrey
OneBox Corp.
Integrator wrote:
Did you generate the document in the order, does it display the numbers correctly?

Yes, in a real document everything is displayed correctly.
This is a glitch in the template view.
30.11.2021, 13:36
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment