<?xml version="1.0"?>
<Reports>
  <!--Report *** WIN KARVFPURCHASE ***-->
  <Report version="2.6.20083.51013">
    <Name>WIN KARVFPURCHASE</Name>
    <ReportInfo>
      <Author>Administrator</Author>
    </ReportInfo>
    <DataSource />
    <Layout>
      <Width>14250</Width>
      <MarginLeft>720</MarginLeft>
      <MarginTop>720</MarginTop>
      <MarginRight>720</MarginRight>
      <MarginBottom>720</MarginBottom>
      <Orientation>2</Orientation>
      <PaperSize>1</PaperSize>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
    </Font>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Groups />
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Type>0</Type>
        <Height>720</Height>
        <OnPrint>[PRPURCH_VATDTL].Subreport.Fields("Field9").Value=0
[PRPURCH_VATDTL].Subreport.Fields("Field10").Value=0
[PRPURCH_VATDTL].Subreport.Fields("Field11").Value=0

' -- style script start
detail.BackColor = iif(_styleCtr mod 2 = 0, rgb(255,255,255),rgb(240,240,240))
_styleCtr = _styleCtr + 1
' -- style script end
</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <Type>1</Type>
        <Height>1440</Height>
      </Section>
      <Section>
        <Name>Footer</Name>
        <Type>2</Type>
        <Visible>0</Visible>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Type>3</Type>
        <BackColor>16768194</BackColor>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <Type>4</Type>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Field1</Name>
        <Section>1</Section>
        <Text>Seller Tin</Text>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>1</Section>
        <Text>Name Of Seller</Text>
        <Left>1600</Left>
        <Top>480</Top>
        <Width>3000</Width>
        <Height>960</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field3</Name>
        <Section>1</Section>
        <Text>Invoice Number</Text>
        <Left>4600</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Section>1</Section>
        <Text>Invoice Date
(DD/MM/YYYY)</Text>
        <Left>6200</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field5</Name>
        <Section>1</Section>
        <Text>Net Value</Text>
        <Left>7800</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field6</Name>
        <Section>1</Section>
        <Text>Tax Value</Text>
        <Left>9400</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field7</Name>
        <Section>1</Section>
        <Text>Other Charges</Text>
        <Left>11000</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field8</Name>
        <Section>1</Section>
        <Text>Total Value (NetValue+TaxValue+Other Charges)</Text>
        <Left>12600</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>960</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>BillWisePurch</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Width>14250</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
        <Subreport>VatPurchase</Subreport>
        <Tag>PV0/PV1/PV2/PV3/PV4/PR0/PR1/PR2/PR3/PR4</Tag>
      </Field>
      <Field>
        <Name>Field11</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field12</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Left>1600</Left>
        <Top>480</Top>
        <Width>3000</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field13</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Left>4600</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field14</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Left>6200</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field15</Name>
        <Section>0</Section>
        <Text>([BillWisePurch].Subreport.Fields("Field12").Value
-ABS( Iif( Len([BillWisePurchReturn].Subreport.Fields("Field12").Value)=0 ,0 , [BillWisePurchReturn].Subreport.Fields("Field12").Value )))
</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>7800</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field16</Name>
        <Section>0</Section>
        <Text>([BillWisePurch].Subreport.Fields("Field13").Value-ABS( Iif( Len([BillWisePurchReturn].Subreport.Fields("Field13").Value)=0 ,0 , [BillWisePurchReturn].Subreport.Fields("Field13").Value )  ))

</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>9400</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field17</Name>
        <Section>0</Section>
        <Text>0.00</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>11000</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field18</Name>
        <Section>0</Section>
        <Text>([BillWisePurch].Subreport.Fields("Field14").Value-ABS(Iif(Len([BillWisePurchReturn].Subreport.Fields("Field14").Value)=0 ,0 , [BillWisePurchReturn].Subreport.Fields("Field14").Value ) ))


</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>12600</Left>
        <Top>480</Top>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>BillWisePurchReturn</Name>
        <Section>0</Section>
        <Calculated>-1</Calculated>
        <Top>240</Top>
        <Width>14250</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
        <Subreport>VatPurchase Return</Subreport>
        <Tag>PV0/PV1/PV2/PV3/PV4/PR0/PR1/PR2/PR3/PR4</Tag>
      </Field>
      <Field>
        <Name>Field9</Name>
        <Section>1</Section>
        <Text> Tin : </Text>
        <Width>450</Width>
        <Height>240</Height>
      </Field>
      <Field>
        <Name>Field10</Name>
        <Section>1</Section>
        <Text>Tin</Text>
        <Calculated>-1</Calculated>
        <Left>450</Left>
        <Width>2150</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field19</Name>
        <Section>1</Section>
        <Text>Enter Return Year :</Text>
        <Calculated>-1</Calculated>
        <Left>2600</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field20</Name>
        <Section>1</Section>
        <Calculated>-1</Calculated>
        <Left>4200</Left>
        <Width>1200</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field21</Name>
        <Section>1</Section>
        <Text>Enter Filling Type :</Text>
        <Calculated>-1</Calculated>
        <Left>5400</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field22</Name>
        <Section>1</Section>
        <Calculated>-1</Calculated>
        <Left>7000</Left>
        <Width>1200</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field23</Name>
        <Section>1</Section>
        <Text>Enter Month :</Text>
        <Calculated>-1</Calculated>
        <Left>8200</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field24</Name>
        <Section>1</Section>
        <Calculated>-1</Calculated>
        <Left>9800</Left>
        <Width>1200</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field25</Name>
        <Section>1</Section>
        <Text>Enter Quarter</Text>
        <Calculated>-1</Calculated>
        <Left>11000</Left>
        <Width>1400</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field26</Name>
        <Section>1</Section>
        <Calculated>-1</Calculated>
        <Left>12400</Left>
        <Width>1395</Width>
        <Height>240</Height>
        <CanGrow>-1</CanGrow>
      </Field>
    </Fields>
  </Report>
  <!--Report *** VatPurchase ***-->
  <Report version="2.6.20083.51013">
    <Name>VatPurchase</Name>
    <ReportInfo>
      <Author>Administrator</Author>
    </ReportInfo>
    <DataSource />
    <Layout>
      <Width>14325</Width>
      <MarginLeft>720</MarginLeft>
      <MarginTop>720</MarginTop>
      <MarginRight>720</MarginRight>
      <MarginBottom>720</MarginBottom>
      <Orientation>2</Orientation>
      <PaperSize>1</PaperSize>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
    </Font>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Groups>
      <Group>
        <Name>RefNo</Name>
        <GroupBy>RefNo</GroupBy>
        <Sort>1</Sort>
      </Group>
      <Group>
        <Name>PartyWithoutAlias</Name>
        <GroupBy>PartyWithoutAlias</GroupBy>
        <Sort>1</Sort>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Type>0</Type>
        <OnPrint>' -- style script start
detail.BackColor = iif(_styleCtr mod 2 = 0, rgb(255,255,255),rgb(240,240,240))
_styleCtr = _styleCtr + 1
' -- style script end
</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <Type>1</Type>
        <OnFormat>Field9.Value=0
Field10.Value=0
Field11.Value=0</OnFormat>
      </Section>
      <Section>
        <Name>Footer</Name>
        <Type>2</Type>
        <Height>1</Height>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Type>3</Type>
        <BackColor>16768194</BackColor>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <Type>4</Type>
      </Section>
      <Section>
        <Name>RefNo_Header</Name>
        <Type>5</Type>
        <Height>240</Height>
        <OnFormat>if LEN(Ltrim(Rtrim(TIN))) &gt; 0  Then VoucherRefNo_Header.Visible=True  else VoucherRefNo_Header.Visible=False


</OnFormat>
        <OnPrint>Field9.Value=Field9.Value+Field5.Value
Field10.Value=Field10.Value+Field6.Value
Field11.Value=Field11.Value+Field8.Value
</OnPrint>
      </Section>
      <Section>
        <Name>RefNo_Footer</Name>
        <Type>6</Type>
        <Visible>0</Visible>
      </Section>
      <Section>
        <Name>PartyWithoutAlias_Header</Name>
        <Type>7</Type>
        <OnFormat>if LEN(Ltrim(Rtrim(TIN))) &gt; 0  Then AccountName_Header.Visible=True  else AccountName_Header.Visible=False

</OnFormat>
      </Section>
      <Section>
        <Name>PartyWithoutAlias_Footer</Name>
        <Type>8</Type>
        <Visible>0</Visible>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Field1</Name>
        <Section>5</Section>
        <Text>Ltrim(Rtrim(Tin))</Text>
        <Calculated>-1</Calculated>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>5</Section>
        <Text>Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(PartyWithoutAlias,")",""),"(",""),"*",""),"&amp;",""),"^",""),"%",""),"$",""),"#",""),"@",""),"!",""),"~",""),"`",""),"\",""),"|",""),"=",""),"_",""),"/",""),"?",""),",",""),".",""),"&lt;",""),"&gt;",""),";",""),":",""),"[",""),"]",""),"{",""),"}",""),Chr(34),""),Chr(39),""),"-",""),"+","")

</Text>
        <Calculated>-1</Calculated>
        <Left>1600</Left>
        <Width>3000</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field3</Name>
        <Section>5</Section>
        <Text>Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(iif(Ltrim(Rtrim(RefNo))="",BillNo,RefNo),")",""),"(",""),"*",""),"&amp;",""),"^",""),"%",""),"$",""),"#",""),"@",""),"!",""),"~",""),"`",""),"\",""),"|",""),"=",""),"_",""),"/",""),"?",""),",",""),".",""),"&lt;",""),"&gt;",""),";",""),":",""),"[",""),"]",""),"{",""),"}",""),Chr(34),""),Chr(39),""),"-",""),"+","")
</Text>
        <Calculated>-1</Calculated>
        <Left>4600</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Section>5</Section>
        <Text>iif(Ltrim(Rtrim(RefDate))="30/12/1899" ,EntryDate,RefDate)
</Text>
        <Calculated>-1</Calculated>
        <Left>6200</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field5</Name>
        <Section>5</Section>
        <Text>Sum(VoucherAmt)</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>7800</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field6</Name>
        <Section>5</Section>
        <Text>Sum(TaxAmt)</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>9400</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field7</Name>
        <Section>5</Section>
        <Text>0.00</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>11000</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field8</Name>
        <Section>5</Section>
        <Text>Sum(VoucherAmt+TaxAmt)</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>12600</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field9</Name>
        <Section>5</Section>
        <Left>14235</Left>
        <Top>45</Top>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field10</Name>
        <Section>5</Section>
        <Left>14325</Left>
        <Top>45</Top>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field11</Name>
        <Section>5</Section>
        <Left>14265</Left>
        <Top>45</Top>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field12</Name>
        <Section>2</Section>
        <Text>Field9.Value</Text>
        <Calculated>-1</Calculated>
        <Left>3735</Left>
        <Width>1575</Width>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>Field13</Name>
        <Section>2</Section>
        <Text>Field10.Value</Text>
        <Calculated>-1</Calculated>
        <Left>5625</Left>
        <Width>1575</Width>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>Field14</Name>
        <Section>2</Section>
        <Text>Field11.Value</Text>
        <Calculated>-1</Calculated>
        <Left>7140</Left>
        <Width>1575</Width>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
    </Fields>
  </Report>
  <!--Report *** VatPurchase Return ***-->
  <Report version="2.6.20083.51013">
    <Name>VatPurchase Return</Name>
    <ReportInfo>
      <Author>Administrator</Author>
    </ReportInfo>
    <DataSource />
    <Layout>
      <Width>14205</Width>
      <MarginLeft>720</MarginLeft>
      <MarginTop>720</MarginTop>
      <MarginRight>720</MarginRight>
      <MarginBottom>720</MarginBottom>
      <Orientation>2</Orientation>
      <PaperSize>1</PaperSize>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
    </Font>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Groups>
      <Group>
        <Name>PartyWithoutAlias</Name>
        <GroupBy>PartyWithoutAlias</GroupBy>
        <Sort>1</Sort>
      </Group>
      <Group>
        <Name>RefNo</Name>
        <GroupBy>RefNo</GroupBy>
        <Sort>1</Sort>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Type>0</Type>
        <OnPrint>' -- style script start
detail.BackColor = iif(_styleCtr mod 2 = 0, rgb(255,255,255),rgb(240,240,240))
_styleCtr = _styleCtr + 1
' -- style script end
</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <Type>1</Type>
        <OnFormat>Field9.Value=0
Field10.Value=0
Field11.Value=0</OnFormat>
      </Section>
      <Section>
        <Name>Footer</Name>
        <Type>2</Type>
        <Height>1</Height>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Type>3</Type>
        <BackColor>16768194</BackColor>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <Type>4</Type>
      </Section>
      <Section>
        <Name>PartyWithoutAlias_Header</Name>
        <Type>5</Type>
      </Section>
      <Section>
        <Name>PartyWithoutAlias_Footer</Name>
        <Type>6</Type>
        <Height>1</Height>
        <Visible>0</Visible>
      </Section>
      <Section>
        <Name>RefNo_Header</Name>
        <Type>7</Type>
        <Height>240</Height>
        <OnFormat>if LEN(Ltrim(Rtrim(TIN))) &gt; 0  Then VoucherRefNo_Header.Visible=True  else VoucherRefNo_Header.Visible=False


</OnFormat>
        <OnPrint>Field9.Value=Field9.Value+Field5.Value
Field10.Value=Field10.Value+Field6.Value
Field11.Value=Field11.Value+Field8.Value

</OnPrint>
      </Section>
      <Section>
        <Name>RefNo_Footer</Name>
        <Type>8</Type>
        <Height>1</Height>
        <Visible>0</Visible>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Field1</Name>
        <Section>7</Section>
        <Text>Ltrim(Rtrim(Tin))</Text>
        <Calculated>-1</Calculated>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>7</Section>
        <Text>Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(PartyWithoutAlias,")",""),"(",""),"*",""),"&amp;",""),"^",""),"%",""),"$",""),"#",""),"@",""),"!",""),"~",""),"`",""),"\",""),"|",""),"=",""),"_",""),"/",""),"?",""),",",""),".",""),"&lt;",""),"&gt;",""),";",""),":",""),"[",""),"]",""),"{",""),"}",""),Chr(34),""),Chr(39),""),"-",""),"+","")

</Text>
        <Calculated>-1</Calculated>
        <Left>1600</Left>
        <Width>3000</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field3</Name>
        <Section>7</Section>
        <Text>Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(iif(Ltrim(Rtrim(RefNo))="",BillNO,RefNo),")",""),"(",""),"*",""),"&amp;",""),"^",""),"%",""),"$",""),"#",""),"@",""),"!",""),"~",""),"`",""),"\",""),"|",""),"=",""),"_",""),"/",""),"?",""),",",""),".",""),"&lt;",""),"&gt;",""),";",""),":",""),"[",""),"]",""),"{",""),"}",""),Chr(34),""),Chr(39),""),"-",""),"+","")
</Text>
        <Calculated>-1</Calculated>
        <Left>4600</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Section>7</Section>
        <Text>iif(Ltrim(Rtrim(RefDate))="30/12/1899" ,EntryDate,RefDate)
</Text>
        <Calculated>-1</Calculated>
        <Left>6200</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>0</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field5</Name>
        <Section>7</Section>
        <Text>-1*Sum(Format(VoucherAmt,"#,##0.00"))</Text>
        <Calculated>-1</Calculated>
        <Left>7800</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field6</Name>
        <Section>7</Section>
        <Text>-1*Sum(Format(TaxAmt,"#,##0.00"))</Text>
        <Calculated>-1</Calculated>
        <Left>9400</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field7</Name>
        <Section>7</Section>
        <Text>0.00</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>11000</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field8</Name>
        <Section>7</Section>
        <Text>-1*Sum(Format(VoucherAmt+TaxAmt,"#,##0.00"))</Text>
        <Calculated>-1</Calculated>
        <Format>#,##0.00</Format>
        <Left>12600</Left>
        <Width>1600</Width>
        <Height>240</Height>
        <Align>2</Align>
        <BackColor>16777215</BackColor>
        <BackStyle>1</BackStyle>
        <BorderStyle>1</BorderStyle>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <CanGrow>-1</CanGrow>
        <Anchor>2</Anchor>
        <Font>
          <Name>Times New Roman</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field9</Name>
        <Section>7</Section>
        <Left>14085</Left>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field10</Name>
        <Section>7</Section>
        <Left>14175</Left>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field11</Name>
        <Section>7</Section>
        <Left>14115</Left>
        <Visible>0</Visible>
      </Field>
      <Field>
        <Name>Field12</Name>
        <Section>2</Section>
        <Text>Field9.Value</Text>
        <Calculated>-1</Calculated>
        <Left>3735</Left>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>Field13</Name>
        <Section>2</Section>
        <Text>Field10.Value</Text>
        <Calculated>-1</Calculated>
        <Left>5625</Left>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>Field14</Name>
        <Section>2</Section>
        <Text>Field11.Value</Text>
        <Calculated>-1</Calculated>
        <Left>7140</Left>
        <Height>1</Height>
        <Align>2</Align>
      </Field>
    </Fields>
  </Report>
</Reports>