==================== Conversion rule info ==================== WDExtensions ============ WdExtensions - is a help java class for working with dictionaries inside XSLT map. In order to apply it, the following namespace has to be added: .. code:: xml There are 4 static methods: | 1. wdExtensions:getValueFromDictionary(String dictionaryUuid, String columnByUuid, String valueToFind, String columnToFind) | Can be used to find a value in column | 2. wdExtensions:getRecordUuidByValueFromDictionary(String dictionaryUuid, String columnUuid, String valueToFind) | Can be used to find UUID of dictionary record | 3. wdExtensions:createAttachementWithSourceFile() | Extension uploads original file to storage, creates attachment UUID and return UUID as result. This extension can be used if created envelope required original file. Each repetition of extension will create new attachment with new UUID. | 4. wdExtensions:getMailboxUuidByAlias(String mailboxAlias) | Extension accepts alias name and return mailboxUUID. Can be used to configure recipients in flow. Instead of mailboxAlias can be path to respective value in original document. Conversion rule example for outgoing documents ============================================== .. code:: xml Замовлення на постачання № Оригінал замовлення 2021-02-03T12:22:52.709Z № акции: , , -- -- --
4829090909095 . ()
4829090909095
4829090909095 . . ()
xxxxxxxxxxxxx 9099999104043
XLS and X12 to XML conversion ============================= Our platform has capabilities to convert .xls and .xlsx files and X12 files (.xml or .txt) to envelopes. This is achieved by using built-in converter. To use it you should use sample of needed format file as sourse file in new conversion rule (first window). After that you have to write conversion rule in second window (use Xpath to extract needed values to according fields). Then try running your rule - you should see output in 3rd window. Do not forget to add regexp to name field so correct files can be found for conversion. When conversion rule is created, You can put needed files with accorrding names directly to your outbox or coutbox folders and they wil be converted to envelopes automatically. Conversion rule example for incoming documents ============================================== .. code:: xml Lasynia wrong UNB+UNOC:3+4829900005924 UNB+UNOC:3+4829900006907 UNB+UNOC:3+4829900006891 UNB+UNOC:3+9863571155385 UNB+UNOC:3+4829900015633 UNA:+.? ' UNB+UNOE:3+ :14+:14+:0000+' UNH++DESADV:D:01B:UN:EAN007' BGM+351++9' DTM+137::102' DTM+17::203' DTM+17::102' RFF+ON:' DTM+171::102' RFF+DQ:' NAD+BY+::9' NAD+SU+::9' RFF+YC1:' NAD+DP+::9' CPS+1' PAC+++201::9' PAC+++PK' UNT++'UNZ+1+' CNT+11:'UNT++' UNZ+1+' UNT++' UNZ+1+' LIN+++:SRV'PIA+1+:IN::92'PIA+1+:SU::92'QTY+12::KGM'QTY+21:' LIN+++:SRV' PIA+1+:IN::92' PIA+1+:CG::92' QTY+12::KGM' QTY+12::KGM' QTY+21:' QTY+21:' FTX+QQD+1+002+' 20100301 20100401 20100501 20100601 20100701 20100801 20100901 20101001 20101101 20101201 20100101 20110101 +?"'&<> ++++++1 Scenario run through integration ================================ Customer is able to run scenario through integration, to get more details follow the :ref:`link `