F
F
fboss992021-05-13 18:04:51
1C
fboss99, 2021-05-13 18:04:51

How to decline the Word?

Результат = ПолучитьСклоненияСтрокиПоЧислу("Заказ", 12, "", 
    "ЧС=Порядковое", "ПД=Родительный; ПЧ=ЧислоСОкончанием");
\\\\\\\\\\\\\\\\\\
|Всего " + ВыборкаДетальныеЗаписи.Количество() +Результат+" на сумму " + СуммаДокументов + " (" + ЧислоПрописью

Here it is necessary that the word order be inclined ("order", "order", "orders") Here is the code that I can't understand wrong here? 1s just closes on execution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2021-05-17
@Dementor

From the description of the method in the syntax helper:

Valid parameters :
L (L) - Localization code. By default, the localization code set in the operating system is used. Examples of localization codes: ru_RU - Russian (Russia), en_US - English (USA). Currently, only Russian is supported. If no localization code is specified, then the user's current localization is used.

Those. if the user's system language is English, Ukrainian, Kazakh or any other except Russian, then you must explicitly pass the Russian language as a parameter, otherwise an error is always generated!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question