IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: Steve.Ela
About
User Name: Steve.Ela
Forum Rank: Member
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, March 14, 2018
Last Visit: Tuesday, May 29, 2018 5:24:11 PM
Number of Posts: 10
[0.06% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Dynamic separators
Posted: Tuesday, May 29, 2018 5:24:11 PM
That was what I was hoping. Encountered an error. I’ll need to find out where it’s actually coming from
Topic: Dynamic separators
Posted: Tuesday, May 29, 2018 1:38:44 PM
We are using MapForce to process 837 EDI files. But have run into an issue. We have a few clients that use | for a separator, and most use *

Is there a way to pull that from the document, or pass it into mapforce from SQL at runtime?

MapForce 2018 Enterprise, exporting to C#
Topic: Load original, copy to new object, update specific information
Posted: Wednesday, May 23, 2018 1:54:55 PM
I see. I was under Node Functions, not Sequence Functions. Will try that.
Topic: Load original, copy to new object, update specific information
Posted: Tuesday, May 22, 2018 7:56:57 PM
I have data from the original document coming into the SQL Where, and if it matches, I am getting the result.
When I tried the Substitute, I got the following error.

ERROR G702: Algorithm construction: Internal error: Invalid cast generated.

I assume the If/Else is expecting a simple True/False for the bool.
Topic: Load original, copy to new object, update specific information
Posted: Friday, May 18, 2018 6:58:19 PM
OK, I am getting close. I am using the SQL Where object to limit down to the exact field I need.
However, if there is no value in the table for that line, I need to pass the existing value from the document.

I was going to use an If/Else, but I am not certain how to determine the number of results returned from the SQL Where object.

Is that possible?
Topic: Load original, copy to new object, update specific information
Posted: Friday, May 18, 2018 3:34:14 PM
When MapForce is writing from the source document to the destination document, is it a line by line, with the looping? If it is a straight bulk copy of data, then it would not work to intercept specific lines.
Topic: Load original, copy to new object, update specific information
Posted: Thursday, May 17, 2018 5:16:57 PM
Hi folks.

I am loading an 837 document, and making a copy of it for an export file (EDI -> EDI)
I need to update specific information during this copy (prices mainly).

I have a SQL view that has all the information I need, MRN, Visit and LX# to locate the specific charge line.

My question, how should the SQL view and EDI document be linked so I can properly update each price as it is written to the export document?

I was working on the assumption I could use the current MRN/Visit/LX and get the related information in the view, and insert the new value instead of the existing one. That has not been the case.

Topic: Extract segment content to SQL
Posted: Thursday, April 12, 2018 1:31:33 PM
Thanks for the reply. I may not have it set up properly.

for this line

LIN**N4*00527172874~

I get

N400527172874

I set up a Variable, Simple, String and filtered it down to the LIN segment

(sorry, I referenced wrong segment in OP)
Topic: Extract segment content to SQL
Posted: Wednesday, April 11, 2018 6:50:30 PM
MapForce newbie here.

I need to save off the SV2 segment (and others) in an 837. I have the mappings for all the fields I need, but I need the entire SV2 line as a string so I can save it.

I am sure it is obvious, but I haven't found it yet.

This entire string so I can save it.

SV2*0636*HC>J2270*75.38*UN*2~

Any help would be appreciated.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.