Conditional Expression based on Debtor/Creditor Language

1. In DebtorInfo/CreditorInfo we have added a property called “LanguageId”. This property will give an integer which has a value according to the enum shown below.


2. To correctly use the value of Debtor’s / Creditor’s Language, user can make use of its value. Write you conditional expression as shown

Here we have used a IiF Expression method which returns “I am Danish Language” if the condition is true. If not it will return “I am not Danish Language”.