Service date in 2400 Loop of inbound x12 -TO- Two destination fields based on the qual
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Service date in 2400 Loop of inbound x12 -TO- Two destination fields based on the qual




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Service date in 2400 Loop of inbound x12 -TO- Two destination fields based on the qual  
edupugantis@hotmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-05 10:58 PM

Hello,

I am using Hipaa Accelerator 3.0 for BiztalkServer2004.
Having source schema as 837professional_v3_wpc_multiple.xsd.

Inbound X12 file, Service date in 2400 Loop may come in any one of the
format,
DTP*472*D8*200040607~
DTP*472*RD8*20040607-20040608~

In my destination schema I am having two fields as
SERVICE_FROM_DATE
and SERVICE_TO_DATE

To Map Source schema to destination schema I have written script
functiod,

For this script functiod we give two inputs, one as qualifier (D8 or
RD8) other as date (strDate)

I have written a script functiod vb.net and calling from external
assembly in script functiod in MAP,

If (strQualifer = "D8") Then

SERVICE_FROM_DATE = strDate
SERVICE_TO_DATE = strDate

ElseIf (strQualifer = "RD8") Then

Dim nexda As Integer
Dim intPor As Integer
intPor = strDate.IndexOf("-")
nexda = strDate.Length - 1
nexda = nexda - intPor

SERVICE_FROM_DATE = strDate.Substring(0, intPor)
SERVICE_TO_DATE = strDate.Substring(intPor + 1, nexda)

End If

The output from the script functiod of this is having two
parameter's, which parameter to map to the fields in the destination
schema.

(As script functiod will give one output at a time.)

I will appreciate if the solution is posted as early as possible.

Pl suggest if there is any other new approach to send Service date to
two destination fields based on the qualifiers.

Thanks
Sridhar.E






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:27 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register