How do I resolved "The name "NOTRESOLVEDxx" when using an IF
Question asked by Shaun Hansel - November 27, 2018 at 9:58 PM
Good afternoon, I'm currently evaluating Liquid for both new and legacy EDI systems.  I have an EDI(x12) 810(Invoice) document, which I am mapping to a legacy, fixed width flat file.  (Oracle 12 EDIDLORD files)
Some of the data in the flat file may need to be calculated, depending on the value of another field. 
So, I'm using an IF.  I have an Equals module checking the condition and passing the Boolean to the IF condition field.  I have my two possible calculated results connected to the IF.  Finally, I have the result of the IF connected to the field in my flat file writer. 
When I execture, I receive "Internal Compiler Error. Please contact support:
The name 'NOTRESOLVED32' does not exist in the current context"
Changing the field I output to changes the number in the error. 
Bypassing the IF and sending one of the results straight to output allows the code to compile.
Feeding data straight from constants into the IF results in the same error. 
I am currently running version
I can't see anything in the datamapper XML that indicates any issue.
I've also taken a look at your IF-Then_Else sample, and it's configured the same as my own, so far as I can tell.  The only differences are the data source and the data target types. 
Any help is appreciated.  Thank you.

Reply to Thread