1b.app
Link copied -

Where does the hasWarranty variable come from?

There are several variables related to the product warranty in the document templates:
product warranty
row: product_warranty
the time of the end of the guarantee, from the moment of creation of the process
row: product_warrantyDate
the time of the end of the guarantee, from the moment the document is created
row: product_warrantyDateNow
seal the guarantee
printwarranty
guarantee
hasWarranty
What data goes into the hasWarranty variable?
This variable is somehow related to business processes, since I did not find it among the process fields.
How can you use the printwarranty variable?
Original question is available on version: ua Вячеслав Легеза

Answers:


Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH) wrote:
What data is taken to variable hasWarranty?

this variable can be set to true/false to indicate that one of the products has a warranty

Legeza Vyacheslav Valerianovich
iCOLOR OneBox (FOP LEGEZA VYACHESLAV VALERIANOVICH) wrote:
How can I change the printwarranty?

no way, the variable does not carry useful information already and will be deleted
25.01.2023, 09:55
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

Maria
OneBox production wrote:
this variable can be true/false to indicate that one of the products has a warranty

i.e. I understood correctly that the variable only conveys the presence or absence of a warranty, but not its actual value, which is specified in the product card field, screen 1264
and what variable can be used to extract the absolute value of the field from the product card into the document so as not to create additional fields with the same meaning as the existing system fields?
27.01.2023, 10:28
Вячеслав Легеза Original comment available on version: ua


Legeza Vyacheslav Valerianovych
iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:
and what variable can be used to extract the absolute value of the field from the product card into the document so as not to create additional fields with the same meaning as the existing system fields

You yourself specified the necessary variable row:product_warranty
it takes the guarantee from the product field of the process, if there is none - from the product card
27.01.2023, 11:00
Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you

Maria
OneBox production wrote:

Legeza Vyacheslav Valerianovych
iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:
and what variable can be used to extract the absolute value of the field from the product card into the document, so as not to create additional fields with the same meaning as the existing system fields

You yourself specified the necessary variable row:product_warranty
it takes the guarantee from the product field of the process, if there is none - from the product card

thank you very much for your help
figured it out a little
27.01.2023, 12:22
Вячеслав Легеза Original comment available on version: ua

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