<?xml version="1.0" encoding="UTF-8"?>
<transactionDefinition>
    <description>PI Location</description>
    <errors />
    <fields>
        <field>
            <content>piloc</content>
            <label>transactionDefnId</label>
            <name>transactionType.id</name>
            <prefix />
            <screenoption>HHHHHHH</screenoption>
            <validation />
        </field>
        <field>
            <content></content>
            <label>sequencingRequestId</label>
            <name>sequencingRequestId</name>
            <prefix />
            <screenoption>HHHHHHH</screenoption>
            <validation />
        </field>
        <field>
            <content></content>
            <label>sequence</label>
            <name>sequence</name>
            <prefix />
            <screenoption>HHHHHHH</screenoption>
            <validation />
        </field>
        <field>
            <content></content>
            <label>allocationId</label>
            <name>allocationId</name>
            <prefix />
            <screenoption>HHHHHHH</screenoption>
            <validation />
        </field>
        <field>
            <content></content>
            <label>Location</label>
            <name>locationHashCode</name>
            <prefix></prefix>
            <screenoption>IPPPPHH</screenoption>
            <validation>validaterdt:validatelocation?tolocationhashcode=/locationHashCode/,validaterdt:piloccount?locationhashcode=/locationHashCode/|AND|qty=0,page:page3</validation>
        </field>
        <field>
            <content></content>
            <label>Count</label>
            <name>qty</name>
            <prefix />
            <screenoption>HHHHHHH</screenoption>
            <validation>validaterdt:piloccount?locationhashcode=/locationHashCode/|AND|qty=/qty/</validation>
        </field>
        <field>
            <content></content>
            <label>Serial Ref.</label>
            <name>serialReference</name>
            <prefix></prefix>
            <screenoption>HHIPPHH</screenoption>
            <validation>validaterdt:piloccount?serialreference=/serialReference/|AND|vldlocationhashcode=/locationHashCode/,page:page5</validation>
        </field>
        <field>
            <content></content>
            <label>Part Number</label>
            <name>partNumber</name>
            <prefix></prefix>
            <screenoption>HHPPPHH</screenoption>
            <validation>validaterdt:piloccount?serialreference=/serialReference/|AND|vldlocationhashcode=/locationHashCode/|AND|partnumber=/partNumber/,page:page5</validation>
        </field>
        <field>
            <content></content>
            <label>quantity</label>
            <name>scanQty</name>
            <prefix>*</prefix>
            <screenoption>HHPPIHH</screenoption>
            <validation>validaterdt:validateprefix?fieldname=scanQty|AND|fieldvalue=/scanQty/|AND|prefix=Q,validaterdt:piloccount?serialreference=/serialReference/|AND|vldlocationhashcode=/locationHashCode/|AND|partnumber=/partNumber/|AND|scanqty=/scanQty/,validaterdt:setscreenfield?field=scanQty|AND|input=,clearscreen:5,clearscreen:4,clearscreen:3,page:page3</validation>
        </field>
        <field>
            <content></content>
            <label>To Loc.</label>
            <name>piLocationHashCode</name>
            <prefix></prefix>
            <screenoption>HHHHHHH</screenoption>
            <validation>validaterdt:piloccount?serialreference=/serialReference/|AND|vldlocationhashcode=/locationHashCode/|AND|partnumber=/partNumber/|AND|pilocationhashcode=/piLocationHashCode/|AND|pilocationcode=/piLocationHashCodecontent/,clearscreen:6,clearscreen:5,clearscreen:4,clearscreen:3,page:page3</validation>
        </field>
    </fields>
    <buttons>
        <button>
            <name>button3</name>
            <text>Menu(F3)</text>
            <action>changeTran("MENUPI")</action>
            <altkey>114</altkey>
            <screenoption>I</screenoption>
        </button>
        <button>
            <name>button4</name>
            <text>Close(F4)</text>
            <action>F4Action("closepi")</action>
            <altkey>115</altkey>
            <screenoption>I</screenoption>
        </button>
    </buttons>
    <screens />
    <warnings />
</transactionDefinition>
