You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

46 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8" ?>
<Select xmlns="urn:XDQuery">
<Columns>
<Field name="ID"/>
</Columns>
<From>
<Join type="Left">
<DmoClass class="BWP.B3Butchery.BO.ProduceFinish,B3Butchery" alias="bill"/>
<DmoClass class="BWP.B3Butchery.BO.ProduceFinish_Detail,B3Butchery" alias="detail"/>
<Condition>
<EQ>
<Field name="ID" alias="bill"/>
<Field name="ProduceFinish_ID" alias="detail"/>
</EQ>
</Condition>
</Join>
</From>
<Where>
<And>
<EQ>
<Field name="ID"/>
<QBE paramName="ID"/>
</EQ>
<EQ>
<Field name="ProductionUnit_ID"/>
<QBE paramName="ProductionUnit_ID"/>
</EQ>
<EQ>
<Field name="AccountingUnit_ID"/>
<QBE paramName="AccountingUnit_ID"/>
</EQ>
<EQ>
<Field name="Department_ID"/>
<QBE paramName="Department_ID"/>
</EQ>
<EQ>
<Field name="Employee_ID"/>
<QBE paramName="Employee_ID"/>
</EQ>
<Contains>
<Field name="Date"/>
<QBE paramName="Date"/>
</Contains>
</And>
</Where>
</Select>