How to know if the given value is string or numeric

I need to know the given input value is a numeric or not in the transaction. I tried the following:
stringif( localnumber(Transaction.INPUT) == "NA",Transaction.INPUT, stringright( ("000000000000000000"&localnumber(Transaction.INPUT)), 18 )
But in the above case, when INPUT value is "123s" (if the first character is numeric), it returns "123", not "NA".
Is there any other way to handle this?
Thanks,
Sara

<?xml version="1.0" encoding="utf-8"?>
<Transaction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <TransactionAttributes>
        <ContextItem>
            <Name>Category</Name>
            <Description>Transaction Category</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Comments</Name>
            <Description>User Comments</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>CreatedBy</Name>
            <Description>Created By</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>CreationDate</Name>
            <Description>Creation Date</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:dateTime">2007-07-30T08:33:08</Value>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Description</Name>
            <Description>Transaction Description</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Status</Name>
            <Description>Deployment Status</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string">DEVELOPMENT</Value>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>LastEditedBy</Name>
            <Description>Last Edited By</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>LastEditedDate</Name>
            <Description>Last Edited Date</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:dateTime">2007-07-30T11:05:28</Value>
            <ReadOnly>true</ReadOnly>
        </ContextItem>
    </TransactionAttributes>
    <Name>IsNumeric</Name>
    <Version>10</Version>
    <WriterRoles/>
    <ReaderRoles/>
    <Context>
        <ContextItem>
            <Name>input</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string">00000000000000000005679</Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>output</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:string"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
    </Context>
    <Local>
        <ContextItem>
            <Name>DecTracker</Name>
            <Description>Track number of Decimal point</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:long">0</Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>lntInput</Name>
            <Description>Define the length of the input string</Description>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="xsd:long">0</Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
    </Local>
    <Layout>
        <GUILayoutItem>
            <Name>Sequence_0</Name>
            <X>8</X>
            <Y>264</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>seqInputExample</Name>
            <X>944</X>
            <Y>136</Y>
            <Width>120</Width>
            <SpacingWidth>1992</SpacingWidth>
            <DescendantWidth>1992</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_2</Name>
            <X>944</X>
            <Y>264</Y>
            <Width>120</Width>
            <SpacingWidth>1704</SpacingWidth>
            <DescendantWidth>1704</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_3</Name>
            <X>1880</X>
            <Y>264</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_4</Name>
            <X>8</X>
            <Y>392</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>CalculateInputStringLength</Name>
            <X>16</X>
            <Y>408</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_5</Name>
            <X>944</X>
            <Y>392</Y>
            <Width>120</Width>
            <SpacingWidth>1704</SpacingWidth>
            <DescendantWidth>1704</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>LoopThroughTheString</Name>
            <X>952</X>
            <Y>408</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_6</Name>
            <X>944</X>
            <Y>520</Y>
            <Width>120</Width>
            <SpacingWidth>1704</SpacingWidth>
            <DescendantWidth>1704</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Tracer_0</Name>
            <X>952</X>
            <Y>536</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_7</Name>
            <X>944</X>
            <Y>648</Y>
            <Width>120</Width>
            <SpacingWidth>1704</SpacingWidth>
            <DescendantWidth>1704</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Tracer_1</Name>
            <X>952</X>
            <Y>664</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_8</Name>
            <X>944</X>
            <Y>776</Y>
            <Width>120</Width>
            <SpacingWidth>1704</SpacingWidth>
            <DescendantWidth>1704</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Switch_0</Name>
            <X>952</X>
            <Y>792</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_9</Name>
            <X>152</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_10</Name>
            <X>296</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_11</Name>
            <X>440</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_12</Name>
            <X>584</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_13</Name>
            <X>728</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_14</Name>
            <X>872</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_15</Name>
            <X>1016</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_16</Name>
            <X>1160</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_17</Name>
            <X>1304</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_18</Name>
            <X>1448</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_19</Name>
            <X>1592</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_20</Name>
            <X>1736</X>
            <Y>904</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>AssignOutPut</Name>
            <X>952</X>
            <Y>280</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>AssignException</Name>
            <X>1744</X>
            <Y>920</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_21</Name>
            <X>1736</X>
            <Y>1032</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>BreakLoop</Name>
            <X>1744</X>
            <Y>1048</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Tracer_2</Name>
            <X>1888</X>
            <Y>280</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_22</Name>
            <X>8</X>
            <Y>520</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>AssignDefaultValueforDecTracker</Name>
            <X>16</X>
            <Y>536</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Increment</Name>
            <X>1600</X>
            <Y>920</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_23</Name>
            <X>1592</X>
            <Y>1032</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>ChkNumberDecimalPoint</Name>
            <X>1600</X>
            <Y>1048</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_24</Name>
            <X>1592</X>
            <Y>1160</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>120</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>AssignExceptionForInvalidNumber</Name>
            <X>1600</X>
            <Y>1176</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>Sequence_25</Name>
            <X>1592</X>
            <Y>1288</Y>
            <Width>120</Width>
            <SpacingWidth>120</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>BreakLoopForInvalidNumber</Name>
            <X>1600</X>
            <Y>1304</Y>
            <Width>104</Width>
            <SpacingWidth>0</SpacingWidth>
            <DescendantWidth>0</DescendantWidth>
            <Height>72</Height>
        </GUILayoutItem>
        <GUILayoutItem>
            <Name>seqHeader</Name>
            <X>944</X>
            <Y>8</Y>
            <Width>120</Width>
            <SpacingWidth>1992</SpacingWidth>
            <DescendantWidth>1992</DescendantWidth>
            <Height>96</Height>
        </GUILayoutItem>
    </Layout>
    <Actions>
        <ContextItem>
            <Name>CalculateInputStringLength</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>LoopThroughTheString</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="ForNextRepeaterAction">
                <From>0</From>
                <Break>false</Break>
                <To>0</To>
                <Step>1</Step>
                <CurrentItem>0</CurrentItem>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Tracer_0</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Tracer">
                <Level>INFO</Level>
                <Message/>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Tracer_1</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Tracer">
                <Level>INFO</Level>
                <Message/>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Switch_0</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="SwitcherAction">
                <MatchCount>11</MatchCount>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>AssignOutPut</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>AssignException</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>BreakLoop</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Tracer_2</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Tracer">
                <Level>INFO</Level>
                <Message/>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>AssignDefaultValueforDecTracker</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>Increment</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>ChkNumberDecimalPoint</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="ConditionalAction">
                <InputCount>1</InputCount>
                <LogicalAnd>false</LogicalAnd>
            </Value>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>AssignExceptionForInvalidNumber</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
        <ContextItem>
            <Name>BreakLoopForInvalidNumber</Name>
            <Description/>
            <MinRange>0</MinRange>
            <MaxRange>0</MaxRange>
            <Value xsi:type="Assignment"/>
            <ReadOnly>false</ReadOnly>
        </ContextItem>
    </Actions>
    <Steps>
        <Step xsi:type="ActionSequence">
            <Name>seqHeader</Name>
            <Description>This transaction take a string as input and test if the string is numeric or not.
If it is numeric, it returns the value as output, otherwise it retruns as NA as output </Description>
            <Steps>
                <Step xsi:type="ActionSequence">
                    <Name>seqInputExample</Name>
                    <Description>input: 0000234S</Description>
                    <Steps>
                        <Step xsi:type="ActionSequence">
                            <Name>Sequence_0</Name>
                            <Description/>
                            <Steps>
                                <Step xsi:type="ActionSequence">
                                    <Name>Sequence_4</Name>
                                    <Description/>
                                    <Steps>
                                        <Step xsi:type="ActionSequence">
                                            <Name>Sequence_22</Name>
                                            <Description/>
                                            <Steps/>
                                            <Actions>
                                                <Action>
                                                    <Name>AssignDefaultValueforDecTracker</Name>
                                                    <Description/>
                                                    <IncomingLinks/>
                                                    <OutgoingLinks>
                                                        <Assign xsi:type="Assign">
                                                            <Name/>
                                                            <Description/>
                                                            <To>Local.DecTracker</To>
                                                            <From>0</From>
                                                        </Assign>
                                                    </OutgoingLinks>
                                                </Action>
                                            </Actions>
                                        </Step>
                                    </Steps>
                                    <Actions>
                                        <Action>
                                            <Name>CalculateInputStringLength</Name>
                                            <Description/>
                                            <IncomingLinks/>
                                            <OutgoingLinks>
                                                <Assign xsi:type="Assign">
                                                    <Name/>
                                                    <Description/>
                                                    <To>Local.lntInput</To>
                                                    <From>stringlength( Transaction.input )</From>
                                                </Assign>
                                            </OutgoingLinks>
                                        </Action>
                                    </Actions>
                                </Step>
                            </Steps>
                            <Actions/>
                        </Step>
                        <Step xsi:type="ActionSequence">
                            <Name>Sequence_2</Name>
                            <Description/>
                            <Steps>
                                <Step xsi:type="ForNextRepeater">
                                    <Name>Sequence_5</Name>
                                    <Description/>
                                    <Steps>
                                        <Step xsi:type="ActionSequence">
                                            <Name>Sequence_6</Name>
                                            <Description/>
                                            <Steps>
                                                <Step xsi:type="ActionSequence">
                                                    <Name>Sequence_7</Name>
                                                    <Description/>
                                                    <Steps>
                                                        <Step xsi:type="Switcher">
                                                            <Name>Sequence_8</Name>
                                                            <Description/>
                                                            <Steps>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_9</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_10</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_11</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_12</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_13</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_14</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_15</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_16</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_17</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_18</Name>
                                                                    <Description/>
                                                                    <Steps/>
                                                                    <Actions/>
                                                                </Step>
                                                                <Step xsi:type="ActionSequence">
                                                                    <Name>Sequence_19</Name>
                                                                    <Description/>
                                                                    <Steps>
                                                                        <Step xsi:type="Conditional">
                                                                            <Name>Sequence_23</Name>
                                                                            <Description/>
                                                                            <Steps>
                                                                                <Step xsi:type="ActionSequence">
                                                                                <Name>Sequence_24</Name>
                                                                                <Description/>
                                                                                <Steps>
                                                                                <Step xsi:type="ActionSequence">
                                                                                <Name>Sequence_25</Name>
                                                                                <Description/>
                                                                                <Steps/>
                                                                                <Actions>
                                                                                <Action>
                                                                                <Name>BreakLoopForInvalidNumber</Name>
                                                                                <Description/>
                                                                                <IncomingLinks/>
                                                                                <OutgoingLinks>
                                                                                <Assign xsi:type="Assign">
                                                                                <Name/>
                                                                                <Description/>
                                                                                <To>LoopThroughTheString.Break</To>
                                                                                <From>true</From>
                                                                                </Assign>
                                                                                </OutgoingLinks>
                                                                                </Action>
                                                                                </Actions>
                                                                                </Step>
                                                                                </Steps>
                                                                                <Actions>
                                                                                <Action>
                                                                                <Name>AssignExceptionForInvalidNumber</Name>
                                                                                <Description/>
                                                                                <IncomingLinks/>
                                                                                <OutgoingLinks>
                                                                                <Assign xsi:type="Assign">
                                                                                <Name/>
                                                                                <Description/>
                                                                                <To>Transaction.output</To>
                                                                                <From>"NA"</From>
                                                                                </Assign>
                                                                                </OutgoingLinks>
                                                                                </Action>
                                                                                </Actions>
                                                                                </Step>
                                                                            </Steps>
                                                                            <Actions>
                                                                                <Action>
                                                           

Similar Messages

  • [help]how to know whether the given column exists in the table or not????

    Hi all, can anyone tell me how to write a C# code help me to know whether the given field exists.
    If it doesnt exists then i want to alter the table to include this column also
    I am able to write the code for alter table but i m not sure how do i check for its existence/nonexistence
    My Altering code
    {color:#800000}cmd.CommandText = "alter table " + row.ToString() + " add(" + sQuality + " varchar2(50), " +
    sTimeStamp + " varchar2(50), " +
    sValue + " varchar2(50))";
    cmd.CommandType = CommandType.Text;
    cmd.ExecuteReader();
    {color}

    Just iterate the datatable after completion and check for your column.
            public static DataTable MaterializeTableStructure(string _connectionString, string _tableName)
                DataSet ds = null;
                using (OracleConnection _oraconn = new OracleConnection(_connectionString))
                    try
                        _oraconn.Open();
                        string sql = "SELECT COLUMN_NAME, DATA_TYPE, NULLABLE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE FROM user_tab_columns where table_name='" + _tableName + "'";
                        using (OracleCommand cmd = new OracleCommand(sql, _oraconn))
                            cmd.CommandType = CommandType.Text;
                            using (OracleDataAdapter da = new OracleDataAdapter(cmd))
                                ds = new DataSet("MaterializeTableStructure");
                                da.Fill(ds);
                    catch (OracleException _oraEx)
                        throw (_oraEx); // Actually rethrow
                    catch (System.Exception _sysEx)
                        throw (_sysEx); // Actually rethrow
                    finally
                        if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
                            _oraconn.Close();
                if (ds != null)
                    return ds.Tables[0];
                else
                    return null;
            }r,
    dennis

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

  • How to know when the PRICE AFTER DISCOUNT changed and get the value

    Hi,
    Everything I do to see if a value changed in the grid works except for PRICE AFTER DISCOUNT
    which seems to be inaccessible.
    Any idea how to know when exactly this value changed and do actions accordinly ?
    Also I always get 0.00 if I try to get the value of it
    This works to get in the condition of a vlaue changing but I always get 0.00 as the value of the column
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_DISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_DISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
        catch (Exception ex)
            SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    And this do not even get into the condition even tought I SEE the column PRICE AFTER DISCOUNT:
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_PRICEAFTERDISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_PRICEAFTERDISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Price after discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
         catch (Exception ex)
             SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");

    just idea, maybe it will works
    Create one udf in row level and set there FS based on changes on price after discount and fill value what is in price after discount. Then the validation make on this field instead of standard SAP field.

  • How do you tell the color value of a pixel in an image data

    Hi,
    Given a BufferedImage of type, say BufferedImage.TYPE_4BYTE_ABGR, how do you tell the color value of a pixel in the image?
    Specifically, in the following code:
    Raster imgData = image.getData();
    int x = imgData.getMinX();
    int y = imgData.getMinY();
    int width = imgData.getWidth();
    int height = imgData.getHeight();
    I want to search the raster looking for a specific color, e.g., Color.WHITE.
    According to the API, "getSample()" may be used for this purpose. But, how do you know which color band a band index parameter in getSample() refers to? Does band index of 0 always refer to the RED band? Does band index of 1 refer to the GREEN band? etc.
    I'd greatly appreciate any help you may be able to provide.
    Thanks,
    --HS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    In the print dialog underneath the settings for number of copies and print range you should see a dropdown menu probably called Layout. If you don't see that look for a button labeled Details and click it.
    Under the Layout menu you should find an option labeled Printer where you will find Printer specific options. Look for something there. You might also find an option called Color which may have options you are looking for.
    If this doesn't help, go to the printer manufacturer's website and look for answers there.

  • How can I get the edited value from the editor in JTable

    I have a JTextField added as an editor to a cell in JTable.
    I value gets changed when I press enter.
    but in actionPerformed of the JTextField when I say
    String txtEditorValue = txtEditor.getText();
    I am getting the old value. How can I get the edited value? Thanks.

    Hi,
    I guess, your understanding of how JTable works together with its models is not good enough - for example the method getTableCellEditorComponent(...) of the TableCellEditor interface is used to get the component, that should be used as editing component - its second parameter is a value that should be used to setup the editing component - it is normally not the editing component itself.
    JTable uses an underlying TableModel to store the cell values - if you have edited a cell, JTable gets the value of the editing component by itself and stores it in the TableModel using its setValueAt(...) method. To retrieve this data you only need to query the TableModel using row and column of this cell as parameters
    say jt is your JTable, and row and column are the row and column of the cell - so to get the value, simply use
    Object obj = jt.getModel().getValueAt(row,column);
    if you know, that there is a String in this cell use
    String str = (String) jt.getModel().getValueAt(row,column);
    The editor component is used for the view of the JTable - you only want the data, which is stored in the model - you don't have to deal with the GUI components in this case.
    greetings Marsian

  • How to batch change the standard value of routing

    Dear all,
             I meet a problem, and need you help.
            As you know, we can use T-code "CS20"  to batch change a component's quantity in different Bom by a factor.
           for example:  Component a in Fert. A,  quantity change from 6g x 0.9 = 5.4g
                               Component a in Fert. B,  quantity change from 8g x 0.9 = 7.2g
           now, my question is how to Batch change the standard value in routing. (select by work center)  CA85N can select the value, but seems can not batch change by a factor,
           thanks in advance

    It is not a big task for u prasobh...Just play in CEWB for 5-10 mins you will understand everything....
    If you face any issue let me know..
    For ur information I am also an IBM employee...
    Gobi

  • How to know whether the Content Type at Library level is Inheriting Parent Content type or not Using Powershell?

    Hi,
    How to know whether the Content Type at Library level is Inheriting Parent Content type or not using Powershell?
    Is there any property for that? Or Do I need to compare the Content type Id's at Site collection level and Library level?
    Any help would be greatly appreciated.
    Thank you,
    AA.

    Hi Ashok,
    For a content type, there is an attribute called Inherits, the value of this attribute determines whether the content type inherits fields from its parent content type when it is created.
    If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added.
    If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was
    installed. The child content type does not have any fields that users have added to the parent content type.
    More information, please refer to the link:
    https://msdn.microsoft.com/en-us/library/office/aa544268.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to know whether the current database is using a password file or not?

    How to know whether the current database is using a password file or not?

    The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
    ~ Madrid

  • How do i calculate the scrollpane value

    hi all, how do i calculate the scrollpane value dynamically?
    thanks a lot

    hi sorry for the lousy information, because i was in the hurry.
    hm... should be describe in this way, in VB i know how to get the value of scrollbar when the scrollbar being scroll, but i do not know how to done it in JAVA.
    i have my sample code as following:
            sp.addComponentListener(new ComponentAdapter() {
                public void scrolled(ComponentEvent evt) {
                    width = getWidth();
                    height = getHeight();
            });any idea? izzit correct? it just show nothing while i use to print at console

  • How can I findout the coulm value contains 0 through 9 for the table

    could u plz suggest me how can I findout the coulm value contains <> 0 through 9 for the table...

    Well I am going to give it a shot, because I believe I am looking for the same thing.
    I have a value that is of type varchar2. How can I determine if it has special characters or alpha characters in it? In other words, I only want the value to consist of numbers. (Initially it had been thought that Letters would be used as well, but now they just want numbers and the datatype of the column cannot be altered since there is data in it.)
    I have gotten this far, but I do not know what else I can use besides '[:alpha:]'? I cannot seem to find this documented anywhere...I can find the regexp package reference, but not the character classes...
    select regexp_instr('1a23456', '[[:alpha:]]',1,1,1, 'i') x
    from dual
    This works fine = returns 3, so I know there is an alpha character.
    select regexp_instr('1$23456', '[[:alpha:]]',1,1,1, 'i') x
    from dual
    This returns 0 - what do I need to change so that it detects the '$' and returns 3?
    Thanks!!
    Janel

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • How can I reference the last value in a column?

    How can I reference the last value in a column? For example, today I want the value of A1 to appear in another cell. Tomorrow, I will add a row and want to reference A2, next day A3, and so forth.

    Now I got it:
    =OFFSET(A1,COUNT(A)-1,0)

  • How do I find the closest value to a constant in an array

    I have an array of floating numbers and I want to find a value in that array that is closest to a floating constant.     For example if I have the array 5.9, 2.8, 3.7, 5.8, 6.9, and if I have the constant 5.4, how would I find the closest value to 5.4 in the array, which in this case would be 5.8. The only approach I can think of is to subtract each value in the array from 5.8 and find the minimum value of an array which would be created from the differences. Is there a better approach?
    Thank you.

    Just be sure to take the absolute value of the difference and your proposed method is fine.

Maybe you are looking for