﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="0" />
    <DataSources isList="true" count="3">
      <Invoices Ref="2" type="DataTableSource" isKey="true">
        <Alias>Invoices</Alias>
        <Columns isList="true" count="164">
          <value>InvRef,Reference,System.String</value>
          <value>InvRef__Lab,Reference_x0020__x0028_Label_x0029_,System.String</value>
          <value>SuppRef,Supplier,System.String</value>
          <value>SuppRef__Lab,Supplier_x0020__x0028_Label_x0029_,System.String</value>
          <value>SuppName,Supplier_x0020_name,System.String</value>
          <value>SuppName__Lab,Supplier_x0020_name_x0020__x0028_Label_x0029_,System.String</value>
          <value>EmpRef,Purchase_x0020_responsible,System.String</value>
          <value>EmpRef__Lab,Purchase_x0020_responsible_x0020__x0028_Label_x0029_,System.String</value>
          <value>CurName,Currency,System.String</value>
          <value>CurName__Lab,Currency_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact,Associated_x0020_element_x0020_identifier,System.Int32</value>
          <value>Contact__Lab,Associated_x0020_element_x0020_identifier_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact__ScN,Associated_x0020_element_x0020_identifier_x0020__x0028_Value_x0029_,System.String</value>
          <value>ConSurname1,Contact,System.String</value>
          <value>ConSurname1__Lab,Contact_x0020__x0028_Label_x0029_,System.String</value>
          <value>Descrip,Comments,System.String</value>
          <value>Descrip__Lab,Comments_x0020__x0028_Label_x0029_,System.String</value>
          <value>City,System.String</value>
          <value>City__Lab,City_x0020__x0028_Label_x0029_,System.String</value>
          <value>ZipCode,Zip_x0020_Code,System.String</value>
          <value>ZipCode__Lab,Zip_x0020_Code_x0020__x0028_Label_x0029_,System.String</value>
          <value>Address1,Address_x0020_1,System.String</value>
          <value>Address1__Lab,Address_x0020_1_x0020__x0028_Label_x0029_,System.String</value>
          <value>Address1__Add,Address_x0020_1_x0020__x0028_Address_x0029_,System.String</value>
          <value>Address2,Address_x0020_2,System.String</value>
          <value>Address2__Lab,Address_x0020_2_x0020__x0028_Label_x0029_,System.String</value>
          <value>Address3,Address_x0020_3,System.String</value>
          <value>Address3__Lab,Address_x0020_3_x0020__x0028_Label_x0029_,System.String</value>
          <value>State,System.String</value>
          <value>State__Lab,State_x0020__x0028_Label_x0029_,System.String</value>
          <value>CouName,Country,System.String</value>
          <value>CouName__Lab,Country_x0020__x0028_Label_x0029_,System.String</value>
          <value>IType,Type,System.String</value>
          <value>IType__Lab,Type_x0020__x0028_Label_x0029_,System.String</value>
          <value>OrdRef,Order,System.String</value>
          <value>OrdRef__Lab,Order_x0020__x0028_Label_x0029_,System.String</value>
          <value>ShpRef,Delivery_x0020_note,System.String</value>
          <value>ShpRef__Lab,Delivery_x0020_note_x0020__x0028_Label_x0029_,System.String</value>
          <value>Subtotal,System.Double</value>
          <value>Subtotal__Lab,Subtotal_x0020__x0028_Label_x0029_,System.String</value>
          <value>Subtotal__DBD,Subtotal_x0020__x0028_Database_x0029_,System.Double</value>
          <value>Subtotal__Scr,Subtotal_x0020__x0028_Value_x0029_,System.String</value>
          <value>Subtotal__ScN,Subtotal_x0020__x0028_Value_x0029_,System.String</value>
          <value>Subtotal__Dec,Subtotal_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>Subtotal__Rnd,Subtotal_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>Subtotal__Sff,Subtotal_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>Subtotal__Prf,Subtotal_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>Subtotal__PrP,Subtotal_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>Subtotal__PrN,Subtotal_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>Subtotal__SfP,Subtotal_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>Subtotal__SfN,Subtotal_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>EDate,Due_x0020_date,System.DateTime</value>
          <value>EDate__Lab,Due_x0020_date_x0020__x0028_Label_x0029_,System.String</value>
          <value>EDate__ScN,Due_x0020_date_x0020__x0028_Value_x0029_,System.String</value>
          <value>EDate__LDt,Due_x0020_date_x0020__x0028_Long_x0020_date_x0029_,System.String</value>
          <value>EDate__SDt,Due_x0020_date_x0020__x0028_Short_x0020_date_x0029_,System.String</value>
          <value>CDate,Invoice_x0020_date,System.DateTime</value>
          <value>CDate__Lab,Invoice_x0020_date_x0020__x0028_Label_x0029_,System.String</value>
          <value>CDate__ScN,Invoice_x0020_date_x0020__x0028_Value_x0029_,System.String</value>
          <value>CDate__LDt,Invoice_x0020_date_x0020__x0028_Long_x0020_date_x0029_,System.String</value>
          <value>CDate__SDt,Invoice_x0020_date_x0020__x0028_Short_x0020_date_x0029_,System.String</value>
          <value>CarrierC,Amount,System.Double</value>
          <value>CarrierC__Lab,Amount_x0020__x0028_Label_x0029_,System.String</value>
          <value>CarrierC__DBD,Amount_x0020__x0028_Database_x0029_,System.Double</value>
          <value>CarrierC__Scr,Amount_x0020__x0028_Value_x0029_,System.String</value>
          <value>CarrierC__ScN,Amount_x0020__x0028_Value_x0029_,System.String</value>
          <value>CarrierC__Dec,Amount_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>CarrierC__Rnd,Amount_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>CarrierC__Sff,Amount_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>CarrierC__Prf,Amount_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>CarrierC__PrP,Amount_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>CarrierC__PrN,Amount_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>CarrierC__SfP,Amount_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>CarrierC__SfN,Amount_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>FinancialC,Financial_x0020_charges,System.Double</value>
          <value>FinancialC__Lab,Financial_x0020_charges_x0020__x0028_Label_x0029_,System.String</value>
          <value>FinancialC__DBD,Financial_x0020_charges_x0020__x0028_Database_x0029_,System.Double</value>
          <value>FinancialC__Scr,Financial_x0020_charges_x0020__x0028_Value_x0029_,System.String</value>
          <value>FinancialC__ScN,Financial_x0020_charges_x0020__x0028_Value_x0029_,System.String</value>
          <value>FinancialC__Dec,Financial_x0020_charges_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>FinancialC__Rnd,Financial_x0020_charges_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>FinancialC__Sff,Financial_x0020_charges_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>FinancialC__Prf,Financial_x0020_charges_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>FinancialC__PrP,Financial_x0020_charges_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>FinancialC__PrN,Financial_x0020_charges_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>FinancialC__SfP,Financial_x0020_charges_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>FinancialC__SfN,Financial_x0020_charges_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>TotalA,Total,System.Double</value>
          <value>TotalA__Lab,Total_x0020__x0028_Label_x0029_,System.String</value>
          <value>TotalA__DBD,Total_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TotalA__Scr,Total_x0020__x0028_Value_x0029_,System.String</value>
          <value>TotalA__ScN,Total_x0020__x0028_Value_x0029_,System.String</value>
          <value>TotalA__Dec,Total_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TotalA__Rnd,Total_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TotalA__Sff,Total_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TotalA__Prf,Total_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>TotalA__PrP,Total_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>TotalA__PrN,Total_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>TotalA__SfP,Total_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>TotalA__SfN,Total_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>PymDsc,Payment_x0020_description,System.String</value>
          <value>PymDsc__Lab,Payment_x0020_description_x0020__x0028_Label_x0029_,System.String</value>
          <value>PymName,Payment_x0020_method,System.String</value>
          <value>PymName__Lab,Payment_x0020_method_x0020__x0028_Label_x0029_,System.String</value>
          <value>DDisc,Default_x0020_discount,System.Double</value>
          <value>DDisc__Lab,Default_x0020_discount_x0020__x0028_Label_x0029_,System.String</value>
          <value>DDisc__DBD,Default_x0020_discount_x0020__x0028_Database_x0029_,System.Double</value>
          <value>DDisc__Scr,Default_x0020_discount_x0020__x0028_Value_x0029_,System.String</value>
          <value>DDisc__ScN,Default_x0020_discount_x0020__x0028_Value_x0029_,System.String</value>
          <value>DDisc__Dec,Default_x0020_discount_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>DDisc__Rnd,Default_x0020_discount_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>DDisc__Sff,Default_x0020_discount_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TValue,Value,System.Double</value>
          <value>TValue__Lab,Value_x0020__x0028_Label_x0029_,System.String</value>
          <value>TValue__DBD,Value_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TValue__Scr,Value_x0020__x0028_Value_x0029_,System.String</value>
          <value>TValue__ScN,Value_x0020__x0028_Value_x0029_,System.String</value>
          <value>TValue__Dec,Value_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TValue__Rnd,Value_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TValue__Sff,Value_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>CarrierFees,Carrier_x0020_charges,System.Int16</value>
          <value>CarrierFees__Lab,Carrier_x0020_charges_x0020__x0028_Label_x0029_,System.String</value>
          <value>CarrierFees__ScN,Carrier_x0020_charges_x0020__x0028_Value_x0029_,System.String</value>
          <value>TaxRef,Tax,System.String</value>
          <value>TaxRef__Lab,Tax_x0020__x0028_Label_x0029_,System.String</value>
          <value>Supplier.ComRef,Reference,System.String</value>
          <value>Supplier.ComRef__Lab,Reference_x0020__x0028_Label_x0029_,System.String</value>
          <value>Supplier.LanName,Default_x0020_language,System.String</value>
          <value>Supplier.LanName__Lab,Default_x0020_language_x0020__x0028_Label_x0029_,System.String</value>
          <value>Supplier.ComName,Name,System.String</value>
          <value>Supplier.ComName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Supplier.VATNum,Tax_x0020_Id.,System.String</value>
          <value>Supplier.VATNum__Lab,Tax_x0020_Id._x0020__x0028_Label_x0029_,System.String</value>
          <value>Employee.EmpRef,Reference,System.String</value>
          <value>Employee.EmpRef__Lab,Reference_x0020__x0028_Label_x0029_,System.String</value>
          <value>Employee.ESurname2,Second_x0020_surname,System.String</value>
          <value>Employee.ESurname2__Lab,Second_x0020_surname_x0020__x0028_Label_x0029_,System.String</value>
          <value>Employee.ESurname1,Surname,System.String</value>
          <value>Employee.ESurname1__Lab,Surname_x0020__x0028_Label_x0029_,System.String</value>
          <value>Employee.EName,Name,System.String</value>
          <value>Employee.EName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Currency.CurName,Name,System.String</value>
          <value>Currency.CurName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Currency.FisDecs,Fiscal_x0020_decimals,System.Int16</value>
          <value>Currency.FisDecs__Lab,Fiscal_x0020_decimals_x0020__x0028_Label_x0029_,System.String</value>
          <value>Currency.FisDecs__ScN,Fiscal_x0020_decimals_x0020__x0028_Value_x0029_,System.String</value>
          <value>Currency.CurDecs,Number_x0020_of_x0020_decimal_x0020_digits,System.Int16</value>
          <value>Currency.CurDecs__Lab,Number_x0020_of_x0020_decimal_x0020_digits_x0020__x0028_Label_x0029_,System.String</value>
          <value>Currency.CurDecs__ScN,Number_x0020_of_x0020_decimal_x0020_digits_x0020__x0028_Value_x0029_,System.String</value>
          <value>Contact.RecID,Element_x0020_identifier,System.Int32</value>
          <value>Contact.RecID__Lab,Element_x0020_identifier_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.RecID__ScN,Element_x0020_identifier_x0020__x0028_Value_x0029_,System.String</value>
          <value>Contact.ComRef,Company,System.String</value>
          <value>Contact.ComRef__Lab,Company_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.ESurname1,Surname,System.String</value>
          <value>Contact.ESurname1__Lab,Surname_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.ComName,Company_x0020_name,System.String</value>
          <value>Contact.ComName__Lab,Company_x0020_name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.EName,Name,System.String</value>
          <value>Contact.EName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.WEMail,E-mail,System.String</value>
          <value>Contact.WEMail__Lab,E-mail_x0020__x0028_Label_x0029_,System.String</value>
          <value>Contact.WPhone,Phone,System.String</value>
          <value>Contact.WPhone__Lab,Phone_x0020__x0028_Label_x0029_,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Invoices</Name>
        <NameInSource>SSHH_IINN_00000100_PurchaseInvoice_New.Invoices</NameInSource>
      </Invoices>
      <Invoice_x0020_lines Ref="3" type="DataTableSource" isKey="true">
        <Alias>Invoice lines</Alias>
        <Columns isList="true" count="88">
          <value>LineNum,Line_x0020_number,System.Int32</value>
          <value>LineNum__Lab,Line_x0020_number_x0020__x0028_Label_x0029_,System.String</value>
          <value>LineNum__ScN,Line_x0020_number_x0020__x0028_Value_x0029_,System.String</value>
          <value>InvRef,Invoice,System.String</value>
          <value>InvRef__Lab,Invoice_x0020__x0028_Label_x0029_,System.String</value>
          <value>PrdName,Name,System.String</value>
          <value>PrdName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>Quantity,System.Double</value>
          <value>Quantity__Lab,Quantity_x0020__x0028_Label_x0029_,System.String</value>
          <value>Quantity__DBD,Quantity_x0020__x0028_Database_x0029_,System.Double</value>
          <value>Quantity__Scr,Quantity_x0020__x0028_Value_x0029_,System.String</value>
          <value>Quantity__ScN,Quantity_x0020__x0028_Value_x0029_,System.String</value>
          <value>Quantity__Dec,Quantity_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>Quantity__Rnd,Quantity_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>Quantity__Sff,Quantity_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>QUANUntName,Quantity_x0020_unit,System.String</value>
          <value>QUANUntName__Lab,Quantity_x0020_unit_x0020__x0028_Label_x0029_,System.String</value>
          <value>QUANUCtName,Quantity_x0020_unit_x0020_category,System.String</value>
          <value>QUANUCtName__Lab,Quantity_x0020_unit_x0020_category_x0020__x0028_Label_x0029_,System.String</value>
          <value>AssocElementCode,Associated_x0020_element_x0020_code,System.String</value>
          <value>AssocElementCode__Lab,Associated_x0020_element_x0020_code_x0020__x0028_Label_x0029_,System.String</value>
          <value>TPrice,Subtotal,System.Double</value>
          <value>TPrice__Lab,Subtotal_x0020__x0028_Label_x0029_,System.String</value>
          <value>TPrice__DBD,Subtotal_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TPrice__Scr,Subtotal_x0020__x0028_Value_x0029_,System.String</value>
          <value>TPrice__ScN,Subtotal_x0020__x0028_Value_x0029_,System.String</value>
          <value>TPrice__Dec,Subtotal_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TPrice__Rnd,Subtotal_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TPrice__Sff,Subtotal_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TPrice__Prf,Subtotal_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>TPrice__PrP,Subtotal_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>TPrice__PrN,Subtotal_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>TPrice__SfP,Subtotal_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>TPrice__SfN,Subtotal_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>Disc,Discount,System.Double</value>
          <value>Disc__Lab,Discount_x0020__x0028_Label_x0029_,System.String</value>
          <value>Disc__DBD,Discount_x0020__x0028_Database_x0029_,System.Double</value>
          <value>Disc__Scr,Discount_x0020__x0028_Value_x0029_,System.String</value>
          <value>Disc__ScN,Discount_x0020__x0028_Value_x0029_,System.String</value>
          <value>Disc__Dec,Discount_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>Disc__Rnd,Discount_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>Disc__Sff,Discount_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TaxValue,Value,System.Double</value>
          <value>TaxValue__Lab,Value_x0020__x0028_Label_x0029_,System.String</value>
          <value>TaxValue__DBD,Value_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TaxValue__Scr,Value_x0020__x0028_Value_x0029_,System.String</value>
          <value>TaxValue__ScN,Value_x0020__x0028_Value_x0029_,System.String</value>
          <value>TaxValue__Dec,Value_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TaxValue__Rnd,Value_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TaxValue__Sff,Value_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TotalUnits,Purchase_x0020_quantity,System.Double</value>
          <value>TotalUnits__Lab,Purchase_x0020_quantity_x0020__x0028_Label_x0029_,System.String</value>
          <value>TotalUnits__DBD,Purchase_x0020_quantity_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TotalUnits__Scr,Purchase_x0020_quantity_x0020__x0028_Value_x0029_,System.String</value>
          <value>TotalUnits__ScN,Purchase_x0020_quantity_x0020__x0028_Value_x0029_,System.String</value>
          <value>TotalUnits__Dec,Purchase_x0020_quantity_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TotalUnits__Rnd,Purchase_x0020_quantity_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TotalUnits__Sff,Purchase_x0020_quantity_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>UntName,Purchase_x0020_unit,System.String</value>
          <value>UntName__Lab,Purchase_x0020_unit_x0020__x0028_Label_x0029_,System.String</value>
          <value>UCtName,Purchase_x0020_unit_x0020_category,System.String</value>
          <value>UCtName__Lab,Purchase_x0020_unit_x0020_category_x0020__x0028_Label_x0029_,System.String</value>
          <value>UPrice,Unit_x0020_price,System.Double</value>
          <value>UPrice__Lab,Unit_x0020_price_x0020__x0028_Label_x0029_,System.String</value>
          <value>UPrice__DBD,Unit_x0020_price_x0020__x0028_Database_x0029_,System.Double</value>
          <value>UPrice__Scr,Unit_x0020_price_x0020__x0028_Value_x0029_,System.String</value>
          <value>UPrice__ScN,Unit_x0020_price_x0020__x0028_Value_x0029_,System.String</value>
          <value>UPrice__Dec,Unit_x0020_price_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>UPrice__Rnd,Unit_x0020_price_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>UPrice__Sff,Unit_x0020_price_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>UPrice__Prf,Unit_x0020_price_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>UPrice__PrP,Unit_x0020_price_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>UPrice__PrN,Unit_x0020_price_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>UPrice__SfP,Unit_x0020_price_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>UPrice__SfN,Unit_x0020_price_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
          <value>TaxAmount,VAT_x0020_amount,System.Double</value>
          <value>TaxAmount__Lab,VAT_x0020_amount_x0020__x0028_Label_x0029_,System.String</value>
          <value>TaxAmount__DBD,VAT_x0020_amount_x0020__x0028_Database_x0029_,System.Double</value>
          <value>TaxAmount__Scr,VAT_x0020_amount_x0020__x0028_Value_x0029_,System.String</value>
          <value>TaxAmount__ScN,VAT_x0020_amount_x0020__x0028_Value_x0029_,System.String</value>
          <value>TaxAmount__Dec,VAT_x0020_amount_x0020__x0028_Decimal_x0020_digits_x0029_,System.Int16</value>
          <value>TaxAmount__Rnd,VAT_x0020_amount_x0020__x0028_Rounded_x0029_,System.Int16</value>
          <value>TaxAmount__Sff,VAT_x0020_amount_x0020__x0028_Suffix_x0029_,System.String</value>
          <value>TaxAmount__Prf,VAT_x0020_amount_x0020__x0028_Prefix_x0029_,System.String</value>
          <value>TaxAmount__PrP,VAT_x0020_amount_x0020__x0028_Positive_x0020_prefix_x0029_,System.String</value>
          <value>TaxAmount__PrN,VAT_x0020_amount_x0020__x0028_Negative_x0020_prefix_x0029_,System.String</value>
          <value>TaxAmount__SfP,VAT_x0020_amount_x0020__x0028_Positive_x0020_suffix_x0029_,System.String</value>
          <value>TaxAmount__SfN,VAT_x0020_amount_x0020__x0028_Negative_x0020_suffix_x0029_,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Invoice lines</Name>
        <NameInSource>SSHH_IINN_00000100_PurchaseInvoice_New.Invoice lines</NameInSource>
      </Invoice_x0020_lines>
      <Configuration_x0020_parameters Ref="4" type="DataTableSource" isKey="true">
        <Alias>Configuration parameters</Alias>
        <Columns isList="true" count="9">
          <value>EType,For_x0020_whom_x003F_,System.Int16</value>
          <value>EType__Lab,For_x0020_whom_x003F__x0020__x0028_Label_x0029_,System.String</value>
          <value>EType__ScN,For_x0020_whom_x003F__x0020__x0028_Value_x0029_,System.String</value>
          <value>EName,Element,System.String</value>
          <value>EName__Lab,Element_x0020__x0028_Label_x0029_,System.String</value>
          <value>ParName,Name,System.String</value>
          <value>ParName__Lab,Name_x0020__x0028_Label_x0029_,System.String</value>
          <value>ParValue,Value,System.String</value>
          <value>ParValue__Lab,Value_x0020__x0028_Label_x0029_,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Configuration parameters</Name>
        <NameInSource>SSHH_IINN_00000100_PurchaseInvoice_New.Configuration parameters</NameInSource>
      </Configuration_x0020_parameters>
    </DataSources>
    <Relations isList="true" count="1">
      <Invoices Ref="5" type="DataRelation" isKey="true">
        <Alias>Invoices</Alias>
        <ChildColumns isList="true" count="1">
          <value>InvRef</value>
        </ChildColumns>
        <ChildSource isRef="3" />
        <Dictionary isRef="1" />
        <Name>Invoices</Name>
        <NameInSource>Lines</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>InvRef</value>
        </ParentColumns>
        <ParentSource isRef="2" />
      </Invoices>
    </Relations>
    <Report isRef="0" />
    <Variables isList="true" count="60">
      <value>,__EntImage,__EntImage,Entreprise_x0020_logo_x0020_image,System.String,,False,False,False</value>
      <value>,__EntDsc,__EntDsc,Entreprise_x0020_name,System.String,,False,False,False</value>
      <value>,__EntAddress,__EntAddress,Entreprise_x0020_address,System.String,,False,False,False</value>
      <value>,__EntVATNum,__EntVATNum,Entreprise_x0020_VAT_x0020_number,System.String,,False,False,False</value>
      <value>,__EntPhone,__EntPhone,Entreprise_x0020_phone_x0020_number,System.String,,False,False,False</value>
      <value>,__EntFax,__EntFax,Entreprise_x0020_fax_x0020_number,System.String,,False,False,False</value>
      <value>,__EntEMail,__EntEMail,Entreprise_x0020_email_x0020_address,System.String,,False,False,False</value>
      <value>,__EntWeb,__EntWeb,Entreprise_x0020_web_x0020_site,System.String,,False,False,False</value>
      <value>,__Dsc_IType,__Dsc_IType,System.String,_x007B_SSHH_IINN_00000100.IType_x007D_,False,False</value>
      <value>,__Dsc_InvRef,__Dsc_InvRef,System.String,_x007B_SSHH_IINN_00000100.InvRef_x007D_,False,False</value>
      <value>,__Dsc_CDate,__Dsc_CDate,System.String,_x007B_SSHH_IINN_00000100.CDate_x007D_,False,False</value>
      <value>,__Dsc_EDate,__Dsc_EDate,System.String,_x007B_SSHH_IINN_00000100.EDate_x007D_,False,False</value>
      <value>,__Dsc_VATNum,__Dsc_VATNum,System.String,_x007B_CCOO_CCOO_00000100.VATNum_x007D_,False,False</value>
      <value>,__Dsc_CarrierC,__Dsc_CarrierC,System.String,_x007B_SSHH_IINN_00000100.CarrierC_x007D_,False,False</value>
      <value>,__Dsc_Descrip,__Dsc_Descrip,System.String,_x007B_SSHH_IINN_00000100.Descrip_x007D_,False,False</value>
      <value>,__Dsc_FinancialC,__Dsc_FinancialC,System.String,_x007B_SSHH_IINN_00000100.FinancialC_x007D_,False,False</value>
      <value>,__Dsc_Disc,__Dsc_Disc,System.String,_x007B_SSHH_IINN_00000200.Disc_x007D_,False,False</value>
      <value>,__Dsc_Quantity,__Dsc_Quantity,System.String,_x007B_SSHH_IINN_00000200.Quantity_x007D_,False,False</value>
      <value>,__Dsc_PymName,__Dsc_PymName,System.String,_x007B_SSHH_IINN_00000100.PymName_x007D_,False,False</value>
      <value>,__Dsc_PrdName,__Dsc_PrdName,System.String,_x007B_SSHH_IINN_00000200.PrdName_x007D_,False,False</value>
      <value>,__Dsc_OrdRef,__Dsc_OrdRef,System.String,_x007B_SSHH_IINN_00000100.OrdRef_x007D_,False,False</value>
      <value>,__Dsc_ShpRef,__Dsc_ShpRef,System.String,_x007B_SSHH_IINN_00000100.ShpRef_x007D_,False,False</value>
      <value>,__Dsc_Subtotal,__Dsc_Subtotal,System.String,_x007B_SSHH_IINN_00000100.Subtotal_x007D_,False,False</value>
      <value>,__Dsc_TaxAmount,__Dsc_TaxAmount,System.String,_x007B_SSHH_IINN_00000200.TaxAmount_x007D_,False,False</value>
      <value>,__Dsc_TaxRef,__Dsc_TaxRef,System.String,_x007B_SSHH_IINN_00000100.TaxRef_x007D_,False,False</value>
      <value>,__Dsc_TotalA,__Dsc_TotalA,System.String,_x007B_SSHH_IINN_00000100.TotalA_x007D_,False,False</value>
      <value>,__Dsc_TPrice,__Dsc_TPrice,System.String,_x007B_SSHH_IINN_00000200.TPrice_x007D_,False,False</value>
      <value>,__Dsc_UPrice,__Dsc_UPrice,System.String,_x007B_SSHH_IINN_00000200.UPrice_x007D_,False,False</value>
      <value>,__Mss_316,__Mss_316,Entreprise_x0020_VAT_x0020_number,System.String,,False,False,False</value>
      <value>,__Mss_270,__Mss_270,Entreprise_x0020_phone_x0020_number,System.String,,False,False,False</value>
      <value>,__Mss_241,__Mss_241,Entreprise_x0020_fax_x0020_number,System.String,,False,False,False</value>
      <value>,__Mss_237,__Mss_237,Entreprise_x0020_email,System.String,,False,False,False</value>
      <value>,__Mss_318,__Mss_318,Entreprise_x0020_web_x0020_site,System.String,,False,False,False</value>
      <value>,__Mss_31320,__Mss_31320,System.String,,False,False</value>
      <value>,__Mss_30136,__Mss_30136,System.String,,False,False</value>
      <value>,__Mss_33610,__Mss_33610,System.String,,False,False</value>
      <value>,__Mss_33607,__Mss_33607,System.String,,False,False</value>
      <value>,__Mss_31140,__Mss_31140,System.String,,False,False</value>
      <value>,__Mss_34659,__Mss_34659,System.String,,False,False</value>
      <value>,__Mss_35817,__Mss_35817,System.String,,False,False</value>
      <value>,__Mss_30212,__Mss_30212,System.String,,False,False</value>
      <value>,__Mss_32255,__Mss_32255,System.String,,False,False</value>
      <value>,__Mss_33466,__Mss_33466,Page_x0020__x0040__x0023_PAGENUMBER_x0023__x0040__x0020_of_x0020__x0040__x0023_TOTALPAGECOUNT_x0023__x0040_,System.String,,False,False,False</value>
      <value>,ForPage,ForPage,Page_x0020_enumeration_x0020_expression,System.String,,False,False,False</value>
      <value>,ForSalesResponsible,ForSalesResponsible,Sales_x0020_responsible,System.String,IIF_x0028_Invoices.Employee_EmpRef_x0020__x0021__x003D__x0020__x0022__x0022__x002C__x0020_IIF_x0028__x0028_Invoices.Employee_ESurname1_x0020__x0021__x003D__x0020__x0022__x0022__x0029__x0020__x0026__x0026__x0020__x0028_Invoices.Employee_ESurname2_x0020__x0021__x003D__x0020__x0022__x0022__x0029__x002C__x0020_Invoices.Employee_ESurname1_x0020__x002B__x0020__x0022__x0020__x0022__x0020__x002B__x0020_Invoices.Employee_ESurname2_x0020__x002B__x0020__x0022__x002C__x0020__x0022__x0020__x002B_Invoices.Employee_EName_x002C__x0020_IIF_x0028_Invoices.Employee_ESurname1_x0020__x0021__x003D__x0020__x0022__x0022__x002C__x0020_Invoices.Employee_ESurname1_x0020__x002B__x0020__x0022__x002C__x0020__x0022__x0020__x002B__x0020_Invoices.Employee_EName_x002C__x0020_Invoices.Employee_EName_x0029__x0029__x002C__x0020__x0022__x0020__x0022__x0029_.ToString_x0028__x0029_,True,True,False</value>
      <value>,ForPymNameDesc,ForPymNameDesc,System.String,IIF_x0028_Invoices.PymDsc_x0020__x0021__x003D__x0020_null_x002C__x0020_IIF_x0028_Invoices.PymName_x0020__x0021__x003D__x0020_null_x002C__x0020_Invoices.PymName_x0020__x002B__x0020__x0022__x005C_r_x005C_n_x0022__x0020__x0020__x002B__x0020_Invoices.PymDsc_x002C__x0020_Invoices.PymDsc_x0020__x0029__x002C_Invoices.PymName_x0029_.ToString_x0028__x0029_,True,True</value>
      <value>,ForOrdersList,ForOrdersList,Comma_x0020_separated_x0020_order_x0020_list,System.String,,False,False,False</value>
      <value>,ForDNotesList,ForDNotesList,System.String,,False,False</value>
      <value>,ForTotal,ForTotal,System.Double,Invoices.Subtotal_x0020__x002B__x0020_Invoices.CarrierC,True,True</value>
      <value>,ForBaseAmount,ForBaseAmount,System.Double,SumD_x0028_InvoiceLines_x002C__x0020_Invoice_lines.TPrice_x0029__x0020__x002B__x0020_double.Parse_x0028_IIF_x0028__x0020_Invoices.TValue_x0020__x003D__x003D__x0020__x0020_Invoice_lines.TaxValue_x002C__x0020_Invoices.CarrierC_x002C__x0020__x0022_0_x0022__x0029_.ToString_x0028__x0029__x0029_,True,True</value>
      <value>,ForTotalAmount,ForTotalAmount,System.Double,SumD_x0028_Invoice_lines_x002C__x0020_Invoice_lines.TaxAmount_x0020__x0029_,True,True</value>
      <value>,__Mss_30161,__Mss_30161,System.String,,False,False</value>
      <value>,ForProdName,ForProdName,System.String,IIF_x0028_Invoice_lines.PrdName_x0020__x0021__x003D__x0020__x0022__x0022__x002C__x0020_Invoice_lines.AssocElementCode_x0020__x002B__x0020__x0022__x002C__x0020__x0022__x0020__x002B__x0020_Invoice_lines.PrdName_x002C__x0020_Invoice_lines.AssocElementCode_x0029_.ToString_x0028__x0029_,True,True</value>
      <value>,ForCheckCarrierVAT,ForCheckCarrierVAT,System.Boolean,false,False,False</value>
      <value>,ForApplyVATToFinancialCosts,ForApplyVATToFinancialCosts,System.Boolean,false,False,False</value>
      <value>,ForUnitaryPricePreffix,ForUnitaryPricePreffix,System.String,IIF_x0028_Invoices.TotalA__Prf_x0020__x0021__x003D__x0020__x0022__x0022__x002C__x0020_IIF_x0028_Invoice_lines.UCtName_x0020__x0021__x003D__x0020__x0022_UNT_x0022__x002C__x0020_Invoices.TotalA__Prf_x0020__x002B__x0020__x0022__x002F__x0022__x0020__x002B__x0020_Invoice_lines.UntName_x002C__x0020_Invoices.TotalA__Prf_x0029_.ToString_x0028__x0029__x002C__x0020__x0022__x0022__x0029_.ToString_x0028__x0029_,True,True</value>
      <value>,ForCheckFinancialVAT,ForCheckFinancialVAT,System.Boolean,false,False,False</value>
      <value>,ForUnitaryPriceSuffix,ForUnitaryPriceSuffix,System.String,IIF_x0028_Invoices.TotalA__Sff_x0020__x0021__x003D__x0020__x0022__x0022__x002C__x0020_IIF_x0028_Invoice_lines.UCtName_x0020__x0021__x003D__x0020__x0022_UNT_x0022__x002C__x0020_Invoices.TotalA__Sff_x0020__x002B__x0020__x0022__x002F__x0022__x0020__x002B__x0020_Invoice_lines.UntName_x002C__x0020_Invoices.TotalA__Sff_x0029_.ToString_x0028__x0029__x002C__x0020__x0022__x0022__x0029_.ToString_x0028__x0029_,True,True</value>
      <value>,ForCarrierCharges,ForCarrierCharges,System.String,IIF_x0028_Invoices.CarrierFees_x0020__x003D__x003D__x0020_0_x002C_Invoices.CarrierC__Scr_x002C_Invoices.CarrierFees__ScN_x0029_.ToString_x0028__x0029_,True,True</value>
      <value>,ForTaxBreakdown,ForTaxBreakdown,System.String,,False,False</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <ReportPage Ref="6" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="9">
        <PageFooterBand1 Ref="7" type="PageFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,52.2,19,3.2</ClientRectangle>
          <Components isList="true" count="14">
            <Text40 Ref="8" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.4,1,1.8,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text40</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__Mss_316}:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text40>
            <Text56 Ref="9" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.4,1.6,1.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text56</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__Mss_270}:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text56>
            <Text64 Ref="10" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.4,2.2,1.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text64</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__Mss_241}:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text64>
            <Text65 Ref="11" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>10.4,1,2.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text65</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntVATNum}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text65>
            <Text66 Ref="12" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>10.4,1.6,2.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text66</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntPhone}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text66>
            <Text67 Ref="13" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>10.4,2.2,2.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text67</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntFax}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text67>
            <Text68 Ref="14" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>13.8,1,1.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text68</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__Mss_237}:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text68>
            <Text69 Ref="15" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>13.8,1.6,1.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text69</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__Mss_318}:</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text69>
            <Text71 Ref="16" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.8,1,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text71</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntEMail}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text71>
            <Text76 Ref="17" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.8,1.6,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text76</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntWeb}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text76>
            <Text77 Ref="18" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.4,1,7.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text77</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntDsc}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text77>
            <Text78 Ref="19" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.4,1.6,7.6,1.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text78</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{__EntAddress}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text78>
            <Text4 Ref="20" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>12.4,0.2,6.2,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,9</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <Text>{Replace(Replace(__Mss_33466, "@#PAGENUMBER#@", PageNumber),  "@#TOTALPAGECOUNT#@", TotalPageCount)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text4>
            <HorizontalLinePrimitive1 Ref="21" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0,0.8,18.8,0.0254</ClientRectangle>
              <Color>Black</Color>
              <EndCap Ref="22" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Name>HorizontalLinePrimitive1</Name>
              <Page isRef="6" />
              <Parent isRef="7" />
              <StartCap Ref="23" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive1>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>PageFooterBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </PageFooterBand1>
        <DataBand1 Ref="24" type="DataBand" isKey="true">
          <AfterPrintEvent>ForCheckCarrierVAT = false;
ForCheckFinancialVAT = false;
ForApplyVATToFinancialCosts = CheckApplyTaxToFinancialCostsParameter(ForApplyVATToFinancialCosts, Configuration_parameters.ParName, Configuration_parameters.ParValue)</AfterPrintEvent>
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,0.4,19,0</ClientRectangle>
          <Components isList="true" count="0" />
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>Configuration parameters</DataSourceName>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Sort isList="true" count="0" />
        </DataBand1>
        <Invoice Ref="25" type="DataBand" isKey="true">
          <BeforePrintEvent>ForTaxBreakdown="";</BeforePrintEvent>
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,1.2,19,6.6</ClientRectangle>
          <Components isList="true" count="24">
            <Image1 Ref="26" type="Image" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.2,0.6,2.6,2.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <ImageURL>{__EntImage}</ImageURL>
              <Name>Image1</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
            </Image1>
            <Text2 Ref="27" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.4,1,5.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__EntDsc}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text2>
            <Text3 Ref="28" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>9.4,0.8,8.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,18,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Mss_32255}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text3>
            <Text1 Ref="29" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,3.6,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_InvRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text1>
            <Text6 Ref="30" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,3.6,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.InvRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text6>
            <Text7 Ref="31" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,4,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_CDate}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text7>
            <Text8 Ref="32" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,4,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.CDate__SDt}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text8>
            <Text9 Ref="33" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,4.4,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text9</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_EDate}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text9>
            <Text10 Ref="34" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,4.4,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text10</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.EDate__SDt}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text10>
            <Text11 Ref="35" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,4.8,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text11</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_VATNum}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text11>
            <Text38 Ref="36" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,4.8,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text38</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.Supplier_VATNum}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text38>
            <Text80 Ref="37" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>10.8,3.6,6.2,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text80</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Supplier_ComName}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
            </Text80>
            <Text81 Ref="38" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanShrink>True</CanShrink>
              <ClientRectangle>11.2,4.6,7,1.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text81</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Address1__Add}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text81>
            <Text82 Ref="39" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,5.4,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text82</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_OrdRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text82>
            <Text83 Ref="40" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,5.4,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text83</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.OrdRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text83>
            <Text84 Ref="41" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,5.8,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text84</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{__Dsc_ShpRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text84>
            <Text85 Ref="42" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,5.8,3,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text85</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {Invoices.ShpRef}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text85>
            <Text20 Ref="43" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.8,1.6,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text20</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>: {IIF(Invoices.Employee_EName == "",Invoices.Employee_EmpRef,IIF(Invoices.Employee_ESurname1 == "",Invoices.Employee_EName, Invoices.Employee_EName + " " + Invoices.Employee_ESurname1 ))}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text20>
            <Text21 Ref="44" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.4,1.6,5.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text21</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Employee_EName__Lab}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text21>
            <Text24 Ref="45" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.4,2.4,5.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text24</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Contact_WEMail__Lab}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text24>
            <Text30 Ref="46" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.4,2,5.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text30</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Contact_WPhone__Lab}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text30>
            <Text35 Ref="47" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.8,2.4,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text35</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Contact_WEMail}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text35>
            <Text36 Ref="48" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>8.8,2,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text36</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.Contact_WPhone}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text36>
            <Text41 Ref="49" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>11.2,4.2,7,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text41</Name>
              <Page isRef="6" />
              <Parent isRef="25" />
              <Text>{Invoices.ConSurname1__Lab}: {IIF(Invoices.Contact_EName == "", Invoices.Contact_ESurname1, Invoices.Contact_EName + " " + Invoices.Contact_ESurname1)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text41>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>Invoices</DataSourceName>
          <Filters isList="true" count="0" />
          <Guid>8834ae51f11a434fb41f95df8712c052</Guid>
          <Linked>True</Linked>
          <Name>Invoice</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <ResetPageNumber>True</ResetPageNumber>
          <Sort isList="true" count="2">
            <value>ASC</value>
            <value>InvRef</value>
          </Sort>
        </Invoice>
        <LinesHeaderBand Ref="50" type="HeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,8.6,19,0</ClientRectangle>
          <Components isList="true" count="0" />
          <Conditions isList="true" count="0" />
          <Guid>91a8c181779344e29c5db792ce38bf2a</Guid>
          <Linked>True</Linked>
          <Name>LinesHeaderBand</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </LinesHeaderBand>
        <LinesHeader Ref="51" type="ChildBand" isKey="true">
          <Brush>[216:216:216]</Brush>
          <ClientRectangle>0,9.4,19,0.6</ClientRectangle>
          <Components isList="true" count="6">
            <Line_x0020_number_x0020_label Ref="52" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>0,0,1.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>4104df9051e84774ab91bc1fba2ca760</Guid>
              <HorAlignment>Center</HorAlignment>
              <Linked>True</Linked>
              <Margins>0,0,0,0</Margins>
              <Name>Line number label</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>#</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <VertAlignment>Center</VertAlignment>
            </Line_x0020_number_x0020_label>
            <Quantity_x0020_label Ref="53" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>1.6,0,1.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>b083e1ba30b04bd19259c5e3b24404f6</Guid>
              <HorAlignment>Right</HorAlignment>
              <Linked>True</Linked>
              <Margins>0,8,0,0</Margins>
              <Name>Quantity label</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>{__Dsc_Quantity}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <VertAlignment>Center</VertAlignment>
            </Quantity_x0020_label>
            <Product_x0020_name_x0020_label Ref="54" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>3.2,0,8.2,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>8f134dcb27444d55af8be4a3532068e1</Guid>
              <Linked>True</Linked>
              <Margins>0,0,0,0</Margins>
              <Name>Product name label</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>{__Dsc_PrdName}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Product_x0020_name_x0020_label>
            <Text12 Ref="55" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>16.6,0,2.4,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>56b0e866d0b045aeb743f96fb143fe23</Guid>
              <HorAlignment>Right</HorAlignment>
              <Linked>True</Linked>
              <Margins>0,8,0,0</Margins>
              <Name>Text12</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>{__Dsc_TPrice}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="56" type="NumberFormat" isKey="true">
                <GroupSeparator />
                <NegativePattern>1</NegativePattern>
              </TextFormat>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <VertAlignment>Center</VertAlignment>
            </Text12>
            <Text14 Ref="57" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>14.4,0,2.2,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>1497f8adacad447cb816dca13f9ef755</Guid>
              <HorAlignment>Right</HorAlignment>
              <Linked>True</Linked>
              <Margins>0,0,0,0</Margins>
              <Name>Text14</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>{__Dsc_UPrice}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="58" type="NumberFormat" isKey="true">
                <GroupSeparator />
                <NegativePattern>1</NegativePattern>
              </TextFormat>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <VertAlignment>Center</VertAlignment>
            </Text14>
            <Text26 Ref="59" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>11.4,0,3,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>f2b71cbec7d34894ad2937f1f5620b0b</Guid>
              <HorAlignment>Center</HorAlignment>
              <Linked>True</Linked>
              <Margins>0,0,0,0</Margins>
              <Name>Text26</Name>
              <Page isRef="6" />
              <Parent isRef="51" />
              <Text>{__Mss_35817}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="60" type="NumberFormat" isKey="true">
                <GroupSeparator />
                <NegativePattern>1</NegativePattern>
              </TextFormat>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text26>
          </Components>
          <Conditions isList="true" count="0" />
          <Guid>f3d702fe28384b71a6e6eee85147f99e</Guid>
          <Linked>True</Linked>
          <Name>LinesHeader</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </LinesHeader>
        <InvoiceLines Ref="61" type="DataBand" isKey="true">
          <BeforePrintEvent>ForTaxBreakdown = IIF(ForTaxBreakdown != "", ForTaxBreakdown, IIF(Invoices.TValue != Invoice_lines.TaxValue, "1", ForTaxBreakdown)).ToString();</BeforePrintEvent>
          <Border>None;Black;1;Solid;False;4;Black</Border>
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,10.8,19,0</ClientRectangle>
          <Components isList="true" count="0" />
          <Conditions isList="true" count="0" />
          <DataRelationName>Lines</DataRelationName>
          <DataSourceName>Invoice lines</DataSourceName>
          <Filters isList="true" count="0" />
          <Guid>e961c01d6d7c4710bb66cef29020bfd9</Guid>
          <Linked>True</Linked>
          <MasterComponent isRef="25" />
          <Name>InvoiceLines</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Sort isList="true" count="2">
            <value>ASC</value>
            <value>LineNum</value>
          </Sort>
        </InvoiceLines>
        <LinesData Ref="62" type="ChildBand" isKey="true">
          <Border>None;Black;1;Solid;False;4;Black</Border>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,11.6,19,1.2</ClientRectangle>
          <Components isList="true" count="7">
            <Text42 Ref="63" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.2,0.2,1.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text42</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{Invoice_lines.LineNum}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text42>
            <Text43 Ref="64" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>1.6,0.2,1.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text43</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{Invoice_lines.Quantity__Scr}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text43>
            <Text44 Ref="65" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>3.2,0.2,8.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text44</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{ForProdName}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text44>
            <Text45 Ref="66" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>11.4,0.2,3,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text45</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{Invoice_lines.TotalUnits__Scr}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text45>
            <Text13 Ref="67" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>14.4,0.2,2.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text13</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{Invoice_lines.TPrice__Prf}{Format("{0:N"+ Invoices.Currency_CurDecs + "}", Abs(Invoice_lines.UPrice))}{Invoice_lines.TPrice__Sff}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text13>
            <Text15 Ref="68" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>16.6,0.2,2.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text15</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <Text>{Invoice_lines.TPrice__Prf}{Format("{0:N"+ Invoices.Currency_FisDecs + "}", Abs(Invoice_lines.TPrice))}{Invoice_lines.TPrice__Sff}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text15>
            <HorizontalLinePrimitive5 Ref="69" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0.2,1.2,18.8,0.0254</ClientRectangle>
              <Color>216, 216, 216</Color>
              <EndCap Ref="70" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Name>HorizontalLinePrimitive5</Name>
              <Page isRef="6" />
              <Parent isRef="62" />
              <StartCap Ref="71" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive5>
          </Components>
          <Conditions isList="true" count="0" />
          <Guid>21d087aef693468d8b8f5b18ec221f7a</Guid>
          <Linked>True</Linked>
          <Name>LinesData</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </LinesData>
        <FooterBand5 Ref="72" type="FooterBand" isKey="true">
          <Border>None;Black;1;Solid;False;4;Black</Border>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,13.6,19,12.6</ClientRectangle>
          <Components isList="true" count="9">
            <Text25 Ref="73" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>11.6,0.4,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text25</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{__Dsc_Subtotal}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text25>
            <Text32 Ref="74" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.4,0.4,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text32</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{Invoices.Subtotal__Scr}</Text>
              <TextBrush>Black</TextBrush>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text32>
            <Text33 Ref="75" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>11.6,1,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text33</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{__Mss_30161}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text33>
            <Text34 Ref="76" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.4,1,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text34</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{ForCarrierCharges}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text34>
            <Text39 Ref="77" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>11.6,1.6,3.8,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text39</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{__Mss_31320}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text39>
            <Text46 Ref="78" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>15.4,1.6,3.4,0.4</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text46</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{Invoices.TotalA__Prf}{Format("{0:N"+ Invoices.Currency_FisDecs + "}", Abs(ForTotal))}{Invoices.TotalA__Sff}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text46>
            <Panel2 Ref="79" type="Stimulsoft.Report.Components.StiPanel" isKey="true">
              <Brush>Transparent</Brush>
              <CanShrink>True</CanShrink>
              <ClientRectangle>10.8,2,8,10.4</ClientRectangle>
              <Components isList="true" count="9">
                <GroupHeaderBand1 Ref="80" type="GroupHeaderBand" isKey="true">
                  <BeforePrintEvent>ForCheckFinancialVAT = CheckFinancialVAT(ForCheckFinancialVAT, ForApplyVATToFinancialCosts, Invoices.TValue, Invoices.FinancialC, Invoice_lines.TaxValue);
ForCheckCarrierVAT = CheckCarrierVAT(ForCheckCarrierVAT, Invoices.TValue, Invoices.CarrierC, Invoice_lines.TaxValue)</BeforePrintEvent>
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,0.4,8,0.6</ClientRectangle>
                  <Components isList="true" count="2">
                    <Text47 Ref="81" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>0.8,0.2,3.8,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10,Bold</Font>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text47</Name>
                      <Page isRef="6" />
                      <Parent isRef="80" />
                      <Text>{Invoices.TaxRef__Lab} {Invoice_lines.TaxValue__Scr} {IIF(ForTaxBreakdown=="","",("(" + Invoices.TotalA__Prf + Format("{0:N"+ Invoices.Currency_FisDecs + "}", Abs(AddCarrierAndFinancialVATAmount(SumD(DataBand3, Invoice_lines.TPrice), Invoices.CarrierC, Invoices.FinancialC, Invoice_lines.TaxValue, Invoices.TValue, ForApplyVATToFinancialCosts)))) + Invoices.TotalA__Sff + ")").ToString()}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                    </Text47>
                    <Text48 Ref="82" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>4.6,0.2,3.4,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10</Font>
                      <HorAlignment>Right</HorAlignment>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text48</Name>
                      <Page isRef="6" />
                      <Parent isRef="80" />
                      <Text>{Invoices.TotalA__Prf}{Format("{0:N"+ Invoices.Currency_FisDecs + "}", Abs(AddCarrierAndFinancialVATAmount(SumD(DataBand3, Invoice_lines.TPrice), Invoices.CarrierC, Invoices.FinancialC, Invoice_lines.TaxValue, Invoices.TValue, Configuration_parameters.ParValue == "1")) * (Invoice_lines.TaxValue / 100))}{Invoices.TotalA__Sff}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text48>
                  </Components>
                  <Condition>{Invoice_lines.TaxValue.ToString()}</Condition>
                  <Conditions isList="true" count="0" />
                  <Name>GroupHeaderBand1</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </GroupHeaderBand1>
                <HeaderBand2 Ref="83" type="HeaderBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,1.8,8,0</ClientRectangle>
                  <Components isList="true" count="0" />
                  <Conditions isList="true" count="0" />
                  <Name>HeaderBand2</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </HeaderBand2>
                <HeaderBand3 Ref="84" type="HeaderBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,2.6,8,0</ClientRectangle>
                  <Components isList="true" count="0" />
                  <Conditions isList="true" count="0" />
                  <Name>HeaderBand3</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </HeaderBand3>
                <HeaderBand1 Ref="85" type="HeaderBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,3.4,8,0</ClientRectangle>
                  <Components isList="true" count="0" />
                  <Conditions isList="true" count="0" />
                  <Name>HeaderBand1</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </HeaderBand1>
                <DataBand3 Ref="86" type="DataBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <BusinessObjectGuid isNull="true" />
                  <ClientRectangle>0,4.2,8,0</ClientRectangle>
                  <Components isList="true" count="0" />
                  <Conditions isList="true" count="0" />
                  <DataRelationName>Lines</DataRelationName>
                  <DataSourceName>Invoice lines</DataSourceName>
                  <Filters isList="true" count="0" />
                  <MasterComponent isRef="25" />
                  <Name>DataBand3</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                  <Sort isList="true" count="0" />
                </DataBand3>
                <FooterBand3 Ref="87" type="FooterBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <CanShrink>True</CanShrink>
                  <ClientRectangle>0,5,8,0.6</ClientRectangle>
                  <Components isList="true" count="2">
                    <Text74 Ref="88" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>0.8,0.2,3.8,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10,Bold</Font>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text74</Name>
                      <Page isRef="6" />
                      <Parent isRef="87" />
                      <Text>{Invoices.TaxRef__Lab} {Invoices.TValue__Scr} {IIF(ForTaxBreakdown=="","",("(" + Invoices.TotalA__Prf + Format("{0:N"+ Invoices.Currency_FisDecs + "}", IIF(ForApplyVATToFinancialCosts, System.Math.Abs(Invoices.CarrierC + Invoices.FinancialC), System.Math.Abs(Invoices.CarrierC))) + Invoices.TotalA__Sff + ")")).ToString()}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text74>
                    <Text75 Ref="89" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>4.6,0.2,3.4,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10</Font>
                      <HorAlignment>Right</HorAlignment>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text75</Name>
                      <Page isRef="6" />
                      <Parent isRef="87" />
                      <Text>{Invoices.TotalA__Prf}{Format("{0:N"+ Invoices.Currency_FisDecs + "}", IIF(Configuration_parameters.ParValue == "1", Abs(CalculateVATAmount(Invoices.CarrierC + Invoices.FinancialC, Invoices.TValue)), Abs(CalculateVATAmount(Invoices.CarrierC, Invoices.TValue))))}{Invoices.TotalA__Sff}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text75>
                  </Components>
                  <Conditions isList="true" count="1">
                    <value>_x007B__x0028__x0028_ForCheckCarrierVAT_x0020__x003D__x003D__x0020_true_x0029__x0020__x007C__x007C__x0020__x0028_Invoices.CarrierC_x0020__x003D__x003D__x0020_0_x0029__x0029__x0020__x0026__x0026__x0020__x0028__x0028_ForCheckFinancialVAT_x0029__x0020__x007C__x007C__x0020__x0028_Invoices.FinancialC_x0020__x003D__x003D__x0020_0_x0029__x0029__x0020__x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
                  </Conditions>
                  <Name>FooterBand3</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </FooterBand3>
                <FooterBand2 Ref="90" type="FooterBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,6.4,8,0.6</ClientRectangle>
                  <Components isList="true" count="2">
                    <Text23 Ref="91" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>0.8,0.2,3.8,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10,Bold</Font>
                      <Guid>c0e95a1fb7cb4f2c91dc0896e41eae91</Guid>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text23</Name>
                      <Page isRef="6" />
                      <Parent isRef="90" />
                      <Text>{Invoices.FinancialC__Lab}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text23>
                    <Text27 Ref="92" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>4.6,0.2,3.4,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10</Font>
                      <Guid>0b38d2f6cb004ac99014b33c680da390</Guid>
                      <HorAlignment>Right</HorAlignment>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text27</Name>
                      <Page isRef="6" />
                      <Parent isRef="90" />
                      <Text>{Invoices.FinancialC__Scr}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text27>
                  </Components>
                  <Conditions isList="true" count="1">
                    <value>_x007B_Invoices.FinancialC_x0020__x003D__x003D__x0020_0_x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
                  </Conditions>
                  <Name>FooterBand2</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </FooterBand2>
                <FooterBand4 Ref="93" type="FooterBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,7.8,8,1.2</ClientRectangle>
                  <Components isList="true" count="4">
                    <Text28 Ref="94" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>4.6,0.4,3.4,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10,Bold</Font>
                      <Guid>3a80bac3dd0e4c06b0c614d57f9f836e</Guid>
                      <HorAlignment>Right</HorAlignment>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text28</Name>
                      <Page isRef="6" />
                      <Parent isRef="93" />
                      <Text>{Invoices.TotalA__Scr}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>DataColumn</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text28>
                    <Text29 Ref="95" type="Text" isKey="true">
                      <Brush>Transparent</Brush>
                      <ClientRectangle>0.8,0.4,3.8,0.4</ClientRectangle>
                      <Conditions isList="true" count="0" />
                      <Font>Calibri Light,10,Bold</Font>
                      <Guid>11ea7c78b7bc475bb446d66a4ba5a5b5</Guid>
                      <Margins>0,0,0,0</Margins>
                      <Name>Text29</Name>
                      <Page isRef="6" />
                      <Parent isRef="93" />
                      <Text>{__Dsc_TotalA}</Text>
                      <TextBrush>Black</TextBrush>
                      <Type>Expression</Type>
                      <VertAlignment>Center</VertAlignment>
                    </Text29>
                    <HorizontalLinePrimitive3 Ref="96" type="HorizontalLinePrimitive" isKey="true">
                      <ClientRectangle>0.8,0.2,7.2,0.0254</ClientRectangle>
                      <Color>Black</Color>
                      <EndCap Ref="97" type="Cap" isKey="true">
                        <Color>Black</Color>
                      </EndCap>
                      <Guid>a5a55c57619446859f82dde7ce7ce5e2</Guid>
                      <Name>HorizontalLinePrimitive3</Name>
                      <Page isRef="6" />
                      <Parent isRef="93" />
                      <StartCap Ref="98" type="Cap" isKey="true">
                        <Color>Black</Color>
                      </StartCap>
                    </HorizontalLinePrimitive3>
                    <HorizontalLinePrimitive4 Ref="99" type="HorizontalLinePrimitive" isKey="true">
                      <ClientRectangle>0.8,1,7.2,0.0254</ClientRectangle>
                      <Color>Black</Color>
                      <EndCap Ref="100" type="Cap" isKey="true">
                        <Color>Black</Color>
                      </EndCap>
                      <Guid>286680bc5fe745cfa9c631885b6ed6d1</Guid>
                      <Name>HorizontalLinePrimitive4</Name>
                      <Page isRef="6" />
                      <Parent isRef="93" />
                      <Size>2</Size>
                      <StartCap Ref="101" type="Cap" isKey="true">
                        <Color>Black</Color>
                      </StartCap>
                    </HorizontalLinePrimitive4>
                  </Components>
                  <Conditions isList="true" count="0" />
                  <Name>FooterBand4</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </FooterBand4>
                <GroupFooterBand1 Ref="102" type="GroupFooterBand" isKey="true">
                  <Brush>Transparent</Brush>
                  <ClientRectangle>0,9.8,8,0</ClientRectangle>
                  <Components isList="true" count="0" />
                  <Conditions isList="true" count="0" />
                  <Name>GroupFooterBand1</Name>
                  <Page isRef="6" />
                  <Parent isRef="79" />
                </GroupFooterBand1>
              </Components>
              <Conditions isList="true" count="0" />
              <Name>Panel2</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
            </Panel2>
            <Text70 Ref="103" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanShrink>True</CanShrink>
              <ClientRectangle>1.2,0.8,8.2,4.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text70</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{ForPymNameDesc}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
            </Text70>
            <Text59 Ref="104" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.8,0.4,5.4,0.4</ClientRectangle>
              <Conditions isList="true" count="1">
                <value>_x007B_Invoices.PymDsc_x0020__x003D__x003D__x0020__x0022__x0022__x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
              </Conditions>
              <Font>Calibri Light,10,Bold| Underline</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text59</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>{__Dsc_PymName}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text59>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>FooterBand5</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </FooterBand5>
        <ChildBand1 Ref="105" type="ChildBand" isKey="true">
          <Brush>Transparent</Brush>
          <CanShrink>True</CanShrink>
          <ClientRectangle>0,27,19,2.4</ClientRectangle>
          <Components isList="true" count="2">
            <Text5 Ref="106" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.8,0.4,4.4,0.4</ClientRectangle>
              <Conditions isList="true" count="1">
                <value>_x007B_Invoices.Descrip_x0020__x003D__x003D__x0020__x0022__x0022__x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
              </Conditions>
              <Font>Calibri Light,10,Bold| Underline</Font>
              <Guid>0b576e5340d749f28468a3f81fc1650d</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="6" />
              <Parent isRef="105" />
              <Text>{__Dsc_Descrip}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text5>
            <Text18 Ref="107" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <CanShrink>True</CanShrink>
              <ClientRectangle>1.2,0.8,17.4,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Calibri Light,10</Font>
              <Guid>2dd2332f846c453b9068c62343805c7e</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text18</Name>
              <Page isRef="6" />
              <Parent isRef="105" />
              <Text>{Invoices.Descrip}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>DataColumn</Type>
            </Text18>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ChildBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </ChildBand1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>b55e7fb5a4824420bdfcfa6713f14862</Guid>
      <LargeHeight>True</LargeHeight>
      <LargeHeightFactor>2</LargeHeightFactor>
      <Margins>1,1,1,1</Margins>
      <Name>ReportPage</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="108" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </ReportPage>
  </Pages>
  <PrinterSettings Ref="109" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>SSHH_IINN_00000100_PurchaseInvoice_New</ReportAlias>
  <ReportAuthor>SYSADM</ReportAuthor>
  <ReportChanged>2/1/2017 11:38:12 AM</ReportChanged>
  <ReportCreated>11/14/2012 3:56:21 PM</ReportCreated>
  <ReportDescription>Purchase Invoice new</ReportDescription>
  <ReportFile />
  <ReportGuid>c623cfb7c4f44d5d8a8f7d378f34f22e</ReportGuid>
  <ReportName>SSHH_IINN_00000100_PurchaseInvoice_New</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2013.2.1604</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
    public class SSHH_IINN_00000100_PurchaseInvoice2 : Stimulsoft.Report.StiReport
    {
        public SSHH_IINN_00000100_PurchaseInvoice2()        {
            this.InitializeComponent();
        }

		private const string APPLY_VAT_PARAMETER = "SYS_SAM_ApplyTaxToFinancial";
		private const string USE_PRODUCT_IMAGES = "DIS_SAM_ReportImage";
		
		public bool CheckApplyTaxToFinancialCostsParameter(bool alreadyChecked, string parName, string parValue) {
			if (alreadyChecked) return true;
			else return (parName.Equals(APPLY_VAT_PARAMETER) &amp;&amp; (parValue == "1"));
		}
		
		public bool CheckReportImageParameter(bool alreadyChecked, string parName, string parValue) {
			if (alreadyChecked) return true;
			else return (parName.Equals(USE_PRODUCT_IMAGES) &amp;&amp; (parValue == "1"));
		}
		
		public double AddCarrierAndFinancialVATAmount(double subTotal, double carrierAmount, double financialAmount, double lineTaxValue, double taxValue, bool addFinancialCostsToVAT) {
			double result = subTotal;
			if(lineTaxValue == taxValue) { 
				// Carrier amount is added in all cases
				result += carrierAmount;
				// Financial costs VAT is only added when configuration parameter sets so
				if (addFinancialCostsToVAT) result += financialAmount;
			}	
			return result;
		}
		
		public double CalculateVATAmount(double subTotal, double carrierAmount, double financialAmount, double lineTaxValue, double taxValue, bool addFinancialCostsToVAT) {
			double result = subTotal;
			if(lineTaxValue == taxValue) { 
				// Carrier amount is added in all cases
				result += CalculateVATAmount(carrierAmount, taxValue);
				// Financial costs VAT is only added when configuration parameter sets so
				if (addFinancialCostsToVAT) result += CalculateVATAmount(financialAmount, taxValue);
			}	
			return result;	
		}
		public double CalculateVATAmount( double amount, double taxValue) {
			return (amount * (taxValue / 100));
		}
		
		public bool CheckCarrierVAT(bool forCheckCarrierVATCheck, double lineTaxValue, double carrierAmount, double carrierTaxValue) {
			if (forCheckCarrierVATCheck) return true;
			else if ((lineTaxValue == carrierTaxValue) &amp;&amp; (carrierAmount != 0.0)) return true;
			else return false;
		}
		
		public bool CheckFinancialVAT(bool forCheckFinancialVAT, bool addFinancialCostsToVAT, double lineTaxValue, double financialAmount, double financialTaxValue) {
			if ((forCheckFinancialVAT) || (!addFinancialCostsToVAT)) return true;
			else if ((lineTaxValue == financialTaxValue) &amp;&amp; (financialAmount != 0.0)) return true;
			else return false;
		}

        #region StiReport Designer generated code - do not modify
		#endregion StiReport Designer generated code - do not modify
    }
}</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="7">
    <Titles Ref="110" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>Bottom;[199:213:224];3;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Arial,22,Bold</Font>
      <Name>Titles</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Titles>
    <PageHeader Ref="111" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>Bottom;[199:213:224];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Verdana,9</Font>
      <Name>PageHeader</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </PageHeader>
    <PageFooter Ref="112" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>Top;[199:213:224];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Verdana,9</Font>
      <Name>PageFooter</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </PageFooter>
    <Headers Ref="113" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>All;[131:166:224];1;Solid;False;4;Black</Border>
      <Brush>[185:218:255]</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Arial,11,Bold</Font>
      <Name>Headers</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Headers>
    <DataClean Ref="114" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Brush>Transparent</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Verdana,10</Font>
      <Name>DataClean</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </DataClean>
    <DataOdd Ref="115" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>All;[216:223:232];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Verdana,10</Font>
      <Name>DataOdd</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </DataOdd>
    <DataEven Ref="116" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Border>All;[216:223:232];1;Solid;False;4;Black</Border>
      <Brush>[245:245:245]</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Verdana,10</Font>
      <Name>DataEven</Name>
      <TextBrush>Black</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </DataEven>
  </Styles>
</StiSerializer>