infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Tcl Question
Jared Miller
I am using the following to kill messages with FCC in PV1-18:
if {[cequal [crange $segment 0 2] PV1]} {
set fieldList [split $segment $field_sep]
set pv1_18 [lindex $fieldList 18]
if {[cequal $pv1_18 "FCC"]} {
lappend dispList "KILL $mh"
return $dispList
} else {
lappend dispList "CONTINUE $mh"
return $dispList
}
We are doing integrated testing on our Star ADT upgrade to 2.2b and our test merges (A34) are getting killed even though there is no PV1 segment in an A34. Why would that be happening?
Find more posts tagged with
Clovertech
Comments
david_barr
Are you sure the messages are being killed and not just going to the error database? Do you see the same problem when you run messages through the testing tool?
Tom Rioux
From what I can tell, this is merely an excerpt of a larger script. What happenns below the first IF statement if the segment is not a PV1? Is there any other KILL statements in the proc? It may be hitting a KILL statement later on in the script. If the A34 doesn't have a PV1 then it shouldn't even be hitting this part of the code.
Thanks....Tom
System
Originally posted by Alan James
Try using the kill_msg.tcl proc (attached) with the following arguments:
{PASSCOND ~FCC} {SEGNAME PV1} {FIELDNUM 1} {SUBFIELDNUM 0}
System
Originally posted by Alan James
Ooops! Those arguments should have been {PASSCOND ~FCC} {SEGNAME PV1} {FIELDNUM 18} {SUBFIELDNUM 0}
:oops:
Jared Miller
Thanks Alan! That worked really nice for me. Thanks everyone else for their thoughts as well!
System
Originally posted by Eric Sligh
Would that work like this:
{PASSCOND ~REGEX@NULL} {SEGNAME PV1} {FIELDNUM 1} {SUBFIELDNUM 0}
or
@{PASSCOND ~
@NULL}
{SEGNAME PV1} {FIELDNUM 1} {SUBFIELDNUM 0}