File: D:/MariaDB Data/jms_demo_rhes/reports.MYD
1�R�,� User List I SELECT * FROM users WHERE UserName >= "[START]" AND UserName <= "[END]"
?1 <?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.10.1" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="1465" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.Compressed="True" ReportOptions.CreateDate="39024.4955783102" ReportOptions.Description.Text="" ReportOptions.LastChange="40863.5595222338" ScriptLanguage="PascalScript" ScriptText.Text="begin end." PropData="044C656674022C03546F70021408446174617365747301010C1E00000020446174615365743D2264732220446174615365744E616D653D226473220000095661726961626C657301010C16000000204E616D653D22204A4D53207661726961626C65732200010C21000000204E616D653D227374725265706F72745469746C65222056616C75653D2227272200010C24000000204E616D653D227374725265706F72745375627469746C65222056616C75653D2227272200010C21000000204E616D653D22737472557365724E616D65222056616C75653D2227495450272200010C25000000204E616D653D227374724272616E6368507265666978222056616C75653D2227414C44272200010C28000000204E616D653D227374724272616E63684E616D65222056616C75653D2227416C647269646765272200010C1E000000204E616D653D227374724D65737361676531222056616C75653D2227272200010C1E000000204E616D653D227374724D65737361676532222056616C75653D2227272200010C1B000000204E616D653D22746B6E5354415254222056616C75653D2227272200010C19000000204E616D653D22746B6E454E44222056616C75653D2227272200010C4D000000204E616D653D22737472456D61696C5369676E6174757265222056616C75653D22274B696E6420726567617264732C262331333B262331303B262331333B262331303B537572696E646572272200010C57000000204E616D653D22737472456D61696C5369676E617475726548544D4C222056616C75653D22274B696E6420726567617264732C262336303B62722F262336323B262336303B62722F262336323B537572696E64657227220000055374796C650100">
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
<TfrxPageHeader Name="PageHeader1" Height="548.03185" Left="0" Top="18.89765" Width="718.1107">
<TfrxMemoView Name="Memo5" Left="0" Top="7.55906" Width="279.68522" Height="22.67718" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="User List"/>
<TfrxMemoView Name="Memo6" Left="0" Top="56.69295" Width="162.51979" Height="18.89765" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="User Name"/>
<TfrxMemoView Name="Memo7" Left="291.02381" Top="56.69295" Width="56.69295" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" Text="Rate A"/>
<TfrxMemoView Name="Memo8" Left="381.73253" Top="56.69295" Width="56.69295" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" Text="Rate B"/>
<TfrxMemoView Name="Memo9" Left="476.22078" Top="56.69295" Width="56.69295" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" Text="Rate C"/>
<TfrxMemoView Name="Memo11" Left="570.70903" Top="56.69295" Width="56.69295" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="Abbrev"/>
<TfrxMemoView Name="Memo12" Left="653.85869" Top="56.69295" Width="56.69295" Height="18.89765" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="Active"/>
<TfrxMemoView Name="Memo16" Left="170.07885" Top="56.69295" Width="86.92919" Height="18.89765" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="Branch ID"/>
<TfrxMemoView Name="Memo18" Left="7.55906" Top="79.37013" Width="351.49629" Height="461.10266" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="0" HAlign="haBlock" ParentFont="False" Text="Delphi became the site of a major temple to Phoebus Apollo, as well as the Pythian Games and the famous prehistoric oracle. Even in Roman times, hundreds of votive statues remained, described by Pliny the Younger and seen by Pausanias. Supposedly carved into the temple were three phrases: γνῶθι σεαυτόν (gnothi seauton = "know thyself") and μηδὲν ἄγαν (meden agan = "nothing in excess"), as well as a large letter E.[3] Among other things epsilon signifies the number 5. Plutarch's essay on the meaning of the “E at Delphi" is the only literary source for the inscription. From a late myth that deviates from much older ones, when young, Apollo killed the chthonic serpent Python, named Pythia in older myths, but according to some later accounts his wife, Pythia, who lived beside the Castalian Spring, according to some because Python had attempted to rape Leto while she was pregnant with Apollo and Artemis. The bodies of the pair were draped around his Rod, which, with the wings created the caduceus symbolic of the god. This spring flowed toward the temple but disappeared beneath, creating a cleft which emitted vapors that caused the Oracle at Delphi to give her prophecies. Apollo killed Python but had to be punished for it, since she was a child of Gaia. The shrine dedicated to Apollo was originally dedicated to Gaia and then, possibly to Poseidon. The name Pythia remained as the title of the Delphic Oracle. As punishment for this murder Apollo was sent to serve in menial tasks for eight years. A festival, the Septeria, was performed annually portraying the slaying of the serpent, the flight, the atonment and the return of the God. The Pythian Games took place every four years to commemorate his victory [1]. Erwin Rohde wrote that the Python was an earth spirit, who was conquered by Apollo, and buried under the Omphalos, and that it is a case of one deity setting up a temple on the grave of another.[4] Another view holds that Apollo was a fairly recent addition to the Greek pantheon coming originally from Lydia. The Etruscans coming from northern Anatolia also worshiped Apollo, and it may be that he was originally identical with Mesopotamian Aplu, an Akkadian title meaning "son", originally given to the plague God Nergal, son of Enlil. Apollo Smintheus (Greek Απόλλων Σμινθεύς), the mouse killer[5] eliminates mice, a primary cause of disease, hence he promotes preventive medicine."/>
<TfrxMemoView Name="strReportTitle" Left="306.14193" Top="7.55906" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[strReportTitle]"/>
<TfrxMemoView Name="strUserName" Left="400.63018" Top="3.77953" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[strUserName]"/>
<TfrxMemoView Name="strBranchPrefix" Left="506.45702" Top="3.77953" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[strBranchPrefix]"/>
<TfrxMemoView Name="strBranchName" Left="600.94527" Top="0" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[strBranchName]"/>
<TfrxMemoView Name="tknSTART" Left="306.14193" Top="34.01577" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[tknSTART]"/>
<TfrxMemoView Name="tknEND" Left="400.63018" Top="34.01577" Width="79.37013" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[tknEND]"/>
</TfrxPageHeader>
<TfrxMasterData Name="MasterData1" Height="22.67718" Left="0" Top="627.40198" Width="718.1107" ColumnWidth="0" ColumnGap="0" DataSet="ds" DataSetName="ds" RowCount="0">
<TfrxMemoView Name="Memo1" Left="0" Top="0" Width="113.3859" Height="18.89765" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[<ds."UserName">]"/>
<TfrxMemoView Name="Memo2" Left="328.81911" Top="0" Width="79.37013" Height="18.89765" ShowHint="False" DataField="RateA" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[ds."RateA"]"/>
<TfrxMemoView Name="Memo3" Left="419.52783" Top="0" Width="79.37013" Height="18.89765" ShowHint="False" DataField="RateB" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[ds."RateB"]"/>
<TfrxMemoView Name="Memo4" Left="514.01608" Top="0" Width="79.37013" Height="18.89765" ShowHint="False" DataField="RateC" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[ds."RateC"]"/>
<TfrxMemoView Name="Memo10" Left="600.94527" Top="0" Width="49.13389" Height="18.89765" ShowHint="False" DataField="Abbrev" DataSet="ds" DataSetName="ds" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[ds."Abbrev"]"/>
<TfrxMemoView Name="Memo15" Left="653.85869" Top="0" Width="49.13389" Height="18.89765" ShowHint="False" DataField="Active" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="_,x" DisplayFormat.Kind="fkBoolean" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[ds."Active"]"/>
<TfrxMemoView Name="Memo17" Left="230.55133" Top="0" Width="86.92919" Height="18.89765" ShowHint="False" DataField="BranchID" DataSet="ds" DataSetName="ds" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[ds."BranchID"]"/>
<TfrxMemoView Name="Memo19" Left="124.72449" Top="0" Width="132.28355" Height="18.89765" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial Narrow" Font.Style="0" ParentFont="False" Text="['#' + Translate(<ds."UserName">, 2, 0) + '#']"/>
</TfrxMasterData>
<TfrxPageFooter Name="PageFooter1" Height="22.67718" Left="0" Top="710.55164" Width="718.1107">
<TfrxMemoView Name="Memo13" Left="0" Top="0" Width="225" Height="20" ShowHint="False" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="2" ParentFont="False" Text="[<DATE>] [FORMATDATETIME('h:mm am/pm', <TIME>)]"/>
<TfrxMemoView Name="Memo14" Left="574.48856" Top="0" Width="144.77953" Height="20" ShowHint="False" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="2" HAlign="haRight" ParentFont="False" Text="Page [Page#] of [TotalPages#]"/>
</TfrxPageFooter>
</TfrxReportPage>
</TfrxReport>
Test � Nú� H r�,� Job Label � SELECT * FROM jobs j
INNER JOIN customers c ON c.CustomerID = j.CustomerID
INNER JOIN customer_contacts cc ON cc.ContactID = j.ContactID
INNER JOIN equipment e ON e.EquipmentID = j.EquipmentID
LEFT JOIN manufacturers m ON m.ManufacturerID = e.ManufacturerID
LEFT JOIN job_types jt ON jt.JobTypeID = j.JobTypeID
LEFT JOIN groups g ON g.GroupID = c.GroupID
WHERE JobID >= "[FROMJOBID]" AND JobID <= "[TOJOBID]"�A <?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.1.11" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="4087" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39024.4955783102" ReportOptions.Description.Text="" ReportOptions.LastChange="39205.5580658681" ScriptLanguage="PascalScript" ScriptText.Text="function AddField(const AFullValue, AAddValue: String; const AComma: Boolean = False; const ANewLine: Boolean = False): String; begin Result := AFullValue; if Trim(AAddValue) <> '' then begin if Result <> '' then begin if AComma then Result := Result + ', ' else if ANewLine then Result := Result + #13#10 else Result := Result + ' ' end; Result := Result + Trim(AAddValue); end; end; function GetAddress: String; begin Result := AddField('', <ds."CustomerName">, True); Result := AddField(Result, <ds."DeliveryAddr1">, True); Result := AddField(Result, <ds."DeliveryAddr2">, True); Result := AddField(Result, <ds."DeliveryAddr3">, True); Result := AddField(Result, <ds."DeliveryAddr4">, True); Result := AddField(Result, <ds."DeliveryAddr5">, True); Result := AddField(Result, <ds."DeliveryPostcode">, True); end; function GetContact: String; begin Result := AddField('', <ds."Title">); Result := AddField(Result, <ds."FirstName">); Result := AddField(Result, <ds."Surname">); Result := AddField(Result, 'Tel: ' + <ds."Tel">, True); end; procedure Page1OnBeforePrint(Sender: TfrxComponent); begin if <tknLABELTYPE> = 'Fault Details' then chdCustomerInstruction.Visible := False else if <tknLABELTYPE> = 'Customer Instruction' then chdFaultDetails.Visible := False end; begin end." PropData="044C656674023003546F70021008446174617365747301010C1E00000020446174615365743D2264732220446174615365744E616D653D226473220000095661726961626C657301010C16000000204E616D653D22204A4D53207661726961626C65732200010C21000000204E616D653D227374725265706F72745469746C65222056616C75653D2227272200010C24000000204E616D653D227374725265706F72745375627469746C65222056616C75653D2227272200010C21000000204E616D653D22737472557365724E616D65222056616C75653D2227495450272200010C25000000204E616D653D227374724272616E6368507265666978222056616C75653D2227414C44272200010C28000000204E616D653D227374724272616E63684E616D65222056616C75653D2227416C647269646765272200010C1E000000204E616D653D227374724D65737361676531222056616C75653D2227272200010C1E000000204E616D653D227374724D65737361676532222056616C75653D2227272200010C2C000000204E616D653D22746B6E4C4142454C54595045222056616C75653D22274661756C742044657461696C73272200010C25000000204E616D653D22746B6E46524F4D4A4F424944222056616C75653D2227313030303031272200010C23000000204E616D653D22746B6E544F4A4F424944222056616C75653D222731303030303127220000055374796C6501010C85000000204E616D653D224E6F726D616C2220436F6C6F723D223533363837303931312220466F6E742E436861727365743D22302220466F6E742E436F6C6F723D222D31363737373230382220466F6E742E4865696768743D222D31322220466F6E742E4E616D653D2254696D6573204E657720526F6D616E2220466F6E742E5374796C653D22302200010C8A000000204E616D653D224E6F726D616C20426F6C642220436F6C6F723D223533363837303931312220466F6E742E436861727365743D22302220466F6E742E436F6C6F723D222D31363737373230382220466F6E742E4865696768743D222D31322220466F6E742E4E616D653D2254696D6573204E657720526F6D616E2220466F6E742E5374796C653D2231220000">
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
<TfrxMasterData Name="MasterData1" Height="16.2519685" Left="0" Top="18.89765" Width="718.1107" Child="Child1" ColumnWidth="0" ColumnGap="0" DataSet="ds" DataSetName="ds" KeepChild="True" RowCount="0">
<TfrxMemoView Name="Memo1" Left="45.35436" Top="0" Width="86.92919" Height="16.2519685" DataSetName="frxDBDataset1" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="[ds."JobID"]"/>
<TfrxMemoView Name="Memo2" Left="0" Top="0" Width="45.35436" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="Job No:"/>
<TfrxMemoView Name="Memo7" Left="177.63791" Top="0" Width="22.67718" Height="16.2519685" DataSetName="frxDBDataset1" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."JobClassID"]"/>
<TfrxMemoView Name="Memo8" Left="136.06308" Top="0" Width="37.7953" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="Class:"/>
<TfrxMemoView Name="Memo10" Left="207.87415" Top="0" Width="37.7953" Height="16.251968503937" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="Type:"/>
<TfrxMemoView Name="Memo11" Left="249.44898" Top="0" Width="132.28355" Height="16.2519685" DataSetName="frxDBDataset1" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."JobType"]"/>
<TfrxMemoView Name="Memo9" Left="389.29159" Top="0" Width="64.25201" Height="16.2519685" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."DateTimeOfEntry"]"/>
</TfrxMasterData>
<TfrxChild Name="Child1" Height="16.2519685" Left="0" Top="56.69295" Width="718.1107" Child="Child2" PrintChildIfInvisible="True" Stretched="True">
<TfrxMemoView Name="Memo12" Left="0" Top="0" Width="117.16543" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Text="Customer Addr:"/>
<TfrxMemoView Name="Memo13" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[GetAddress]"/>
</TfrxChild>
<TfrxChild Name="Child2" Height="16.2519685" Left="0" Top="94.48825" Width="718.1107" Child="Child3" PrintChildIfInvisible="True" Stretched="True">
<TfrxMemoView Name="Memo14" Left="0" Top="1.4210854715202E-14" Width="117.16543" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Contact:"/>
<TfrxMemoView Name="Memo15" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[GetContact]"/>
</TfrxChild>
<TfrxChild Name="Child3" Height="16.2519685" Left="0" Top="132.28355" Width="718.1107" Child="chdCustomerInstruction" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo30" Left="0" Top="0" Width="117.16543" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Order No:"/>
<TfrxMemoView Name="Memo31" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."CustomerOrderNo"]"/>
</TfrxChild>
<TfrxChild Name="chdCustomerInstruction" Height="16.2519685" Left="0" Top="170.07885" Width="718.1107" Child="chdFaultDetails" PrintChildIfInvisible="True" Stretched="True">
<TfrxMemoView Name="Memo3" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."CustomerInstruction"]"/>
<TfrxMemoView Name="Memo4" Left="0" Top="0" Width="117.16543" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Customer Inst:"/>
</TfrxChild>
<TfrxChild Name="Child5" Height="16.2519685" Left="0" Top="245.66945" Width="718.1107" Child="Child6" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo5" Left="0" Top="0" Width="117.16543" Height="16.2519685" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Advice Note:"/>
<TfrxMemoView Name="Memo6" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" DataSetName="frxDBDataset1" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."AdviceNoteNo"]"/>
</TfrxChild>
<TfrxChild Name="Child6" Height="16.2519685" Left="0" Top="283.46475" Width="718.1107" Child="Child7" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo18" Left="0" Top="0" Width="117.16543" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Item Desc:"/>
<TfrxMemoView Name="Memo19" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."Description"]"/>
</TfrxChild>
<TfrxChild Name="Child7" Height="16.2519685" Left="0" Top="321.26005" Width="718.1107" Child="Child8" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo16" Left="0" Top="5.6843418860808E-14" Width="117.16543" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Manufacturer:"/>
<TfrxMemoView Name="Memo17" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."ManufacturerName"]"/>
</TfrxChild>
<TfrxChild Name="Child8" Height="16.2519685" Left="0" Top="359.05535" Width="718.1107" Child="Child9" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo20" Left="0" Top="5.6843418860808E-14" Width="117.16543" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Model Number:"/>
<TfrxMemoView Name="Memo21" Left="98.26778" Top="5.6843418860808E-14" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."ModelNumber"]"/>
</TfrxChild>
<TfrxChild Name="Child9" Height="16.2519685" Left="0" Top="396.85065" Width="718.1107" Child="Child10" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo22" Left="0" Top="5.6843418860808E-14" Width="83.14966" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Number Off:"/>
<TfrxMemoView Name="Memo23" Left="68.03154" Top="5.6843418860808E-14" Width="26.45671" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."NumberOff"]"/>
<TfrxMemoView Name="Memo24" Left="98.26778" Top="5.6843418860808E-14" Width="94.48825" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Engineer Report?"/>
<TfrxMemoView Name="Memo27" Left="192.75603" Top="0" Width="41.57483" Height="16.2519685" DataField="j.EngineerReportRequired" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="No,Yes" DisplayFormat.Kind="fkBoolean" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."j.EngineerReportRequired"]"/>
<TfrxMemoView Name="Memo25" Left="238.11039" Top="5.6843418860808E-14" Width="94.48825" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="QuoteRequired?"/>
<TfrxMemoView Name="Memo26" Left="328.81911" Top="0" Width="41.57483" Height="16.2519685" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="No,Yes" DisplayFormat.Kind="fkBoolean" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."j.QuoteRequired"]"/>
</TfrxChild>
<TfrxChild Name="Child10" Height="38.9291485" Left="0" Top="434.64595" Width="718.1107" PrintChildIfInvisible="True">
<TfrxMemoView Name="Memo28" Left="0" Top="0" Width="83.14966" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="Group:"/>
<TfrxMemoView Name="Memo29" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="1" ParentFont="False" Style="Normal Bold" Text="[ds."GroupName"]"/>
</TfrxChild>
<TfrxChild Name="chdFaultDetails" Height="16.2519685" Left="0" Top="207.87415" Width="718.1107" Child="Child5" PrintChildIfInvisible="True" Stretched="True">
<TfrxMemoView Name="Memo32" Left="98.26778" Top="0" Width="355.27582" Height="16.2519685" StretchMode="smActualHeight" DataSetName="frxDBDataset1" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="[ds."FaultDetails"]"/>
<TfrxMemoView Name="Memo34" Left="0" Top="0" Width="117.16543" Height="16.2519685" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Times New Roman" Font.Style="0" ParentFont="False" Style="Normal" Text="Fault Details:"/>
</TfrxChild>
</TfrxReportPage>
</TfrxReport>
TestL
=====================================
Lektronix CZ, s.r.o. : Cenová nabídka
=====================================
Kontaktní osoba: {Title} {FirstName} {Surname}
Spoleènost: {CustomerName}
Datum cenové nabídky: {strToday}
Èíslo Vaší zakázky: {JobID}
Množství: {NumberOff}
Položka k opravì: {ManufacturerName} {ModelNumber} ({Description})
Sériové èíslo: {SerialNo}
{quote_lines}
Cena dopravy: {quoted_delivery} {QuoteCurrencyCode}
Termín dodání: {DeliveryDays} dní
Ceny jsou uvedeny bez DPH. Záruka je 12 mìsícù.
Platnost nabídky je 14 dní.
Máte-li další dotazy, kontaktujte nás co nejdøíve na telefonním èísle 544 528 660.
Uvìdomte nás laskavì o dalším postupu, pro který jste se rozhodli, a to buï telefonicky na èísle 544 528 660, nebo vybráním jedné z níže uvedených možností a zasláním na faxové èíslo 544 501 132.
[ ] Objednaváme. Èíslo objednávky: _______
[ ] Žádáme o vrácení bez opravy.
[ ] Žádáme o likvidaci.
S pozdravem a pøáním pøíjemného dne
{strUserName}
��Ml,G�8�n�R�� Quotation SELECT
j.JobID, j.BranchID, j.CustomerID, j.EquipmentID, j.DeliveryDays, j.DateTimeOfEntry, j.ContactID, j.JobTypeID,
j.NumberOff, j.SellPrice, j.QuotedPrice, j.QuotedDelivery, j.CustomerOrderNo, j.AdviceNoteNo, j.FaultDetails, j.CustomerInstruction, j.SerialNo, j.DiscountRate, j.QuoteCurrencyCode, j.QuoteCurrencyRate,
e.Description, m.ManufacturerName, e.ModelNumber,
c.CustomerName, c.LanguageID, c.DeliveryFax, cc.Title, cc.FirstName, cc.Surname, cc.Fax, cr.CurrencySymbol,
br.CompanyName, br.Address1, br.Address2, br.Address3, br.Address4, br.Address5, br.Postcode,
br.Tel AS BranchTel, br.Fax AS BranchFax, br.SalesEmail AS BranchSalesEmail
FROM jobs j
INNER JOIN customers c ON c.CustomerID = j.CustomerID
INNER JOIN customer_contacts cc ON cc.ContactID = j.ContactID
INNER JOIN equipment e ON e.EquipmentID = j.EquipmentID
LEFT JOIN manufacturers m ON m.ManufacturerID = e.ManufacturerID
LEFT JOIN currencies cr ON cr.CurrencyCode = j.QuoteCurrencyCode
LEFT JOIN branches br ON br.BranchID = j.BranchID
WHERE JobID = "[JOBID]"V SELECT
j.JobID, j.BranchID, j.CustomerID, j.EquipmentID, j.DeliveryDays, j.DateTimeOfEntry, j.ContactID, j.JobTypeID,
q.NumberOff, q.SellPrice, q.QuotedPrice, q.QuotedDelivery, q.CustomerOrderNo, q.AdviceNoteNo, q.FaultDetails, q.CustomerInstruction, q.SerialNo, q.DiscountRate, q.QuoteCurrencyCode, q.QuoteCurrencyRate,
e.Description, m.ManufacturerName, e.ModelNumber,
c.CustomerName, c.LanguageID, c.DeliveryFax, cc.Title, cc.FirstName, cc.Surname, cc.Fax, cr.CurrencySymbol,
br.CompanyName, br.Address1, br.Address2, br.Address3, br.Address4, br.Address5, br.Postcode,
br.Tel AS BranchTel, br.Fax AS BranchFax, br.SalesEmail AS BranchSalesEmail
FROM job_quote_log q
INNER JOIN jobs j ON j.JobID = q.JobID
INNER JOIN customers c ON c.CustomerID = j.CustomerID
INNER JOIN customer_contacts cc ON cc.ContactID = j.ContactID
INNER JOIN equipment e ON e.EquipmentID = j.EquipmentID
LEFT JOIN manufacturers m ON m.ManufacturerID = e.ManufacturerID
LEFT JOIN currencies cr ON cr.CurrencyCode = q.QuoteCurrencyCode
LEFT JOIN branches br ON br.BranchID = j.BranchID
WHERE QuoteLogID = "[QUOTELOGID]"b <?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.10.1" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="1465" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39035.7740109375" ReportOptions.Description.Text="" ReportOptions.LastChange="41507.6123501273" ScriptLanguage="PascalScript" ScriptText.Text="procedure Page1OnBeforePrint(Sender: TfrxComponent); begin if <tknQUOTETYPE> = 'Order Number Request' then begin mmMessageQuotation.Visible := False; mmMessageOrderNoRequest.Visible := True; chdReply.Visible := False; mmTitle.Text := UpperCase(<tknQUOTETYPE>); end else begin mmMessageQuotation.Visible := True; mmMessageOrderNoRequest.Visible := False; chdReply.Visible := True; { if <ds."JobTypeID"> = 2 then mmTitle.Text := 'Supply Quotation' else mmTitle.Text := 'Repair Quotation'; } mmTitle.Text := UpperCase(<tknQUOTETYPE>); end; // (SS,14/8/13) changed "<ds."DiscountRate"> < 0" to "<ds."DiscountRate"> <> 0" to show surcharge (positive discount), also added Abs to prevent negative for surcharge mmPriceEach.Text := <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * <ds."SellPrice">); mmDiscountAmount.Text := IIF(<ds."DiscountRate"> <> 0, <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * Abs((<ds."SellPrice"> - <ds."QuotedPrice">))) , ''); mmQuotedPrice.Text := IIF(<ds."DiscountRate"> <> 0, <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * <ds."QuotedPrice">), ''); mmDelivery.Text := <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * <ds."QuotedDelivery">); // pass values to email SetEmailVar('evPriceEach', mmPriceEach.Text); SetEmailVar('evDiscountAmount', mmDiscountAmount.Text); SetEmailVar('evQuotedPrice', mmQuotedPrice.Text); SetEmailVar('evDelivery', mmDelivery.Text); end; function GetFax: String; begin // if Fax from contact record is blank then use the one from customer record if Trim(<ds."Fax">) = '' then Result := <ds."DeliveryFax"> else Result := <ds."Fax">; end; begin end." PropData="044C656674022C03546F70021408446174617365747301010C1E00000020446174615365743D2264732220446174615365744E616D653D2264732200010C3C00000020446174615365743D226672784442446174617365745265706F72742220446174615365744E616D653D2264735265706F727453657474696E6773220000095661726961626C657301010C16000000204E616D653D22204A4D53207661726961626C65732200010C21000000204E616D653D227374725265706F72745469746C65222056616C75653D2227272200010C24000000204E616D653D227374725265706F72745375627469746C65222056616C75653D2227272200010C22000000204E616D653D22737472557365724E616D65222056616C75653D222744656D6F272200010C25000000204E616D653D227374724272616E6368507265666978222056616C75653D222744454D272200010C24000000204E616D653D227374724272616E63684E616D65222056616C75653D222744656D6F272200010C1E000000204E616D653D227374724D65737361676531222056616C75653D2227272200010C1E000000204E616D653D227374724D65737361676532222056616C75653D2227272200010C28000000204E616D653D22746B6E51554F544554595045222056616C75653D222751756F746174696F6E272200010C1F000000204E616D653D22746B6E4A4F424944222056616C75653D222731303030272200010C24000000204E616D653D22737472456D61696C5369676E6174757265222056616C75653D2227272200010C28000000204E616D653D22737472456D61696C5369676E617475726548544D4C222056616C75653D222727220000055374796C6501010C7D000000204E616D653D224E6F726D616C2220436F6C6F723D223533363837303931312220466F6E742E436861727365743D22302220466F6E742E436F6C6F723D222D31363737373230382220466F6E742E4865696768743D222D31392220466F6E742E4E616D653D2256657264616E612220466F6E742E5374796C653D2230220000">
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="15" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
<TfrxMasterData Name="MasterData1" Height="783.49605322" Left="0" Top="151.1812" Width="699.21305" Child="chdReply" ColumnWidth="0" ColumnGap="0" DataSet="ds" DataSetName="ds" RowCount="0">
<TfrxMemoView Name="Memo2" Left="0" Top="4.15747787000001" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="To:"/>
<TfrxMemoView Name="Memo3" Left="0" Top="27.9685015" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Company:"/>
<TfrxMemoView Name="Memo4" Left="0" Top="51.77952512" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Fax No:"/>
<TfrxMemoView Name="mmMessageQuotation" Left="11.33858268" Top="109.60626992" Width="676.53587" Height="79.37013" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="We would be grateful if you could advise at your earliest convenience how you would like to proceed. You can do this by phone on [ds."BranchTel"] or by selecting one of the options below and faxing us on [ds."BranchFax"]. You can also email your confirmation to [ds."BranchSalesEmail"]."/>
<TfrxShapeView Name="Shape1" Left="11.33859" Top="216.56691449" Width="676.53587" Height="185.19697" ShowHint="False"/>
<TfrxMemoView Name="Memo6" Left="18.8976378" Top="224.50392236" Width="188.9765" Height="18.89765" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="Important Information:"/>
<TfrxMemoView Name="Memo7" Left="18.89765" Top="248.69289874" Width="657.63822" Height="143.62214" ShowHint="False" DataField="CustomerInstruction" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="[ds."CustomerInstruction"]"/>
<TfrxMemoView Name="Memo8" Left="109.60637" Top="3.77952999999999" Width="278.55120551" Height="26.45671" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" WordWrap="False" Text="[Trim(<ds."Title"> + ' ' + Trim(<ds."FirstName"> + ' ' + <ds."Surname">))]"/>
<TfrxMemoView Name="Memo9" Left="109.60637" Top="27.9685015" Width="287.24428" Height="24.56692913" ShowHint="False" DataField="CustomerName" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" WordWrap="False" Text="[ds."CustomerName"]"/>
<TfrxMemoView Name="Memo10" Left="109.60637" Top="51.77952512" Width="249.44898" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="[GetFax]"/>
<TfrxMemoView Name="Memo11" Left="359.05512055" Top="4.15747787000001" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="From:"/>
<TfrxMemoView Name="Memo12" Left="359.05535" Top="27.9685015" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Date:"/>
<TfrxMemoView Name="Memo13" Left="359.05535" Top="51.77952512" Width="102.04724409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Your Ref:"/>
<TfrxMemoView Name="Memo14" Left="468.66172" Top="27.9685015" Width="230.55133" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." DisplayFormat.FormatStr="dd mmmm yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" WordWrap="False" Text="[Date]"/>
<TfrxMemoView Name="Memo15" Left="468.66172" Top="51.77952512" Width="230.55133" Height="24.56692913" ShowHint="False" DataField="AdviceNoteNo" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="[ds."AdviceNoteNo"]"/>
<TfrxMemoView Name="Memo16" Left="468.66172" Top="3.77952999999999" Width="230.55133" Height="24.56692913" ShowHint="False" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="[strUserName]"/>
<TfrxShapeView Name="Shape2" Left="11.33858268" Top="419.52783" Width="677.29135079" Height="336.37795276" ShowHint="False"/>
<TfrxLineView Name="Line1" Left="83.1496063" Top="419.52783" Width="0" Height="336.37817" ShowHint="False" Frame.Typ="1"/>
<TfrxLineView Name="Line2" Left="196.53543307" Top="419.52783" Width="0" Height="336.37817" ShowHint="False" Frame.Typ="1"/>
<TfrxLineView Name="Line3" Left="563.1496063" Top="419.52783" Width="0" Height="336.37817" ShowHint="False" Frame.Typ="1"/>
<TfrxLineView Name="Line4" Left="11.33858268" Top="483.77951291" Width="677.29133858" Height="0" ShowHint="False" Frame.Typ="4"/>
<TfrxMemoView Name="Memo17" Left="22.67718" Top="438.42548" Width="45.35429409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="QTY"/>
<TfrxMemoView Name="Memo18" Left="86.92919" Top="430.86642" Width="98.26771409" Height="43.46457913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="OUR JOB REF"/>
<TfrxMemoView Name="Memo19" Left="204.09462" Top="438.42548" Width="355.27575409" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="DESCRIPTION OF ITEM"/>
<TfrxMemoView Name="Memo20" Left="574.48856" Top="423.30707197" Width="98.26771409" Height="43.46457913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="PRICE EACH"/>
<TfrxMemoView Name="Memo21" Left="574.48856" Top="464.88187512" Width="102.04724409" Height="17.00786913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-11" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="(excluding VAT)"/>
<TfrxMemoView Name="Memo22" Left="18.89765" Top="498.89796" Width="49.13389" Height="26.45669291" ShowHint="False" DataField="NumberOff" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Style="Normal" Text="[ds."NumberOff"]"/>
<TfrxMemoView Name="Memo23" Left="90.70872" Top="498.89796" Width="94.48825" Height="26.45669291" ShowHint="False" DataField="JobID" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[ds."JobID"]"/>
<TfrxMemoView Name="Memo24" Left="204.09462" Top="498.89796" Width="143.62205213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Manufacturer:"/>
<TfrxMemoView Name="Memo25" Left="204.09462" Top="529.1342" Width="143.62205213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Part No:"/>
<TfrxMemoView Name="Memo26" Left="204.09462" Top="559.37044" Width="143.62205213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Description:"/>
<TfrxMemoView Name="Memo27" Left="204.09462" Top="608.50433" Width="143.62205213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Style="Normal" Text="Serial No(s):"/>
<TfrxMemoView Name="Memo28" Left="355.27582" Top="498.89796" Width="200.31509" Height="26.45671" ShowHint="False" DataField="ManufacturerName" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" WordWrap="False" Text="[ds."ManufacturerName"]"/>
<TfrxMemoView Name="Memo29" Left="355.27582" Top="529.1342" Width="200.31509" Height="22.67718" ShowHint="False" DataField="ModelNumber" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" WordWrap="False" Text="[ds."ModelNumber"]"/>
<TfrxMemoView Name="Memo30" Left="355.27582" Top="559.37044" Width="200.31509" Height="45.35436" ShowHint="False" DataField="Description" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="[ds."Description"]"/>
<TfrxMemoView Name="mmPriceEach" Left="566.9295" Top="498.89762315" Width="109.60637" Height="26.45669291" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Price Each"/>
<TfrxMemoView Name="Memo32" Left="355.27582" Top="608.50433" Width="200.31509" Height="64.2519685" ShowHint="False" DataField="SerialNo" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="[ds."SerialNo"]"/>
<TfrxMemoView Name="Memo33" Left="207.87415" Top="672.75634" Width="347.71667213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" Style="Normal" Text="[IIF(<ds."DiscountRate"> < 0, 'Less Discount at ' + FloatToStr(-<ds."DiscountRate">) + '%', IIF(<ds."DiscountRate"> > 0, 'Surcharge', ''))]"/>
<TfrxMemoView Name="mmDiscountAmount" Left="566.9295" Top="672.75634" Width="109.60637" Height="26.45669291" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Discount Amount"/>
<TfrxMemoView Name="Memo35" Left="207.87415" Top="699.21305" Width="347.71667213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" Style="Normal" Text="[IIF(<ds."DiscountRate"> <> 0, 'Net Price', '')]"/>
<TfrxMemoView Name="Memo36" Left="207.87415" Top="725.66976" Width="98.26769213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" Style="Normal" Text="Delivery:"/>
<TfrxMemoView Name="Memo37" Left="313.70099" Top="725.66976" Width="241.88983213" Height="24.56692913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" ParentFont="False" Style="Normal" Text="[IntToStr(<ds."DeliveryDays">) + ' days']"/>
<TfrxMemoView Name="mmQuotedPrice" Left="566.9295" Top="699.21305" Width="109.60637" Height="26.45669291" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Quoted Price"/>
<TfrxMemoView Name="mmDelivery" Left="566.9295" Top="725.66976" Width="109.60637" Height="26.45669291" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="Verdana" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Delivery"/>
<TfrxMemoView Name="Memo40" Left="11.33858268" Top="759.68502472" Width="676.53587" Height="16.2519685" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="[IIF(<ds."QuoteCurrencyCode"> <> 'GBP', 'The exchange rate is set at quote time and this is the exchange rate that will be used for invoicing.' , '')]"/>
<TfrxMemoView Name="mmMessageOrderNoRequest" Left="11.33859" Top="109.60637" Width="676.53587" Height="79.37013" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="0" ParentFont="False" Text="We have recently repaired and returned the item(s) listed below and would be grateful if you provide us with a Purchase Order Number to cover this work, as soon as possible. Please phone the number through to [ds."BranchTel"], fax it to [ds."BranchFax"] or alternatively you can also email your Purchase Order Number to [ds."BranchSalesEmail"]."/>
</TfrxMasterData>
<TfrxChild Name="chdReply" Height="156.0945785" Left="0" Top="956.22109" Width="699.21305">
<TfrxShapeView Name="Shape3" Left="11.33858268" Top="7.55906000000004" Width="23.81102362" Height="23.81102362" ShowHint="False"/>
<TfrxMemoView Name="Memo41" Left="49.13389" Top="11.33859" Width="313.70092409" Height="17.00786913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="Proceed with repair using order number:"/>
<TfrxMemoView Name="Memo46" Left="366.61441" Top="11.33859" Width="215.43321" Height="18.8976378" ShowHint="False" DataField="CustomerOrderNo" DataSet="ds" DataSetName="ds" Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" Frame.Typ="15" GapX="5" ParentFont="False" Text="[ds."CustomerOrderNo"]"/>
<TfrxMemoView Name="Memo47" Left="49.13389" Top="34.0152183499999" Width="638.74050409" Height="17.00786913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="['For nett price of ' + <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * <ds."QuotedPrice"> * <ds."NumberOff">) + ' + ' + <ds."CurrencySymbol"> + FormatFloat('#0.00', <ds."QuoteCurrencyRate"> * <ds."QuotedDelivery">) + ' p&p']"/>
<TfrxShapeView Name="Shape4" Left="11.33859" Top="68.0315399999999" Width="23.81102362" Height="23.81102362" ShowHint="False"/>
<TfrxMemoView Name="Memo42" Left="49.13389732" Top="71.81107" Width="287.24421409" Height="17.00786913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="Return the item un-repaired. Reason:"/>
<TfrxShapeView Name="Shape5" Left="11.33859" Top="120.94496" Width="23.81102362" Height="23.81102362" ShowHint="False"/>
<TfrxMemoView Name="Memo43" Left="49.13389732" Top="124.72449" Width="139.84254409" Height="17.00786913" ShowHint="False" DataSet="ds" DataSetName="ds" DisplayFormat.DecimalSeparator="." Font.Charset="0" Font.Color="-16777208" Font.Height="-13" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="Scrap the item"/>
<TfrxShapeView Name="Shape6" Left="343.93723" Top="71.81107" Width="340.1577" Height="18.89765" ShowHint="False"/>
</TfrxChild>
<TfrxPageFooter Name="PageFooter1" Height="16.2519685" Left="0" Top="1171.6543" Width="699.21305"/>
<TfrxPageHeader Name="PageHeader1" Height="71.81107" Left="0" Top="18.89765" Width="699.21305">
<TfrxPictureView Name="Picture1" Left="435.77997913" Top="10.96062748" Width="263.43307087" Height="48" ShowHint="False" DataField="Logo" DataSet="frxDBDatasetReport" DataSetName="dsReportSettings" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
<TfrxMemoView Name="mmTitle" Left="0" Top="15.11812" Width="423.30736" Height="37.7953" ShowHint="False" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-16777208" Font.Height="-27" Font.Name="Verdana" Font.Style="1" ParentFont="False" Text="Title"/>
</TfrxPageHeader>
</TfrxReportPage>
</TfrxReport>
Quotation for Job ID {JobID}� <html>Quotation for Job {JobID}
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<table>
<tr><td>To</td><td><b>{Title} {FirstName} {Surname}</b></td></tr>
<tr><td>Company</td><td><b>{CustomerName}</b></td></tr>
<tr><td>Date</td><td><b>{strToday}</b></td></tr>
<tr><td>Your Advice Ref</td><td><b>{AdviceNoteNo}</b></td></tr>
<tr><td>Qty</td><td><b>{NumberOff}</b></td></tr>
<tr><td>Our Job Ref</td><td><b>{JobID}</b></td></tr>
<!-- {JobID} = 109772 -->
<tr><td>Manufacturer</td><td><b>{ManufacturerName}</b></td></tr>
<tr><td>Model Number</td><td><b>{ModelNumber}</b></td></tr>
<!---->
<tr><td>Description</td><td><b>{Description}</b></td></tr>
<!-- {JobID} != 109772 -->
<tr><td>Serial No</td><td><b>{SerialNo}</b></td></tr>
<!---->
<tr><td>Delivery Days</td><td><b>{DeliveryDays}</b></td></tr>
</table>
<br/>
Please see attached quotation for further details.
<br/><br/>
{strEmailSignatureHTML}
</body>
</html>BranchID
LanguageID>