How can I insert a sentence containing fields from other tables using Creator in Screen Modifiers and Notifications?

Viewed 0

While configuring Creator in Screen Modifiers and Notifications, how can I fill a field with a specific sentence that also includes fields pulled from another table?

أرجو توضيح مثال لإمكانية ملء حقل بجملة معينة مضاف إليها حقول من الشاشة.


Originally posted at https://answers.namasoft.com/question/413/ on 2018-11-25.

1 Answers

Use the creator block to target the record and field you want to fill, then place your sentence inside creatorvalue ... endvalue, embedding the other fields with their names in braces.

For example, to fill the remarks field on a sales invoice with a sentence that includes the invoice code and its valueDate:

{creator("SalesInvoice")}{f("remarks")}{creatorvalue}The code is {code} and the date is {valueDate}{endvalue}{endcreator}

Originally posted at https://answers.namasoft.com/question/413/ on 2018-11-25.