Arreglos varios Noviseda
git-svn-id: https://192.168.0.254/svn/Proyectos.Noviseda_FactuGES2/trunk@78 f33bb606-9f5c-448d-9c99-757f00063c96
This commit is contained in:
parent
a4dceec0f3
commit
09ccd6c2b9
BIN
Build/Build.fbl6
BIN
Build/Build.fbl6
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,57 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="40196,796385081" ScriptLanguage="PascalScript" ScriptText.Text="var Pagina: Variant; procedure Memo2OnBeforePrint(Sender: TfrxComponent); begin Memo2.Lines.Clear; if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then Memo2.Lines.Add('ORDEN DE DEVOLUCIÓN') else Memo2.Lines.Add('ALBARÁN DE CLIENTE') end; procedure Memo5OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo5.Lines.Clear; Memo5.Lines.Add('Nº orden:'); end; end; procedure Memo9OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo9.Lines.Clear; Memo9.Lines.Add('Fecha orden:'); end; end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403910003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C16000000204E616D653D222056697375616C697A6163696F6E2200010C13000000204E616D653D2253686F4C6F676F7469706F2200010C23000000204E616D653D22436F6E4F62736572766163696F6E6573496E636964656E63696173220000055374796C650100">
|
|
||||||
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
|
||||||
<TfrxReportPage Name="Page1" PaperWidth="215" PaperHeight="297" PaperSize="256" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
|
|
||||||
<TfrxMasterData Name="MasterData1" Height="24" Left="0" Top="373" Width="737,00835" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
|
||||||
<TfrxRichView Name="MemoCampo12" ShiftMode="smWhenOverlapped" Left="77,5" Top="0,5" Width="391,5436" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataField="CONCEPTO" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" GapX="2" GapY="3" Wysiwyg="False" PropData="0852696368456469740A6C0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6465666C616E67333038327B5C666F6E7474626C7B5C66305C666E696C205461686F6D613B7D7D0D0A5C766965776B696E64345C7563315C706172645C66305C667331365C7061720D0A7D0D0A00"/>
|
|
||||||
<TfrxMemoView Name="Memo14" Left="1" Top="0,5" Width="75" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."REFERENCIA"]"/>
|
|
||||||
<TfrxMemoView Name="MemoCampo2" Left="473" Top="0,5" Width="54,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."CANTIDAD"]"/>
|
|
||||||
<TfrxMemoView Name="Memo16" Left="535" Top="0,5" Width="95,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_UNIDAD"]"/>
|
|
||||||
<TfrxMemoView Name="Memo17" Left="634" Top="0,5" Width="99,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_TOTAL"]"/>
|
|
||||||
</TfrxMasterData>
|
|
||||||
<TfrxPageFooter Name="PageFooter1" Height="151,18110236" Left="0" Top="457" Width="737,00835">
|
|
||||||
<TfrxMemoView Name="Memo26" Align="baLeft" Left="0" Top="48,89765" Width="736,73253" Height="66,99227" OnBeforePrint="Memo26OnBeforePrint" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="15" ParentFont="False" VAlign="vaCenter" Text="Forma de pago: [frxDBCabecera."FORMA_PAGO"] Cuenta bancaria: [frxDBCabecera."DATOS_BANCARIOS"]"/>
|
|
||||||
<TfrxLineView Name="Line4" Align="baRight" Left="0,89811378" Top="2" Width="736,11023622" Height="0" ShowHint="False" Frame.Color="8421504" Frame.Typ="4"/>
|
|
||||||
<TfrxMemoView Name="Memo18" Left="0" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe neto"/>
|
|
||||||
<TfrxMemoView Name="Memo20" Left="0" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_NETO"]"/>
|
|
||||||
<TfrxMemoView Name="Memo24" Align="baLeft" Left="182" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. cliente"/>
|
|
||||||
<TfrxMemoView Name="Memo25" Align="baLeft" Left="182" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO"]"/>
|
|
||||||
<TfrxMemoView Name="Memo29" Align="baLeft" Left="110" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. cliente"/>
|
|
||||||
<TfrxMemoView Name="Memo30" Align="baLeft" Left="110" Top="25,67718" Width="72" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO"]"/>
|
|
||||||
<TfrxMemoView Name="Memo31" Align="baLeft" Left="359" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. pronto pago"/>
|
|
||||||
<TfrxMemoView Name="Memo32" Align="baLeft" Left="359" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO2"]"/>
|
|
||||||
<TfrxMemoView Name="Memo33" Align="baLeft" Left="287" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. pronto pago"/>
|
|
||||||
<TfrxMemoView Name="Memo34" Align="baLeft" Left="287" Top="25,67718" Width="72" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO2"]"/>
|
|
||||||
<TfrxMemoView Name="Memo35" Align="baRight" Left="632,00835" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe total"/>
|
|
||||||
<TfrxMemoView Name="Memo36" Align="baRight" Left="632,00835" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_TOTAL"]"/>
|
|
||||||
</TfrxPageFooter>
|
|
||||||
<TfrxPageHeader Name="PageHeader1" Height="296,96075685" Left="0" Top="16" Width="737,00835" OnBeforePrint="PageHeader1OnBeforePrint">
|
|
||||||
<TfrxMemoView Name="Memo15" Align="baLeft" Left="631,15748031" Top="270,01979" Width="105,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe total"/>
|
|
||||||
<TfrxMemoView Name="Memo12" Align="baLeft" Left="530,44094488" Top="270,01979" Width="100,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe unidad"/>
|
|
||||||
<TfrxMemoView Name="Memo23" Align="baLeft" Left="76,2" Top="270,01979" Width="392,7" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Concepto"/>
|
|
||||||
<TfrxMemoView Name="Memo8" Align="baLeft" Left="469" Top="270,01979" Width="60,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Cantidad"/>
|
|
||||||
<TfrxMemoView Name="Memo13" Left="0" Top="270,01979" Width="76,2" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Referencia"/>
|
|
||||||
<TfrxLineView Name="Line1" Left="736,5" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
<TfrxLineView Name="Line2" Left="0" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
<TfrxLineView Name="Line3" Left="76,2" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
<TfrxLineView Name="Line5" Left="530,44094488" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
<TfrxShapeView Name="Shape4" Left="353,68243666" Top="121,10760667" Width="384,05511811" Height="120,94488433" ShowHint="False" Color="-16777211" Curve="2" Frame.Color="13056"/>
|
|
||||||
<TfrxMemoView Name="Memo19" Left="358,56957333" Top="125,42517" Width="342,2047" Height="111,49612157" ShowHint="False" AllowHTMLTags="True" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Tahoma" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="<b>[frxDBCabecera."NOMBRE"]</b> [frxDBCabecera."CALLE"] [<frxDBCabecera."CODIGO_POSTAL">] [<frxDBCabecera."POBLACION">] [<frxDBCabecera."PROVINCIA">] A la atención de: [frxDBCabecera."PERSONA_CONTACTO"]"/>
|
|
||||||
<TfrxMemoView Name="Memo21" Left="0" Top="121,84261" Width="130,05504" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Nº Albarán"/>
|
|
||||||
<TfrxMemoView Name="Memo22" Left="0" Top="142,51979" Width="129,90538" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REFERENCIA"]"/>
|
|
||||||
<TfrxMemoView Name="Memo1" Left="60,5906" Top="224,09462" Width="62,46444" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[<Pagina>]/[<TotalPaginas>]"/>
|
|
||||||
<TfrxMemoView Name="Memo2" Left="1" Top="224,09462" Width="60,85807" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="Página nº:"/>
|
|
||||||
<TfrxMemoView Name="Memo28" Left="3,5906" Top="51" Width="183,46444" Height="33,78740157" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-24" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" ParentFont="False" Text="ALBARÃ<52>N"/>
|
|
||||||
<TfrxMemoView Name="Memo3" Left="130,44094" Top="121,84261" Width="130,05504" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Fecha Alb."/>
|
|
||||||
<TfrxMemoView Name="Memo4" Left="130,44094" Top="142,51979" Width="129,90538" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."FECHA_ALBARAN"]"/>
|
|
||||||
<TfrxMemoView Name="Memo5" Left="47,03154" Top="166,44094" Width="85,46444" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REF_CLIENTE"]"/>
|
|
||||||
<TfrxMemoView Name="Memo6" Left="0,44094" Top="166,44094" Width="45,85807" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="Cliente:"/>
|
|
||||||
<TfrxMemoView Name="Memo7" Left="166,03154" Top="166,44094" Width="93,46444" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."NIF_CIF"]"/>
|
|
||||||
<TfrxMemoView Name="Memo9" Left="132,44094" Top="166,44094" Width="32,85807" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="C.I.F:"/>
|
|
||||||
<TfrxMemoView Name="Memo10" Left="59,03154" Top="187,44094" Width="201,46444" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REF_CLIENTE"]"/>
|
|
||||||
<TfrxMemoView Name="Memo11" Left="0,44094" Top="187,44094" Width="57,85807" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="Vendedor:"/>
|
|
||||||
<TfrxLineView Name="Line6" Left="469" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
<TfrxLineView Name="Line7" Left="632" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
|
||||||
</TfrxPageHeader>
|
|
||||||
</TfrxReportPage>
|
|
||||||
</TfrxReport>
|
|
||||||
@ -1,41 +1,41 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="40196,796385081" ScriptLanguage="PascalScript" ScriptText.Text="var Pagina: Variant; procedure Memo2OnBeforePrint(Sender: TfrxComponent); begin Memo2.Lines.Clear; if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then Memo2.Lines.Add('ORDEN DE DEVOLUCIÓN') else Memo2.Lines.Add('ALBARÁN DE CLIENTE') end; procedure Memo5OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo5.Lines.Clear; Memo5.Lines.Add('Nº orden:'); end; end; procedure Memo9OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo9.Lines.Clear; Memo9.Lines.Add('Fecha orden:'); end; end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403910003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C16000000204E616D653D222056697375616C697A6163696F6E2200010C13000000204E616D653D2253686F4C6F676F7469706F2200010C23000000204E616D653D22436F6E4F62736572766163696F6E6573496E636964656E63696173220000055374796C650100">
|
<TfrxReport Version="4.8.11" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="40210,5481891782" ScriptLanguage="PascalScript" ScriptText.Text="var Pagina: Variant; procedure Memo2OnBeforePrint(Sender: TfrxComponent); begin Memo2.Lines.Clear; if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then Memo2.Lines.Add('ORDEN DE DEVOLUCIÓN') else Memo2.Lines.Add('ALBARÁN DE CLIENTE') end; procedure Memo5OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo5.Lines.Clear; Memo5.Lines.Add('Nº orden:'); end; end; procedure Memo9OnBeforePrint(Sender: TfrxComponent); begin if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then begin Memo9.Lines.Clear; Memo9.Lines.Add('Fecha orden:'); end; end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; procedure Memo30OnBeforePrint(Sender: TfrxComponent); begin if (<frxDBCabecera."DESCUENTO"> = 0) then begin Memo29.Visible := False; Memo30.Visible := False; Memo24.Visible := False; Memo25.Visible := False; end else begin Memo29.Visible := True; Memo30.Visible := True; Memo24.Visible := True; Memo25.Visible := True; end; end; procedure Memo34OnBeforePrint(Sender: TfrxComponent); begin if (<frxDBCabecera."DESCUENTO2"> = 0) then begin Memo33.Visible := False; Memo34.Visible := False; Memo31.Visible := False; Memo32.Visible := False; end else begin Memo33.Visible := True; Memo34.Visible := True; Memo31.Visible := True; Memo32.Visible := True; end; end; procedure Line3OnBeforePrint(Sender: TfrxComponent); begin if (<frxDBCabecera."DESCUENTO"> = 0) and (<frxDBCabecera."DESCUENTO2"> = 0) then begin Memo18.Visible := False; Memo20.Visible := False; end else begin Memo18.Visible := True; Memo20.Visible := True; end; end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403910003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C16000000204E616D653D222056697375616C697A6163696F6E2200010C13000000204E616D653D2253686F4C6F676F7469706F2200010C23000000204E616D653D22436F6E4F62736572766163696F6E6573496E636964656E63696173220000055374796C650100">
|
||||||
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
||||||
<TfrxReportPage Name="Page1" PaperWidth="215" PaperHeight="297" PaperSize="256" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
|
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10,00125" RightMargin="10,00125" TopMargin="10,00125" BottomMargin="10,00125" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
|
||||||
<TfrxMasterData Name="MasterData1" Height="24" Left="0" Top="373" Width="737,00835" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
<TfrxMasterData Name="MasterData1" Height="24" Left="0" Top="373" Width="718,101251175" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
||||||
<TfrxRichView Name="MemoCampo12" ShiftMode="smWhenOverlapped" Left="77,5" Top="0,5" Width="391,5436" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataField="CONCEPTO" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" GapX="2" GapY="3" Wysiwyg="False" PropData="0852696368456469740A6C0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6465666C616E67333038327B5C666F6E7474626C7B5C66305C666E696C205461686F6D613B7D7D0D0A5C766965776B696E64345C7563315C706172645C66305C667331365C7061720D0A7D0D0A00"/>
|
<TfrxRichView Name="MemoCampo12" ShiftMode="smWhenOverlapped" Left="77,5" Top="0,5" Width="370" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataField="CONCEPTO" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" GapX="2" GapY="3" Wysiwyg="False" PropData="0852696368456469740A910000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6465666C616E67333038327B5C666F6E7474626C7B5C66305C666E696C205461686F6D613B7D7D0D0A7B5C2A5C67656E657261746F72204D7366746564697420352E34312E31352E313531323B7D5C766965776B696E64345C7563315C706172645C66305C667331365C7061720D0A7D0D0A00"/>
|
||||||
<TfrxMemoView Name="Memo14" Left="1" Top="0,5" Width="75" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."REFERENCIA"]"/>
|
<TfrxMemoView Name="Memo14" Left="1" Top="0,5" Width="75" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."REFERENCIA"]"/>
|
||||||
<TfrxMemoView Name="MemoCampo2" Left="473" Top="0,5" Width="54,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."CANTIDAD"]"/>
|
<TfrxMemoView Name="MemoCampo2" Left="453" Top="0,5" Width="54,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="#0 " DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."CANTIDAD"]"/>
|
||||||
<TfrxMemoView Name="Memo16" Left="535" Top="0,5" Width="95,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_UNIDAD"]"/>
|
<TfrxMemoView Name="Memo16" Left="512" Top="0,5" Width="95,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_UNIDAD"]"/>
|
||||||
<TfrxMemoView Name="Memo17" Left="634" Top="0,5" Width="99,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_TOTAL"]"/>
|
<TfrxMemoView Name="Memo17" Left="614" Top="0,5" Width="99,03148874" Height="18" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBDetalles."IMPORTE_TOTAL"]"/>
|
||||||
</TfrxMasterData>
|
</TfrxMasterData>
|
||||||
<TfrxPageFooter Name="PageFooter1" Height="151,18110236" Left="0" Top="457" Width="737,00835">
|
<TfrxPageFooter Name="PageFooter1" Height="151,18110236" Left="0" Top="457" Width="718,101251175">
|
||||||
<TfrxMemoView Name="Memo26" Align="baLeft" Left="0" Top="48,89765" Width="736,73253" Height="66,99227" OnBeforePrint="Memo26OnBeforePrint" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="15" ParentFont="False" VAlign="vaCenter" Text="Forma de pago: [frxDBCabecera."FORMA_PAGO"] Cuenta bancaria: [frxDBCabecera."DATOS_BANCARIOS"]"/>
|
<TfrxMemoView Name="Memo26" Align="baLeft" Left="0" Top="48,89765" Width="716,73" Height="66,99227" OnBeforePrint="Memo26OnBeforePrint" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="15" ParentFont="False" VAlign="vaCenter" Text="Forma de pago: [frxDBCabecera."FORMA_PAGO"] Cuenta bancaria: [frxDBCabecera."DATOS_BANCARIOS"]"/>
|
||||||
<TfrxLineView Name="Line4" Align="baRight" Left="0,89811378" Top="2" Width="736,11023622" Height="0" ShowHint="False" Frame.Color="8421504" Frame.Typ="4"/>
|
<TfrxLineView Name="Line4" Align="baRight" Left="1,101251175" Top="2" Width="717" Height="0" ShowHint="False" Frame.Color="8421504" Frame.Typ="4"/>
|
||||||
<TfrxMemoView Name="Memo18" Left="0" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe neto"/>
|
<TfrxMemoView Name="Memo18" Left="0" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe neto"/>
|
||||||
<TfrxMemoView Name="Memo20" Left="0" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_NETO"]"/>
|
<TfrxMemoView Name="Memo20" Left="0" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_NETO"]"/>
|
||||||
<TfrxMemoView Name="Memo24" Align="baLeft" Left="182" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. cliente"/>
|
<TfrxMemoView Name="Memo24" Align="baLeft" Left="182" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. cliente"/>
|
||||||
<TfrxMemoView Name="Memo25" Align="baLeft" Left="182" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO"]"/>
|
<TfrxMemoView Name="Memo25" Align="baLeft" Left="182" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO"]"/>
|
||||||
<TfrxMemoView Name="Memo29" Align="baLeft" Left="110" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. cliente"/>
|
<TfrxMemoView Name="Memo29" Align="baLeft" Left="110" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. cliente"/>
|
||||||
<TfrxMemoView Name="Memo30" Align="baLeft" Left="110" Top="25,67718" Width="72" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO"]"/>
|
<TfrxMemoView Name="Memo30" Align="baLeft" Left="110" Top="25,67718" Width="72" Height="17,00787157" OnBeforePrint="Memo30OnBeforePrint" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO"]"/>
|
||||||
<TfrxMemoView Name="Memo31" Align="baLeft" Left="359" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. pronto pago"/>
|
<TfrxMemoView Name="Memo31" Align="baLeft" Left="359" Top="5" Width="110" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Imp. Dto. pronto pago"/>
|
||||||
<TfrxMemoView Name="Memo32" Align="baLeft" Left="359" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO2"]"/>
|
<TfrxMemoView Name="Memo32" Align="baLeft" Left="359" Top="25,67718" Width="110" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_DESCUENTO2"]"/>
|
||||||
<TfrxMemoView Name="Memo33" Align="baLeft" Left="287" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. pronto pago"/>
|
<TfrxMemoView Name="Memo33" Align="baLeft" Left="287" Top="5" Width="72" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Dto. pronto pago"/>
|
||||||
<TfrxMemoView Name="Memo34" Align="baLeft" Left="287" Top="25,67718" Width="72" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO2"]"/>
|
<TfrxMemoView Name="Memo34" Align="baLeft" Left="287" Top="25,67718" Width="72" Height="17,00787157" OnBeforePrint="Memo34OnBeforePrint" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2f%%" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."DESCUENTO2"]"/>
|
||||||
<TfrxMemoView Name="Memo35" Align="baRight" Left="632,00835" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe total"/>
|
<TfrxMemoView Name="Memo35" Left="610,10046379" Top="5" Width="105" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Importe total"/>
|
||||||
<TfrxMemoView Name="Memo36" Align="baRight" Left="632,00835" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_TOTAL"]"/>
|
<TfrxMemoView Name="Memo36" Left="610,10046379" Top="25,67718" Width="105" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."IMPORTE_TOTAL"]"/>
|
||||||
</TfrxPageFooter>
|
</TfrxPageFooter>
|
||||||
<TfrxPageHeader Name="PageHeader1" Height="296,96075685" Left="0" Top="16" Width="737,00835" OnBeforePrint="PageHeader1OnBeforePrint">
|
<TfrxPageHeader Name="PageHeader1" Height="296,96075685" Left="0" Top="16" Width="718,101251175" OnBeforePrint="PageHeader1OnBeforePrint">
|
||||||
<TfrxMemoView Name="Memo15" Align="baLeft" Left="631,15748031" Top="270,01979" Width="105,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe total"/>
|
<TfrxMemoView Name="Memo15" Align="baLeft" Left="610,33307086" Top="270,01979" Width="105,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe total"/>
|
||||||
<TfrxMemoView Name="Memo12" Align="baLeft" Left="530,44094488" Top="270,01979" Width="100,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe unidad"/>
|
<TfrxMemoView Name="Memo12" Align="baLeft" Left="509,61653543" Top="270,01979" Width="100,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Importe unidad"/>
|
||||||
<TfrxMemoView Name="Memo23" Align="baLeft" Left="76,2" Top="270,01979" Width="392,7" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Concepto"/>
|
<TfrxMemoView Name="Memo23" Align="baLeft" Left="76,2" Top="270,01979" Width="372,7" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Concepto"/>
|
||||||
<TfrxMemoView Name="Memo8" Align="baLeft" Left="469" Top="270,01979" Width="60,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Cantidad"/>
|
<TfrxMemoView Name="Memo8" Align="baLeft" Left="448,9" Top="270,01979" Width="60,71653543" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Cantidad"/>
|
||||||
<TfrxMemoView Name="Memo13" Left="0" Top="270,01979" Width="76,2" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Referencia"/>
|
<TfrxMemoView Name="Memo13" Left="0" Top="270,01979" Width="76,2" Height="26,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Referencia"/>
|
||||||
<TfrxLineView Name="Line1" Left="736,5" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line1" Align="baLeft" Left="716,04960629" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
<TfrxLineView Name="Line2" Left="0" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line2" Left="0" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
<TfrxLineView Name="Line3" Left="76,2" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line3" Left="76,2" Top="269,50406638" Width="0" Height="628" OnBeforePrint="Line3OnBeforePrint" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
<TfrxLineView Name="Line5" Left="530,44094488" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line5" Align="baLeft" Left="509,61653543" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
<TfrxShapeView Name="Shape4" Left="353,68243666" Top="121,10760667" Width="384,05511811" Height="120,94488433" ShowHint="False" Color="-16777211" Curve="2" Frame.Color="13056"/>
|
<TfrxShapeView Name="Shape4" Left="353,68243666" Top="121,10760667" Width="362" Height="120,94488433" ShowHint="False" Color="-16777211" Curve="2" Frame.Color="13056"/>
|
||||||
<TfrxMemoView Name="Memo19" Left="358,56957333" Top="125,42517" Width="342,2047" Height="111,49612157" ShowHint="False" AllowHTMLTags="True" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Tahoma" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="<b>[frxDBCabecera."NOMBRE"]</b> [frxDBCabecera."CALLE"] [<frxDBCabecera."CODIGO_POSTAL">] [<frxDBCabecera."POBLACION">] [<frxDBCabecera."PROVINCIA">] A la atención de: [frxDBCabecera."PERSONA_CONTACTO"]"/>
|
<TfrxMemoView Name="Memo19" Left="358,56957333" Top="125,42517" Width="342,2047" Height="111,49612157" ShowHint="False" AllowHTMLTags="True" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Tahoma" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="<b>[frxDBCabecera."NOMBRE"]</b> [frxDBCabecera."CALLE"] [<frxDBCabecera."CODIGO_POSTAL">] [<frxDBCabecera."POBLACION">] [<frxDBCabecera."PROVINCIA">] A la atención de: [frxDBCabecera."PERSONA_CONTACTO"]"/>
|
||||||
<TfrxMemoView Name="Memo21" Left="0" Top="121,84261" Width="130,05504" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Nº Albarán"/>
|
<TfrxMemoView Name="Memo21" Left="0" Top="121,84261" Width="130,05504" Height="20" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Nº Albarán"/>
|
||||||
<TfrxMemoView Name="Memo22" Left="0" Top="142,51979" Width="129,90538" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REFERENCIA"]"/>
|
<TfrxMemoView Name="Memo22" Left="0" Top="142,51979" Width="129,90538" Height="17,00787157" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Color="13056" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REFERENCIA"]"/>
|
||||||
@ -50,8 +50,8 @@
|
|||||||
<TfrxMemoView Name="Memo9" Left="132,44094" Top="166,44094" Width="32,85807" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="C.I.F:"/>
|
<TfrxMemoView Name="Memo9" Left="132,44094" Top="166,44094" Width="32,85807" Height="17,00787402" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="C.I.F:"/>
|
||||||
<TfrxMemoView Name="Memo10" Left="59,03154" Top="187,44094" Width="201,46444" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REF_CLIENTE"]"/>
|
<TfrxMemoView Name="Memo10" Left="59,03154" Top="187,44094" Width="201,46444" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="[frxDBCabecera."REF_CLIENTE"]"/>
|
||||||
<TfrxMemoView Name="Memo11" Left="0,44094" Top="187,44094" Width="57,85807" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="Vendedor:"/>
|
<TfrxMemoView Name="Memo11" Left="0,44094" Top="187,44094" Width="57,85807" Height="17,00787402" Visible="False" ShowHint="False" DataSet="frxDBCabecera" DataSetName="frxDBCabecera" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Color="13056" ParentFont="False" VAlign="vaCenter" Text="Vendedor:"/>
|
||||||
<TfrxLineView Name="Line6" Left="469" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line6" Align="baLeft" Left="448,9" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
<TfrxLineView Name="Line7" Left="632" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
<TfrxLineView Name="Line7" Align="baLeft" Left="610,33307086" Top="269,50406638" Width="0" Height="628" ShowHint="False" Frame.Color="8421504" Frame.Typ="1"/>
|
||||||
</TfrxPageHeader>
|
</TfrxPageHeader>
|
||||||
</TfrxReportPage>
|
</TfrxReportPage>
|
||||||
</TfrxReport>
|
</TfrxReport>
|
||||||
@ -102,7 +102,7 @@ begin
|
|||||||
if not Self.DataTable.Editing then
|
if not Self.DataTable.Editing then
|
||||||
Edit;
|
Edit;
|
||||||
IMPORTE_DESCUENTO := IMPORTE_NETO * (DESCUENTO/100);
|
IMPORTE_DESCUENTO := IMPORTE_NETO * (DESCUENTO/100);
|
||||||
IMPORTE_DESCUENTO2 := IMPORTE_NETO * (DESCUENTO2/100);
|
IMPORTE_DESCUENTO2 := (IMPORTE_NETO - IMPORTE_DESCUENTO) * (DESCUENTO2/100);
|
||||||
BASE_IMPONIBLE := IMPORTE_NETO - IMPORTE_DESCUENTO - IMPORTE_DESCUENTO2 + IMPORTE_PORTE;
|
BASE_IMPONIBLE := IMPORTE_NETO - IMPORTE_DESCUENTO - IMPORTE_DESCUENTO2 + IMPORTE_PORTE;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -159,7 +159,7 @@ begin
|
|||||||
tbl_Cabecera.Active := True;
|
tbl_Cabecera.Active := True;
|
||||||
tbl_Detalles.Active := True;
|
tbl_Detalles.Active := True;
|
||||||
|
|
||||||
AInforme := DarRutaFichero(DarRutaInformes, rptInforme, tbl_Cabecera.FieldByName('ID_EMPRESA').AsString);
|
AInforme := DarRutaFichero(DarRutaInformes, rptInforme); //, tbl_Cabecera.FieldByName('ID_EMPRESA').AsString); Albaranes comunes a todas las empresas
|
||||||
if VarIsNull(AInforme) then
|
if VarIsNull(AInforme) then
|
||||||
raise Exception.Create (('Error Servidor: _GenerarFactura, no encuentra informe ' + rptInforme));
|
raise Exception.Create (('Error Servidor: _GenerarFactura, no encuentra informe ' + rptInforme));
|
||||||
|
|
||||||
|
|||||||
@ -42,8 +42,8 @@ type
|
|||||||
function Duplicar(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
function Duplicar(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
||||||
function GenerarAbono(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
function GenerarAbono(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
||||||
|
|
||||||
procedure Preview(AFactura : IBizFacturaCliente; AllItems: Boolean = false; const Marca: Integer = 0);
|
procedure Preview(AFactura : IBizFacturaCliente; const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
procedure Print(AFactura : IBizFacturaCliente; AllItems: Boolean = false; const Marca: Integer = 0);
|
procedure Print(AFactura : IBizFacturaCliente; const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
|
|
||||||
procedure RecalcularImportes(AFactura: IBizFacturaCliente);
|
procedure RecalcularImportes(AFactura: IBizFacturaCliente);
|
||||||
function EsModificable(AFactura: IBizFacturaCliente): Boolean;
|
function EsModificable(AFactura: IBizFacturaCliente): Boolean;
|
||||||
@ -108,8 +108,8 @@ type
|
|||||||
function GenerarAbono(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
function GenerarAbono(AFactura: IBizFacturaCliente): IBizFacturaCliente;
|
||||||
procedure RecuperarCliente(AFactura : IBizFacturaCliente);
|
procedure RecuperarCliente(AFactura : IBizFacturaCliente);
|
||||||
|
|
||||||
procedure Preview(AFactura : IBizFacturaCliente; AllItems: Boolean = false; const Marca: Integer = 0);
|
procedure Preview(AFactura : IBizFacturaCliente; const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
procedure Print(AFactura : IBizFacturaCliente; AllItems: Boolean = false; const Marca: Integer = 0);
|
procedure Print(AFactura : IBizFacturaCliente; const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
|
|
||||||
procedure RecalcularImportes(AFactura: IBizFacturaCliente);
|
procedure RecalcularImportes(AFactura: IBizFacturaCliente);
|
||||||
function EsModificable(AFactura: IBizFacturaCliente): Boolean;
|
function EsModificable(AFactura: IBizFacturaCliente): Boolean;
|
||||||
@ -1040,7 +1040,7 @@ begin
|
|||||||
Result := AFactura;
|
Result := AFactura;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFacturasClienteController.Preview(AFactura: IBizFacturaCliente; AllItems: Boolean = false; const Marca: Integer = 0);
|
procedure TFacturasClienteController.Preview(AFactura: IBizFacturaCliente; const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
var
|
var
|
||||||
AReportController : IFacturasClienteReportController;
|
AReportController : IFacturasClienteReportController;
|
||||||
ID_Facturas: TIntegerList;
|
ID_Facturas: TIntegerList;
|
||||||
@ -1067,7 +1067,7 @@ begin
|
|||||||
else
|
else
|
||||||
ID_Facturas.Add(AFactura.ID);
|
ID_Facturas.Add(AFactura.ID);
|
||||||
|
|
||||||
AReportController.Preview(ID_Facturas, Marca);
|
AReportController.Preview(ID_Facturas, AOriginal, ACopia, AContabilidad);
|
||||||
|
|
||||||
finally
|
finally
|
||||||
AReportController := NIL;
|
AReportController := NIL;
|
||||||
@ -1075,7 +1075,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFacturasClienteController.Print(AFactura: IBizFacturaCliente; AllItems: Boolean = false; Const Marca: Integer = 0);
|
procedure TFacturasClienteController.Print(AFactura: IBizFacturaCliente; Const AOriginal, ACopia, AContabilidad: Integer; AllItems: Boolean = false);
|
||||||
var
|
var
|
||||||
AReportController : IFacturasClienteReportController;
|
AReportController : IFacturasClienteReportController;
|
||||||
ID_Facturas: TIntegerList;
|
ID_Facturas: TIntegerList;
|
||||||
@ -1102,7 +1102,7 @@ begin
|
|||||||
else
|
else
|
||||||
ID_Facturas.Add(AFactura.ID);
|
ID_Facturas.Add(AFactura.ID);
|
||||||
|
|
||||||
AReportController.Print(ID_Facturas, Marca);
|
AReportController.Print(ID_Facturas, AOriginal, ACopia, AContabilidad);
|
||||||
|
|
||||||
finally
|
finally
|
||||||
AReportController := NIL;
|
AReportController := NIL;
|
||||||
|
|||||||
@ -10,8 +10,8 @@ uses
|
|||||||
type
|
type
|
||||||
IFacturasClienteReportController = interface(IControllerBase)
|
IFacturasClienteReportController = interface(IControllerBase)
|
||||||
['{A0F41767-4FF6-4BAE-9FC9-894DD721D756}']
|
['{A0F41767-4FF6-4BAE-9FC9-894DD721D756}']
|
||||||
procedure Preview(const AListaID : TIntegerList; const Marca: Integer);
|
procedure Preview(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
procedure Print(const AListaID : TIntegerList; const Marca: Integer);
|
procedure Print(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TFacturasClienteReportController = class(TControllerBase, IFacturasClienteReportController)
|
TFacturasClienteReportController = class(TControllerBase, IFacturasClienteReportController)
|
||||||
@ -22,8 +22,8 @@ type
|
|||||||
constructor Create; override;
|
constructor Create; override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
|
||||||
procedure Preview(const AListaID : TIntegerList; const Marca: Integer);
|
procedure Preview(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
procedure Print(const AListaID : TIntegerList; const Marca: Integer);
|
procedure Print(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ begin
|
|||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFacturasClienteReportController.Preview(const AListaID : TIntegerList; const Marca: Integer);
|
procedure TFacturasClienteReportController.Preview(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
var
|
var
|
||||||
AStream: Binary;
|
AStream: Binary;
|
||||||
AEditor : IEditorFacturasClientePreview;
|
AEditor : IEditorFacturasClientePreview;
|
||||||
@ -64,7 +64,7 @@ begin
|
|||||||
|
|
||||||
ShowHourglassCursor;
|
ShowHourglassCursor;
|
||||||
try
|
try
|
||||||
AStream := FDataModule.GetRptFacturas(AListaID, Marca);
|
AStream := FDataModule.GetRptFacturas(AListaID, AOriginal, ACopia, AContabilidad);
|
||||||
try
|
try
|
||||||
CreateEditor('EditorFacturasClientePreview', IEditorFacturasClientePreview, AEditor);
|
CreateEditor('EditorFacturasClientePreview', IEditorFacturasClientePreview, AEditor);
|
||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
@ -85,7 +85,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFacturasClienteReportController.Print(const AListaID : TIntegerList; const Marca: Integer);
|
procedure TFacturasClienteReportController.Print(const AListaID : TIntegerList; const AOriginal, ACopia, AContabilidad: Integer);
|
||||||
var
|
var
|
||||||
AStream: Binary;
|
AStream: Binary;
|
||||||
AEditor : IEditorFacturasClientePreview;
|
AEditor : IEditorFacturasClientePreview;
|
||||||
@ -94,7 +94,7 @@ begin
|
|||||||
|
|
||||||
ShowHourglassCursor;
|
ShowHourglassCursor;
|
||||||
try
|
try
|
||||||
AStream := FDataModule.GetRptFacturas(AListaID, Marca);
|
AStream := FDataModule.GetRptFacturas(AListaID, AOriginal, ACopia, AContabilidad);
|
||||||
try
|
try
|
||||||
CreateEditor('EditorFacturasClientePreview', IEditorFacturasClientePreview, AEditor);
|
CreateEditor('EditorFacturasClientePreview', IEditorFacturasClientePreview, AEditor);
|
||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
|
|||||||
@ -33,7 +33,7 @@ type
|
|||||||
function NewItem : IBizFacturaCliente;
|
function NewItem : IBizFacturaCliente;
|
||||||
|
|
||||||
// Report
|
// Report
|
||||||
function GetRptFacturas(const AListaID: TIntegerList; const Marca: Integer): Binary;
|
function GetRptFacturas(const AListaID: TIntegerList; const AOriginal, ACopia, AContabilidad: Integer): Binary;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -52,13 +52,13 @@ begin
|
|||||||
RORemoteService.Message := dmConexion.Message;
|
RORemoteService.Message := dmConexion.Message;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TDataModuleFacturasCliente.GetRptFacturas(const AListaID: TIntegerList; const Marca: Integer): Binary;
|
function TDataModuleFacturasCliente.GetRptFacturas(const AListaID: TIntegerList; const AOriginal, ACopia, AContabilidad: Integer): Binary;
|
||||||
var
|
var
|
||||||
AParam : TIntegerArray;
|
AParam : TIntegerArray;
|
||||||
begin
|
begin
|
||||||
AParam := AListaID.ToIntegerArray;
|
AParam := AListaID.ToIntegerArray;
|
||||||
try
|
try
|
||||||
Result := (RORemoteService as IsrvFacturasCliente).GenerarInforme(AParam, Marca);
|
Result := (RORemoteService as IsrvFacturasCliente).GenerarInforme(AParam, AOriginal, ACopia, AContabilidad);
|
||||||
finally
|
finally
|
||||||
// FreeANDNIL(AParam);
|
// FreeANDNIL(AParam);
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -8,7 +8,7 @@ uses
|
|||||||
type
|
type
|
||||||
IDataModuleFacturasClienteReport = interface
|
IDataModuleFacturasClienteReport = interface
|
||||||
['{D241A912-78C6-4C65-AEBF-8DDEFE35F511}']
|
['{D241A912-78C6-4C65-AEBF-8DDEFE35F511}']
|
||||||
function GetRptFacturas(const AListaID: TIntegerList; const Marca: Integer): Binary;
|
function GetRptFacturas(const AListaID: TIntegerList; const AOriginal, ACopia, AContabilidad: Integer): Binary;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|||||||
@ -137,7 +137,7 @@ begin
|
|||||||
if not Self.DataTable.Editing then
|
if not Self.DataTable.Editing then
|
||||||
Edit;
|
Edit;
|
||||||
IMPORTE_DESCUENTO := IMPORTE_NETO * (DESCUENTO/100);
|
IMPORTE_DESCUENTO := IMPORTE_NETO * (DESCUENTO/100);
|
||||||
IMPORTE_DESCUENTO2 := IMPORTE_NETO * (DESCUENTO2/100);
|
IMPORTE_DESCUENTO2 := (IMPORTE_NETO - IMPORTE_DESCUENTO) * (DESCUENTO2/100);
|
||||||
BASE_IMPONIBLE := IMPORTE_NETO - IMPORTE_DESCUENTO - IMPORTE_DESCUENTO2 + IMPORTE_PORTE;
|
BASE_IMPONIBLE := IMPORTE_NETO - IMPORTE_DESCUENTO - IMPORTE_DESCUENTO2 + IMPORTE_PORTE;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -30,20 +30,21 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
'e.importe_re, v_facturas_cliente.importe_total,'#10' v_facturas_cl' +
|
'e.importe_re, v_facturas_cliente.importe_total,'#10' v_facturas_cl' +
|
||||||
'iente.observaciones, v_facturas_cliente.nif_cif,'#10' contactos.RE' +
|
'iente.observaciones, v_facturas_cliente.nif_cif,'#10' contactos.RE' +
|
||||||
'FERENCIA as REF_CLIENTE,'#10' contactos.PERSONA_CONTACTO,'#10' conta' +
|
'FERENCIA as REF_CLIENTE,'#10' contactos.PERSONA_CONTACTO,'#10' conta' +
|
||||||
'ctos2.nombre as nombre_vendedor,'#10' v_facturas_cliente.id_client' +
|
'ctos2.REFERENCIA as REF_VENDEDOR,'#10' contactos2.nombre as nombre' +
|
||||||
'e, v_facturas_cliente.nombre,'#10' v_facturas_cliente.calle, v_fac' +
|
'_vendedor,'#10' v_facturas_cliente.id_cliente, v_facturas_cliente.' +
|
||||||
'turas_cliente.provincia,'#10' v_facturas_cliente.poblacion, v_fact' +
|
'nombre,'#10' v_facturas_cliente.calle, v_facturas_cliente.provinci' +
|
||||||
'uras_cliente.codigo_postal,'#10' v_facturas_cliente.recargo_equiva' +
|
'a,'#10' v_facturas_cliente.poblacion, v_facturas_cliente.codigo_po' +
|
||||||
'lencia, v_facturas_cliente.importe_neto,'#10' v_facturas_cliente.i' +
|
'stal,'#10' v_facturas_cliente.recargo_equivalencia, v_facturas_cli' +
|
||||||
'mporte_porte, formas_pago.descripcion as FORMA_PAGO,'#10' v_factur' +
|
'ente.importe_neto,'#10' v_facturas_cliente.importe_porte, formas_p' +
|
||||||
'as_cliente.DATOS_BANCARIOS, v_facturas_cliente.RETENCION, v_fact' +
|
'ago.descripcion as FORMA_PAGO,'#10' v_facturas_cliente.DATOS_BANCA' +
|
||||||
'uras_cliente.IMPORTE_RETENCION'#10'from v_facturas_cliente'#10' left o' +
|
'RIOS, v_facturas_cliente.RETENCION, v_facturas_cliente.IMPORTE_R' +
|
||||||
'uter join contactos on (contactos.id = v_facturas_cliente.id_cli' +
|
'ETENCION'#10'from v_facturas_cliente'#10' left outer join contactos on' +
|
||||||
'ente)'#10' left outer join formas_pago on (formas_pago.id = v_fact' +
|
' (contactos.id = v_facturas_cliente.id_cliente)'#10' left outer jo' +
|
||||||
'uras_cliente.id_forma_pago)'#10' left outer join clientes_datos on' +
|
'in formas_pago on (formas_pago.id = v_facturas_cliente.id_forma_' +
|
||||||
' (clientes_datos.id_cliente = v_facturas_cliente.id_cliente)'#10' ' +
|
'pago)'#10' left outer join clientes_datos on (clientes_datos.id_cl' +
|
||||||
'left outer join contactos contactos2 on (contactos2.id = cliente' +
|
'iente = v_facturas_cliente.id_cliente)'#10' left outer join contac' +
|
||||||
's_datos.id_agente)'#10'WHERE V_FACTURAS_CLIENTE.ID = :ID'#10
|
'tos contactos2 on (contactos2.id = clientes_datos.id_agente)'#10'WHE' +
|
||||||
|
'RE V_FACTURAS_CLIENTE.ID = :ID'#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <
|
ColumnMappings = <
|
||||||
item
|
item
|
||||||
@ -185,6 +186,10 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
item
|
item
|
||||||
DatasetField = 'NOMBRE_VENDEDOR'
|
DatasetField = 'NOMBRE_VENDEDOR'
|
||||||
TableField = 'NOMBRE_VENDEDOR'
|
TableField = 'NOMBRE_VENDEDOR'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'REF_VENDEDOR'
|
||||||
|
TableField = 'REF_VENDEDOR'
|
||||||
end>
|
end>
|
||||||
end>
|
end>
|
||||||
Name = 'InformeFacturasCliente'
|
Name = 'InformeFacturasCliente'
|
||||||
@ -292,6 +297,11 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
DataType = datString
|
DataType = datString
|
||||||
Size = 255
|
Size = 255
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'REF_VENDEDOR'
|
||||||
|
DataType = datString
|
||||||
|
Size = 255
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'NOMBRE_VENDEDOR'
|
Name = 'NOMBRE_VENDEDOR'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -1535,180 +1545,7 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
end
|
end
|
||||||
object tbl_Cabecera: TDAMemDataTable
|
object tbl_Cabecera: TDAMemDataTable
|
||||||
RemoteUpdatesOptions = []
|
RemoteUpdatesOptions = []
|
||||||
Fields = <
|
Fields = <>
|
||||||
item
|
|
||||||
Name = 'ID'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'FacturasCliente_ID'
|
|
||||||
InPrimaryKey = True
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_EMPRESA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'FacturasCliente_ID_EMPRESA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'REFERENCIA'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'FacturasCliente_REFERENCIA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'TIPO'
|
|
||||||
DataType = datString
|
|
||||||
Size = 1
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FECHA_FACTURA'
|
|
||||||
DataType = datDateTime
|
|
||||||
DictionaryEntry = 'FacturasCliente_FECHA_FACTURA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FECHA_VENCIMIENTO'
|
|
||||||
DataType = datDateTime
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'BASE_IMPONIBLE'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_BASE_IMPONIBLE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'SITUACION'
|
|
||||||
DataType = datString
|
|
||||||
Size = 19
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'DESCUENTO'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_DESCUENTO'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'DESCUENTO2'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_DESCUENTO'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_IMPORTE_DESCUENTO'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_DESCUENTO2'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IVA'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_IVA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_IVA'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_IMPORTE_IVA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'RE'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_RE'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_TOTAL'
|
|
||||||
DataType = datCurrency
|
|
||||||
DictionaryEntry = 'FacturasCliente_IMPORTE_TOTAL'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'OBSERVACIONES'
|
|
||||||
DataType = datMemo
|
|
||||||
DictionaryEntry = 'FacturasCliente_OBSERVACIONES'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'NIF_CIF'
|
|
||||||
DataType = datString
|
|
||||||
Size = 15
|
|
||||||
DictionaryEntry = 'FacturasCliente_NIF_CIF'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'REF_CLIENTE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'PERSONA_CONTACTO'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'NOMBRE_VENDEDOR'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_CLIENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'FacturasCliente_ID_CLIENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'NOMBRE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'FacturasCliente_NOMBRE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'CALLE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'FacturasCliente_CALLE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'PROVINCIA'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'FacturasCliente_PROVINCIA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'POBLACION'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'FacturasCliente_POBLACION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'CODIGO_POSTAL'
|
|
||||||
DataType = datString
|
|
||||||
Size = 10
|
|
||||||
DictionaryEntry = 'FacturasCliente_CODIGO_POSTAL'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'RECARGO_EQUIVALENCIA'
|
|
||||||
DataType = datSmallInt
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_NETO'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_PORTE'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FORMA_PAGO'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'DATOS_BANCARIOS'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'RETENCION'
|
|
||||||
DataType = datCurrency
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_RETENCION'
|
|
||||||
DataType = datCurrency
|
|
||||||
end>
|
|
||||||
Params = <
|
Params = <
|
||||||
item
|
item
|
||||||
Name = 'ID'
|
Name = 'ID'
|
||||||
@ -1755,7 +1592,7 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
Top = 392
|
Top = 392
|
||||||
end
|
end
|
||||||
object frxReport: TfrxReport
|
object frxReport: TfrxReport
|
||||||
Version = '4.7.71'
|
Version = '4.8.11'
|
||||||
DotMatrixReport = False
|
DotMatrixReport = False
|
||||||
EngineOptions.DoublePass = True
|
EngineOptions.DoublePass = True
|
||||||
IniFile = '\Software\Fast Reports'
|
IniFile = '\Software\Fast Reports'
|
||||||
@ -1764,66 +1601,8 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
PrintOptions.Printer = 'Por defecto'
|
PrintOptions.Printer = 'Por defecto'
|
||||||
PrintOptions.PrintOnSheet = 0
|
PrintOptions.PrintOnSheet = 0
|
||||||
ReportOptions.CreateDate = 39065.872423495400000000
|
ReportOptions.CreateDate = 39065.872423495400000000
|
||||||
ReportOptions.LastChange = 40197.447447002300000000
|
ReportOptions.LastChange = 40210.690281921300000000
|
||||||
ScriptLanguage = 'PascalScript'
|
ScriptLanguage = 'PascalScript'
|
||||||
ScriptText.Strings = (
|
|
||||||
'var'
|
|
||||||
' Pagina: Variant;'
|
|
||||||
''
|
|
||||||
''
|
|
||||||
'procedure Memo2OnBeforePrint(Sender: TfrxComponent);'
|
|
||||||
'begin'
|
|
||||||
' Memo2.Lines.Clear;'
|
|
||||||
' if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then'
|
|
||||||
' Memo2.Lines.Add('#39'ORDEN DE DEVOLUCI'#211'N'#39')'
|
|
||||||
' else'
|
|
||||||
' Memo2.Lines.Add('#39'ALBAR'#193'N DE CLIENTE'#39')'
|
|
||||||
'end;'
|
|
||||||
''
|
|
||||||
'procedure Memo5OnBeforePrint(Sender: TfrxComponent);'
|
|
||||||
'begin'
|
|
||||||
' if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then'
|
|
||||||
' begin'
|
|
||||||
' Memo5.Lines.Clear;'
|
|
||||||
' Memo5.Lines.Add('#39'N'#186' orden:'#39');'
|
|
||||||
' end;'
|
|
||||||
'end;'
|
|
||||||
''
|
|
||||||
'procedure Memo9OnBeforePrint(Sender: TfrxComponent);'
|
|
||||||
'begin'
|
|
||||||
' if (StrToFloat(<frxDBCabecera."IMPORTE_TOTAL">) < 0) then'
|
|
||||||
' begin'
|
|
||||||
' Memo9.Lines.Clear;'
|
|
||||||
' Memo9.Lines.Add('#39'Fecha orden:'#39');'
|
|
||||||
' end;'
|
|
||||||
'end;'
|
|
||||||
''
|
|
||||||
'procedure PageHeader1OnBeforePrint(Sender: TfrxComponent);'
|
|
||||||
'begin'
|
|
||||||
' if not Engine.FinalPass then'
|
|
||||||
' Set('#39'TotalPaginas'#39', (<TotalPaginas> + 1));'
|
|
||||||
''
|
|
||||||
' if Engine.FinalPass then'
|
|
||||||
' Set('#39'Pagina'#39', (<Pagina> + 1));'
|
|
||||||
''
|
|
||||||
' if Marca = 1 then'
|
|
||||||
' eCopia.Visible := True;'
|
|
||||||
' '
|
|
||||||
' if Marca = 2 then'
|
|
||||||
|
|
||||||
' eContabilidad.Visible := True; ' +
|
|
||||||
' '
|
|
||||||
'end;'
|
|
||||||
''
|
|
||||||
'procedure frxReportOnStartReport(Sender: TfrxComponent);'
|
|
||||||
'begin'
|
|
||||||
' Set('#39'Pagina'#39', 0);'
|
|
||||||
' Set('#39'TotalPaginas'#39', 0);'
|
|
||||||
'end;'
|
|
||||||
''
|
|
||||||
'begin'
|
|
||||||
''
|
|
||||||
'end.')
|
|
||||||
ShowProgress = False
|
ShowProgress = False
|
||||||
StoreInDFM = False
|
StoreInDFM = False
|
||||||
OnStartReport = 'frxReportOnStartReport'
|
OnStartReport = 'frxReportOnStartReport'
|
||||||
|
|||||||
@ -8,7 +8,7 @@ uses
|
|||||||
uDADataTable, uDACDSDataTable, DB, uDAClasses, frxChart, frxGradient,
|
uDADataTable, uDACDSDataTable, DB, uDAClasses, frxChart, frxGradient,
|
||||||
frxChBox, frxCross, frxOLE, frxBarcode, frxRich, uDABINAdapter, uROTypes,
|
frxChBox, frxCross, frxOLE, frxBarcode, frxRich, uDABINAdapter, uROTypes,
|
||||||
uDAInterfaces, uDADataStreamer, IBCustomDataSet, IBQuery, IBDatabase,
|
uDAInterfaces, uDADataStreamer, IBCustomDataSet, IBQuery, IBDatabase,
|
||||||
uDAMemDataTable, FactuGES_Intf, frxExportPDF, uDABin2DataStreamer;
|
uDAMemDataTable, FactuGES_Intf, frxExportPDF, uDABin2DataStreamer, uROClient;
|
||||||
|
|
||||||
type
|
type
|
||||||
TRptFacturasCliente = class(TDataModule)
|
TRptFacturasCliente = class(TDataModule)
|
||||||
@ -115,7 +115,7 @@ type
|
|||||||
procedure RecuperarNombresClientes;
|
procedure RecuperarNombresClientes;
|
||||||
|
|
||||||
public
|
public
|
||||||
function GenerarFactura(const ListaID : TIntegerArray; const Marca: Integer): Binary;
|
function GenerarFactura(const ListaID : TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
function GenerarInformeIVA(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
function GenerarInformeIVA(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
||||||
function GenerarInformeListadoFacturas(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const FechaVenInicio: Variant; const FechaVenFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
function GenerarInformeListadoFacturas(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const FechaVenInicio: Variant; const FechaVenFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
||||||
function GenerarInformeListadoFacturasPendientes(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const FechaVenInicio: Variant; const FechaVenFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
function GenerarInformeListadoFacturasPendientes(const IdEmpresa: Integer; const FechaInicio: Variant; const FechaFin: Variant; const FechaVenInicio: Variant; const FechaVenFin: Variant; const ListaIDClientes: TIntegerArray; const Desglosado: Boolean; const ImporteMinimo: Currency): Binary;
|
||||||
@ -172,7 +172,7 @@ begin
|
|||||||
FreeANDNIL(FListaNombresClientes);
|
FreeANDNIL(FListaNombresClientes);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TRptFacturasCliente.GenerarFactura(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function TRptFacturasCliente.GenerarFactura(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
var
|
var
|
||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
@ -180,7 +180,16 @@ begin
|
|||||||
try
|
try
|
||||||
//Vamos generando todos y cada una de las facturas recibidas
|
//Vamos generando todos y cada una de las facturas recibidas
|
||||||
for i := 0 to ListaID.Count - 1 do
|
for i := 0 to ListaID.Count - 1 do
|
||||||
_GenerarFactura(ListaID.Items[i], Marca);
|
begin
|
||||||
|
if (Original = 1) then
|
||||||
|
_GenerarFactura(ListaID.Items[i], 1);
|
||||||
|
|
||||||
|
if (Copia = 1) then
|
||||||
|
_GenerarFactura(ListaID.Items[i], 2);
|
||||||
|
|
||||||
|
if (Contabilidad = 1) then
|
||||||
|
_GenerarFactura(ListaID.Items[i], 3);
|
||||||
|
end;
|
||||||
|
|
||||||
frxReport.PreviewPages.SaveToStream(Result);
|
frxReport.PreviewPages.SaveToStream(Result);
|
||||||
finally
|
finally
|
||||||
|
|||||||
@ -34,7 +34,7 @@ type
|
|||||||
private
|
private
|
||||||
protected
|
protected
|
||||||
{ IsrvFacturasCliente methods }
|
{ IsrvFacturasCliente methods }
|
||||||
function GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -81,13 +81,13 @@ begin
|
|||||||
ConnectionName := dmServer.ConnectionName;
|
ConnectionName := dmServer.ConnectionName;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TsrvFacturasCliente.GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function TsrvFacturasCliente.GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
var
|
var
|
||||||
AReportGenerator : TRptFacturasCliente;
|
AReportGenerator : TRptFacturasCliente;
|
||||||
begin
|
begin
|
||||||
AReportGenerator := TRptFacturasCliente.Create(nil);
|
AReportGenerator := TRptFacturasCliente.Create(nil);
|
||||||
try
|
try
|
||||||
Result := AReportGenerator.GenerarFactura(ListaID, Marca);
|
Result := AReportGenerator.GenerarFactura(ListaID, Original, Copia, Contabilidad);
|
||||||
finally
|
finally
|
||||||
FreeAndNIL(AReportGenerator);
|
FreeAndNIL(AReportGenerator);
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -1,79 +1,75 @@
|
|||||||
inherited fDialogOpcionesImpresionFacturasCliente: TfDialogOpcionesImpresionFacturasCliente
|
inherited fDialogOpcionesImpresionFacturasCliente: TfDialogOpcionesImpresionFacturasCliente
|
||||||
Caption = 'Opciones para facturas de cliente'
|
Caption = 'Opciones para facturas de cliente'
|
||||||
ClientHeight = 240
|
ClientHeight = 240
|
||||||
ClientWidth = 418
|
ClientWidth = 366
|
||||||
ExplicitWidth = 424
|
ExplicitWidth = 372
|
||||||
ExplicitHeight = 272
|
ExplicitHeight = 272
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited Bevel2: TBevel
|
inherited Bevel2: TBevel
|
||||||
Width = 418
|
Width = 366
|
||||||
ExplicitWidth = 418
|
ExplicitWidth = 418
|
||||||
end
|
end
|
||||||
inherited Bevel3: TBevel
|
inherited Bevel3: TBevel
|
||||||
Top = 196
|
Top = 196
|
||||||
Width = 418
|
Width = 366
|
||||||
ExplicitTop = 196
|
ExplicitTop = 196
|
||||||
ExplicitWidth = 418
|
ExplicitWidth = 418
|
||||||
end
|
end
|
||||||
inherited pnlBotones: TPanel
|
inherited pnlBotones: TPanel
|
||||||
Top = 198
|
Top = 198
|
||||||
Width = 418
|
Width = 366
|
||||||
ExplicitTop = 198
|
ExplicitTop = 198
|
||||||
ExplicitWidth = 418
|
ExplicitWidth = 418
|
||||||
inherited btnAceptar: TButton
|
inherited btnAceptar: TButton
|
||||||
Left = 254
|
Left = 193
|
||||||
ExplicitLeft = 254
|
ExplicitLeft = 193
|
||||||
end
|
end
|
||||||
inherited btnCancelar: TButton
|
inherited btnCancelar: TButton
|
||||||
Left = 333
|
Left = 272
|
||||||
ExplicitLeft = 333
|
ExplicitLeft = 272
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited pnlHeader: TPanel
|
inherited pnlHeader: TPanel
|
||||||
Width = 418
|
Width = 366
|
||||||
ExplicitWidth = 418
|
ExplicitWidth = 418
|
||||||
inherited lblInstruccion: TLabel
|
inherited lblInstruccion: TLabel
|
||||||
Width = 368
|
Width = 317
|
||||||
Margins.Bottom = 10
|
Margins.Bottom = 10
|
||||||
Caption = 'Indique las siguiente opciones para la factura de cliente:'
|
Caption = 'Indique las siguiente opciones para la factura de cliente:'
|
||||||
ExplicitWidth = 317
|
ExplicitWidth = 317
|
||||||
end
|
end
|
||||||
inherited Label2: TLabel
|
inherited Label2: TLabel
|
||||||
Top = 31
|
Top = 31
|
||||||
Width = 343
|
|
||||||
Height = 25
|
|
||||||
Visible = False
|
Visible = False
|
||||||
ExplicitTop = 31
|
ExplicitTop = 31
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited pnlCuerpo: TPanel
|
inherited pnlCuerpo: TPanel
|
||||||
Width = 418
|
Width = 366
|
||||||
Height = 130
|
Height = 130
|
||||||
ExplicitWidth = 418
|
ExplicitWidth = 418
|
||||||
ExplicitHeight = 130
|
ExplicitHeight = 130
|
||||||
object opcion1: TcxRadioButton
|
object cbOriginal: TCheckBox
|
||||||
Left = 50
|
Left = 50
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 113
|
Width = 97
|
||||||
Height = 17
|
Height = 17
|
||||||
Caption = 'ORIGINAL'
|
Caption = 'ORIGINAL'
|
||||||
Checked = True
|
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
TabStop = True
|
|
||||||
end
|
end
|
||||||
object opcion2: TcxRadioButton
|
object cbCopia: TCheckBox
|
||||||
Left = 50
|
Left = 50
|
||||||
Top = 50
|
Top = 51
|
||||||
Width = 113
|
Width = 97
|
||||||
Height = 17
|
Height = 17
|
||||||
Caption = 'COPIA'
|
Caption = 'COPIA'
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object opcion3: TcxRadioButton
|
object cbContabilidad: TCheckBox
|
||||||
Left = 50
|
Left = 50
|
||||||
Top = 87
|
Top = 88
|
||||||
Width = 113
|
Width = 97
|
||||||
Height = 17
|
Height = 17
|
||||||
Caption = 'CONTABILIDAD'
|
Caption = 'CONTABILIDAD'
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
|
|||||||
@ -8,9 +8,9 @@ uses
|
|||||||
|
|
||||||
type
|
type
|
||||||
TfDialogOpcionesImpresionFacturasCliente = class(TfDialogBase)
|
TfDialogOpcionesImpresionFacturasCliente = class(TfDialogBase)
|
||||||
opcion1: TcxRadioButton;
|
cbOriginal: TCheckBox;
|
||||||
opcion2: TcxRadioButton;
|
cbCopia: TCheckBox;
|
||||||
opcion3: TcxRadioButton;
|
cbContabilidad: TCheckBox;
|
||||||
procedure actAceptarExecute(Sender: TObject);
|
procedure actAceptarExecute(Sender: TObject);
|
||||||
procedure actCancelarExecute(Sender: TObject);
|
procedure actCancelarExecute(Sender: TObject);
|
||||||
private
|
private
|
||||||
@ -19,13 +19,13 @@ type
|
|||||||
{ Public declarations }
|
{ Public declarations }
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ElegirOpcionesImpresionFacturaCliente(var AMarca : Integer): Boolean;
|
function ElegirOpcionesImpresionFacturaCliente(var AOriginal, ACopia, AContabilidad : Integer): Boolean;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
function ElegirOpcionesImpresionFacturaCliente(var AMarca : Integer): Boolean;
|
function ElegirOpcionesImpresionFacturaCliente(var AOriginal, ACopia, AContabilidad : Integer): Boolean;
|
||||||
var
|
var
|
||||||
AEditor : TfDialogOpcionesImpresionFacturasCliente;
|
AEditor : TfDialogOpcionesImpresionFacturasCliente;
|
||||||
begin
|
begin
|
||||||
@ -36,12 +36,14 @@ begin
|
|||||||
begin
|
begin
|
||||||
if True then
|
if True then
|
||||||
begin
|
begin
|
||||||
if AEditor.opcion1.Checked then
|
if AEditor.cbOriginal.Checked then
|
||||||
AMarca := 1
|
AOriginal := 1;
|
||||||
else if AEditor.opcion2.Checked then
|
|
||||||
AMarca := 2
|
if AEditor.cbCopia.Checked then
|
||||||
else if AEditor.opcion3.Checked then
|
ACopia := 1;
|
||||||
AMarca := 3
|
|
||||||
|
if AEditor.cbContabilidad.Checked then
|
||||||
|
AContabilidad := 1;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
|||||||
@ -357,6 +357,7 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
inherited TBXDock1: TSpTBXDock
|
inherited TBXDock1: TSpTBXDock
|
||||||
Top = 46
|
Top = 46
|
||||||
Width = 888
|
Width = 888
|
||||||
|
ExplicitTop = 46
|
||||||
ExplicitWidth = 798
|
ExplicitWidth = 798
|
||||||
inherited TBXToolbar1: TSpTBXToolbar
|
inherited TBXToolbar1: TSpTBXToolbar
|
||||||
ExplicitWidth = 762
|
ExplicitWidth = 762
|
||||||
@ -411,10 +412,12 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
ExplicitLeft = 472
|
ExplicitLeft = 472
|
||||||
end
|
end
|
||||||
inherited Bevel4: TBevel
|
inherited Bevel4: TBevel
|
||||||
Left = 584
|
Left = 585
|
||||||
Width = 317
|
Width = 317
|
||||||
ExplicitLeft = 584
|
Height = 9
|
||||||
|
ExplicitLeft = 585
|
||||||
ExplicitWidth = 317
|
ExplicitWidth = 317
|
||||||
|
ExplicitHeight = 9
|
||||||
end
|
end
|
||||||
inherited ImporteDto: TcxDBCurrencyEdit
|
inherited ImporteDto: TcxDBCurrencyEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -424,13 +427,13 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
end
|
end
|
||||||
inherited ImporteIVA: TcxDBCurrencyEdit
|
inherited ImporteIVA: TcxDBCurrencyEdit
|
||||||
Left = 655
|
Left = 656
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 655
|
ExplicitLeft = 656
|
||||||
end
|
end
|
||||||
inherited ImporteTotal: TcxDBCurrencyEdit
|
inherited ImporteTotal: TcxDBCurrencyEdit
|
||||||
Left = 585
|
Left = 585
|
||||||
@ -440,6 +443,8 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 585
|
ExplicitLeft = 585
|
||||||
|
ExplicitWidth = 90
|
||||||
|
Width = 90
|
||||||
end
|
end
|
||||||
inherited edtDescuento: TcxDBSpinEdit
|
inherited edtDescuento: TcxDBSpinEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -449,40 +454,40 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
end
|
end
|
||||||
inherited edtIVA: TcxDBSpinEdit
|
inherited edtIVA: TcxDBSpinEdit
|
||||||
Left = 584
|
Left = 585
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 584
|
ExplicitLeft = 585
|
||||||
end
|
end
|
||||||
inherited ImporteBase: TcxDBCurrencyEdit
|
inherited ImporteBase: TcxDBCurrencyEdit
|
||||||
Left = 584
|
Left = 585
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 584
|
ExplicitLeft = 585
|
||||||
end
|
end
|
||||||
inherited edtRE: TcxDBSpinEdit
|
inherited edtRE: TcxDBSpinEdit
|
||||||
Left = 584
|
Left = 585
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 584
|
ExplicitLeft = 585
|
||||||
end
|
end
|
||||||
inherited ImporteRE: TcxDBCurrencyEdit
|
inherited ImporteRE: TcxDBCurrencyEdit
|
||||||
Left = 655
|
Left = 656
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 655
|
ExplicitLeft = 656
|
||||||
end
|
end
|
||||||
inherited eImporteNeto: TcxDBCurrencyEdit
|
inherited eImporteNeto: TcxDBCurrencyEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
|||||||
@ -17,7 +17,8 @@ uses
|
|||||||
uViewDetallesFacturaCliente, dxLayoutLookAndFeels, JvExComCtrls, JvStatusBar,
|
uViewDetallesFacturaCliente, dxLayoutLookAndFeels, JvExComCtrls, JvStatusBar,
|
||||||
uViewDetallesDTO, uViewDetallesArticulos, uTiposIVAController, uDAInterfaces,
|
uViewDetallesDTO, uViewDetallesArticulos, uTiposIVAController, uDAInterfaces,
|
||||||
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, Grids, DBGrids,
|
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, Grids, DBGrids,
|
||||||
uViewDetallesArticulosParaVenta, cxLabel, uViewTotalesFactura;
|
uViewDetallesArticulosParaVenta, cxLabel, uViewTotalesFactura, cxGraphics,
|
||||||
|
cxLookAndFeels, cxLookAndFeelPainters;
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -330,16 +331,17 @@ end;
|
|||||||
procedure TfEditorFacturaCliente.ImprimirInterno;
|
procedure TfEditorFacturaCliente.ImprimirInterno;
|
||||||
var
|
var
|
||||||
AllItems: Boolean;
|
AllItems: Boolean;
|
||||||
AMarca: Integer;
|
AOriginal: Integer;
|
||||||
|
ACopia: Integer;
|
||||||
|
AContabilidad: Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
AllItems := False;
|
AllItems := False;
|
||||||
AMarca := 0;
|
|
||||||
|
|
||||||
//Preguntamos si desea que en las facturas se vea el Sello
|
//Preguntamos si desea que en las facturas se vea el Sello
|
||||||
if ElegirOpcionesImpresionFacturaCliente(AMarca) then
|
if ElegirOpcionesImpresionFacturaCliente(AOriginal, ACopia, AContabilidad) then
|
||||||
FController.Print(FFactura, AllItems, AMarca);
|
FController.Print(FFactura, AOriginal, ACopia, AContabilidad, AllItems);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorFacturaCliente.OnClienteChanged(Sender: TObject);
|
procedure TfEditorFacturaCliente.OnClienteChanged(Sender: TObject);
|
||||||
@ -418,16 +420,17 @@ end;
|
|||||||
procedure TfEditorFacturaCliente.PrevisualizarInterno;
|
procedure TfEditorFacturaCliente.PrevisualizarInterno;
|
||||||
var
|
var
|
||||||
AllItems: Boolean;
|
AllItems: Boolean;
|
||||||
AMarca: Integer;
|
AOriginal: Integer;
|
||||||
|
ACopia: Integer;
|
||||||
|
AContabilidad: Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
AllItems := False;
|
AllItems := False;
|
||||||
AMarca := 0;
|
|
||||||
|
|
||||||
//Preguntamos si desea que en las facturas se vea el Sello
|
//Preguntamos si desea que en las facturas se vea el Sello
|
||||||
if ElegirOpcionesImpresionFacturaCliente(AMarca) then
|
if ElegirOpcionesImpresionFacturaCliente(AOriginal, ACopia, AContabilidad) then
|
||||||
FController.Preview(FFactura, AllItems, AMarca);
|
FController.Preview(FFactura, AOriginal, ACopia, AContabilidad, AllItems);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorFacturaCliente.RecalcularPortePorUnidad;
|
procedure TfEditorFacturaCliente.RecalcularPortePorUnidad;
|
||||||
|
|||||||
@ -45,12 +45,12 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
ImageIndex = 22
|
ImageIndex = 22
|
||||||
Images = SmallImages
|
Images = SmallImages
|
||||||
object TBXItem39: TSpTBXItem
|
object TBXItem39: TSpTBXItem
|
||||||
Action = actNuevaFactura
|
|
||||||
Caption = 'Nueva factura...'
|
Caption = 'Nueva factura...'
|
||||||
|
Action = actNuevaFactura
|
||||||
end
|
end
|
||||||
object TBXItem38: TSpTBXItem
|
object TBXItem38: TSpTBXItem
|
||||||
Action = actNuevoAbono
|
|
||||||
Caption = 'Nuevo abono...'
|
Caption = 'Nuevo abono...'
|
||||||
|
Action = actNuevoAbono
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXItem2: TSpTBXItem
|
inherited TBXItem2: TSpTBXItem
|
||||||
@ -62,24 +62,26 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited tbxFiltro: TSpTBXToolbar
|
inherited tbxFiltro: TSpTBXToolbar
|
||||||
ExplicitWidth = 427
|
ExplicitWidth = 435
|
||||||
inherited lblAno: TSpTBXLabelItem
|
inherited lblAno: TSpTBXLabelItem
|
||||||
Visible = True
|
Visible = True
|
||||||
end
|
end
|
||||||
inherited cbxListaAnos: TSpTBXComboBox
|
|
||||||
Visible = True
|
|
||||||
end
|
|
||||||
inherited sepAno: TSpTBXSeparatorItem
|
inherited sepAno: TSpTBXSeparatorItem
|
||||||
Visible = True
|
Visible = True
|
||||||
end
|
end
|
||||||
|
inherited cbxListaAnos: TSpTBXComboBox
|
||||||
|
Left = 33
|
||||||
|
Visible = True
|
||||||
|
ExplicitLeft = 33
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited tbxMenu: TSpTBXToolbar
|
inherited tbxMenu: TSpTBXToolbar
|
||||||
DockPos = 0
|
DockPos = 0
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 842
|
||||||
end
|
end
|
||||||
inherited TBXTMain2: TSpTBXToolbar
|
inherited TBXTMain2: TSpTBXToolbar
|
||||||
Left = 427
|
Left = 435
|
||||||
ExplicitLeft = 427
|
ExplicitLeft = 435
|
||||||
object TBXItem41: TSpTBXItem
|
object TBXItem41: TSpTBXItem
|
||||||
Action = actInformes
|
Action = actInformes
|
||||||
end
|
end
|
||||||
@ -152,6 +154,7 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
Width = 842
|
Width = 842
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 842
|
||||||
inherited TBXDockablePanel1: TSpTBXDockablePanel
|
inherited TBXDockablePanel1: TSpTBXDockablePanel
|
||||||
|
Width = 842
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 842
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 842
|
Width = 842
|
||||||
@ -194,8 +197,8 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
||||||
Width = 842
|
Width = 832
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 832
|
||||||
inherited tbxBotones: TSpTBXToolbar
|
inherited tbxBotones: TSpTBXToolbar
|
||||||
Width = 832
|
Width = 832
|
||||||
ExplicitWidth = 832
|
ExplicitWidth = 832
|
||||||
@ -205,14 +208,15 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
end
|
end
|
||||||
inherited pnlAgrupaciones: TSpTBXDockablePanel
|
inherited pnlAgrupaciones: TSpTBXDockablePanel
|
||||||
Top = 519
|
Top = 519
|
||||||
|
Width = 842
|
||||||
ExplicitTop = 519
|
ExplicitTop = 519
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 842
|
||||||
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
||||||
Width = 842
|
Width = 842
|
||||||
ExplicitWidth = 842
|
ExplicitWidth = 842
|
||||||
inherited TBXToolbar1: TSpTBXToolbar
|
inherited TBXToolbar1: TSpTBXToolbar
|
||||||
Width = 832
|
Width = 842
|
||||||
ExplicitWidth = 832
|
ExplicitWidth = 842
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -222,6 +226,9 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
BuiltInReportLink = True
|
BuiltInReportLink = True
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
inherited dxPSEngineController1: TdxPSEngineController
|
||||||
|
Active = True
|
||||||
|
end
|
||||||
inherited cxViewGridPopupMenu: TcxGridPopupMenu
|
inherited cxViewGridPopupMenu: TcxGridPopupMenu
|
||||||
PopupMenus = <
|
PopupMenus = <
|
||||||
item
|
item
|
||||||
|
|||||||
@ -17,7 +17,8 @@ uses
|
|||||||
cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, cxDBData, cxGridLevel,
|
cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, cxDBData, cxGridLevel,
|
||||||
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView,
|
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView,
|
||||||
cxGridTableView, cxGridDBTableView, cxGrid, StdCtrls, cxContainer, cxTextEdit,
|
cxGridTableView, cxGridDBTableView, cxGrid, StdCtrls, cxContainer, cxTextEdit,
|
||||||
cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox;
|
cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,
|
||||||
|
TntStdCtrls, SpTBXEditors;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -303,12 +304,13 @@ var
|
|||||||
Respuesta : Integer;
|
Respuesta : Integer;
|
||||||
AFacturas: IBizFacturaCliente;
|
AFacturas: IBizFacturaCliente;
|
||||||
AllItems: Boolean;
|
AllItems: Boolean;
|
||||||
AMarca: Integer;
|
AOriginal: Integer;
|
||||||
|
ACopia: Integer;
|
||||||
|
AContabilidad: Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
AFacturas := Nil;
|
AFacturas := Nil;
|
||||||
AllItems := False;
|
AllItems := False;
|
||||||
AMarca := 0;
|
|
||||||
|
|
||||||
if MultiSelect and Assigned(ViewGrid) then
|
if MultiSelect and Assigned(ViewGrid) then
|
||||||
AllItems := (ViewGrid.NumSeleccionados > 1);
|
AllItems := (ViewGrid.NumSeleccionados > 1);
|
||||||
@ -335,9 +337,9 @@ begin
|
|||||||
AFacturas := Facturas;
|
AFacturas := Facturas;
|
||||||
|
|
||||||
//Preguntamos si desea que en las facturas se vea el Sello
|
//Preguntamos si desea que en las facturas se vea el Sello
|
||||||
if ElegirOpcionesImpresionFacturaCliente(AMarca) then
|
if ElegirOpcionesImpresionFacturaCliente(AOriginal, ACopia, AContabilidad) then
|
||||||
if Assigned(AFacturas) then
|
if Assigned(AFacturas) then
|
||||||
FController.Print(AFacturas, AllItems, AMarca);
|
FController.Print(AFacturas, AOriginal, ACopia, AContabilidad, AllItems);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -397,12 +399,13 @@ var
|
|||||||
Respuesta : Integer;
|
Respuesta : Integer;
|
||||||
AFacturas: IBizFacturaCliente;
|
AFacturas: IBizFacturaCliente;
|
||||||
AllItems: Boolean;
|
AllItems: Boolean;
|
||||||
AMarca: Integer;
|
AOriginal: Integer;
|
||||||
|
ACopia: Integer;
|
||||||
|
AContabilidad: Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
AFacturas := Nil;
|
AFacturas := Nil;
|
||||||
AllItems := False;
|
AllItems := False;
|
||||||
AMarca := 0;
|
|
||||||
|
|
||||||
if MultiSelect and Assigned(ViewGrid) then
|
if MultiSelect and Assigned(ViewGrid) then
|
||||||
AllItems := (ViewGrid.NumSeleccionados > 1);
|
AllItems := (ViewGrid.NumSeleccionados > 1);
|
||||||
@ -429,9 +432,9 @@ begin
|
|||||||
AFacturas := Facturas;
|
AFacturas := Facturas;
|
||||||
|
|
||||||
//Preguntamos si desea que en las facturas se vea el Sello
|
//Preguntamos si desea que en las facturas se vea el Sello
|
||||||
if ElegirOpcionesImpresionFacturaCliente(AMarca) then
|
if ElegirOpcionesImpresionFacturaCliente(AOriginal, ACopia, AContabilidad) then
|
||||||
if Assigned(AFacturas) then
|
if Assigned(AFacturas) then
|
||||||
FController.Preview(AFacturas, AllItems, AMarca);
|
FController.Preview(AFacturas, AOriginal, ACopia, AContabilidad, AllItems);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -16,7 +16,6 @@ inherited frViewDatosYSeleccionClienteFacturaCliente: TfrViewDatosYSeleccionClie
|
|||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
TabStop = False
|
TabStop = False
|
||||||
AutoContentSizes = [acsWidth, acsHeight]
|
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
634
|
634
|
||||||
193)
|
193)
|
||||||
@ -27,7 +26,6 @@ inherited frViewDatosYSeleccionClienteFacturaCliente: TfrViewDatosYSeleccionClie
|
|||||||
AutoSize = False
|
AutoSize = False
|
||||||
DataBinding.DataField = 'NOMBRE'
|
DataBinding.DataField = 'NOMBRE'
|
||||||
DataBinding.DataSource = dsCliente
|
DataBinding.DataSource = dsCliente
|
||||||
Enabled = False
|
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Properties.UseLeftAlignmentOnEditing = False
|
Properties.UseLeftAlignmentOnEditing = False
|
||||||
@ -54,7 +52,6 @@ inherited frViewDatosYSeleccionClienteFacturaCliente: TfrViewDatosYSeleccionClie
|
|||||||
AutoSize = False
|
AutoSize = False
|
||||||
DataBinding.DataField = 'NIF_CIF'
|
DataBinding.DataField = 'NIF_CIF'
|
||||||
DataBinding.DataSource = dsCliente
|
DataBinding.DataSource = dsCliente
|
||||||
Enabled = False
|
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Properties.UseLeftAlignmentOnEditing = False
|
Properties.UseLeftAlignmentOnEditing = False
|
||||||
@ -272,92 +269,97 @@ inherited frViewDatosYSeleccionClienteFacturaCliente: TfrViewDatosYSeleccionClie
|
|||||||
Width = 403
|
Width = 403
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
ShowCaption = False
|
AlignHorz = ahParentManaged
|
||||||
|
AlignVert = avParentManaged
|
||||||
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group1: TdxLayoutGroup
|
object dxLayoutControl1Group1: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item7: TdxLayoutItem
|
object dxLayoutControl1Item7: TdxLayoutItem
|
||||||
Caption = 'Button1'
|
CaptionOptions.Text = 'Button1'
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
Control = Button1
|
Control = Button1
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item8: TdxLayoutItem
|
object dxLayoutControl1Item8: TdxLayoutItem
|
||||||
Caption = 'Button2'
|
CaptionOptions.Text = 'Button2'
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
Control = Button2
|
Control = Button2
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group2: TdxLayoutGroup
|
object dxLayoutControl1Group2: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group4: TdxLayoutGroup
|
object dxLayoutControl1Group4: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item1: TdxLayoutItem
|
object dxLayoutControl1Item1: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Nombre:'
|
CaptionOptions.Text = 'Nombre:'
|
||||||
Control = edtlNombre
|
Control = edtlNombre
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item2: TdxLayoutItem
|
object dxLayoutControl1Item2: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahRight
|
AlignHorz = ahRight
|
||||||
Caption = 'NIF/CIF:'
|
CaptionOptions.Text = 'NIF/CIF:'
|
||||||
Control = edtNIFCIF
|
Control = edtNIFCIF
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group3: TdxLayoutGroup
|
object dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group5: TdxLayoutGroup
|
object dxLayoutControl1Group5: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item4: TdxLayoutItem
|
object dxLayoutControl1Item4: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Direcci'#243'n:'
|
CaptionOptions.Text = 'Direcci'#243'n:'
|
||||||
Control = edtDireccion
|
Control = edtDireccion
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item5: TdxLayoutItem
|
object dxLayoutControl1Item5: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
AlignHorz = ahLeft
|
||||||
Caption = 'Button4'
|
CaptionOptions.Text = 'Button4'
|
||||||
|
CaptionOptions.Visible = False
|
||||||
Enabled = False
|
Enabled = False
|
||||||
ShowCaption = False
|
|
||||||
Visible = False
|
Visible = False
|
||||||
Control = Button4
|
Control = Button4
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group6: TdxLayoutGroup
|
object dxLayoutControl1Group6: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item3: TdxLayoutItem
|
object dxLayoutControl1Item3: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Contacto:'
|
CaptionOptions.Text = 'Contacto:'
|
||||||
Control = edtPersonaContacto
|
Control = edtPersonaContacto
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item6: TdxLayoutItem
|
object dxLayoutControl1Item6: TdxLayoutItem
|
||||||
|
CaptionOptions.Visible = False
|
||||||
Enabled = False
|
Enabled = False
|
||||||
ShowCaption = False
|
|
||||||
Visible = False
|
Visible = False
|
||||||
Control = Button5
|
Control = Button5
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
@ -366,10 +368,9 @@ inherited frViewDatosYSeleccionClienteFacturaCliente: TfrViewDatosYSeleccionClie
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item9: TdxLayoutItem
|
object dxLayoutControl1Item9: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahRight
|
AlignHorz = ahRight
|
||||||
Caption = 'Button3'
|
CaptionOptions.Text = 'Button3'
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
Control = Button3
|
Control = Button3
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
|
|||||||
@ -11,7 +11,7 @@ uses
|
|||||||
DBCtrls, uClientesController, dxLayoutControl, Buttons, uDAInterfaces,
|
DBCtrls, uClientesController, dxLayoutControl, Buttons, uDAInterfaces,
|
||||||
cxMaskEdit, cxButtonEdit, uBizFacturasCliente, uBizDireccionesContacto,
|
cxMaskEdit, cxButtonEdit, uBizFacturasCliente, uBizDireccionesContacto,
|
||||||
uDireccionesContactoController, Menus, cxLookAndFeelPainters, cxButtons,
|
uDireccionesContactoController, Menus, cxLookAndFeelPainters, cxButtons,
|
||||||
cxMemo;
|
cxMemo, cxGraphics, cxLookAndFeels, dxLayoutcxEditAdapters;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewDatosYSeleccionClienteFacturaCliente = interface(IViewBase)
|
IViewDatosYSeleccionClienteFacturaCliente = interface(IViewBase)
|
||||||
|
|||||||
@ -1,51 +1,43 @@
|
|||||||
inherited frViewDetallesFacturaCliente: TfrViewDetallesFacturaCliente
|
inherited frViewDetallesFacturaCliente: TfrViewDetallesFacturaCliente
|
||||||
inherited ToolBar1: TToolBar
|
inherited ToolBar1: TToolBar
|
||||||
Height = 73
|
Height = 95
|
||||||
ExplicitHeight = 73
|
ExplicitHeight = 95
|
||||||
inherited ToolButton3: TToolButton
|
inherited FontName: TJvFontComboBox [4]
|
||||||
Wrap = False
|
Left = 56
|
||||||
end
|
|
||||||
inherited ToolButton4: TToolButton
|
|
||||||
Left = 278
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 278
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton14: TToolButton
|
|
||||||
Left = 334
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 334
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited FontName: TJvFontComboBox
|
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 56
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
|
inherited ToolButton14: TToolButton [5]
|
||||||
|
Left = 201
|
||||||
|
Wrap = False
|
||||||
|
ExplicitLeft = 201
|
||||||
|
end
|
||||||
inherited FontSize: TEdit
|
inherited FontSize: TEdit
|
||||||
|
Left = 266
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 266
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited UpDown1: TUpDown
|
inherited UpDown1: TUpDown
|
||||||
|
Left = 308
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 308
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton
|
inherited ToolButton13: TToolButton
|
||||||
|
Left = 325
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 325
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
inherited ToolButton11: TToolButton [9]
|
||||||
|
Left = 333
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 333
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton12: TToolButton [10]
|
||||||
Top = 22
|
|
||||||
ExplicitTop = 22
|
|
||||||
end
|
|
||||||
inherited ToolButton8: TToolButton
|
|
||||||
Top = 22
|
|
||||||
ExplicitTop = 22
|
|
||||||
end
|
|
||||||
inherited ToolButton12: TToolButton
|
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 22
|
Top = 22
|
||||||
Wrap = True
|
Wrap = True
|
||||||
@ -53,28 +45,41 @@ inherited frViewDetallesFacturaCliente: TfrViewDetallesFacturaCliente
|
|||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
ExplicitHeight = 27
|
ExplicitHeight = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton [11]
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 49
|
Top = 49
|
||||||
ExplicitLeft = 0
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 49
|
ExplicitTop = 49
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton [12]
|
||||||
Left = 145
|
Left = 145
|
||||||
Top = 49
|
Top = 49
|
||||||
ExplicitLeft = 145
|
ExplicitLeft = 145
|
||||||
ExplicitTop = 49
|
ExplicitTop = 49
|
||||||
end
|
end
|
||||||
inherited ToolButton11: TToolButton
|
inherited ToolButton6: TToolButton [13]
|
||||||
Left = 270
|
Left = 270
|
||||||
Top = 49
|
Top = 49
|
||||||
ExplicitLeft = 270
|
ExplicitLeft = 270
|
||||||
ExplicitTop = 49
|
ExplicitTop = 49
|
||||||
end
|
end
|
||||||
|
inherited ToolButton7: TToolButton [14]
|
||||||
|
Left = 336
|
||||||
|
Top = 49
|
||||||
|
Wrap = True
|
||||||
|
ExplicitLeft = 336
|
||||||
|
ExplicitTop = 49
|
||||||
|
end
|
||||||
|
inherited ToolButton8: TToolButton [15]
|
||||||
|
Left = 0
|
||||||
|
Top = 71
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 71
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Top = 99
|
Top = 121
|
||||||
Height = 205
|
Height = 183
|
||||||
ExplicitTop = 99
|
ExplicitTop = 99
|
||||||
ExplicitHeight = 205
|
ExplicitHeight = 205
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
@ -82,9 +87,6 @@ inherited frViewDetallesFacturaCliente: TfrViewDetallesFacturaCliente
|
|||||||
Visible = False
|
Visible = False
|
||||||
VisibleForCustomization = False
|
VisibleForCustomization = False
|
||||||
end
|
end
|
||||||
inherited cxGridViewCANTIDAD: TcxGridDBColumn
|
|
||||||
Properties.ReadOnly = True
|
|
||||||
end
|
|
||||||
inherited cxGridViewUNIDAD_MEDIDA: TcxGridDBColumn
|
inherited cxGridViewUNIDAD_MEDIDA: TcxGridDBColumn
|
||||||
Visible = False
|
Visible = False
|
||||||
VisibleForCustomization = False
|
VisibleForCustomization = False
|
||||||
@ -92,8 +94,8 @@ inherited frViewDetallesFacturaCliente: TfrViewDetallesFacturaCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXDock1: TSpTBXDock
|
inherited TBXDock1: TSpTBXDock
|
||||||
Top = 73
|
Top = 95
|
||||||
ExplicitTop = 73
|
ExplicitTop = 68
|
||||||
inherited TBXToolbar1: TSpTBXToolbar
|
inherited TBXToolbar1: TSpTBXToolbar
|
||||||
DockPos = 0
|
DockPos = 0
|
||||||
inherited TBXSubmenuItem1: TSpTBXSubmenuItem
|
inherited TBXSubmenuItem1: TSpTBXSubmenuItem
|
||||||
|
|||||||
@ -13,7 +13,8 @@ uses
|
|||||||
JvExStdCtrls, JvCombobox, JvColorCombo, TB2Item, SpTBXItem, TB2Dock, TB2Toolbar,
|
JvExStdCtrls, JvCombobox, JvColorCombo, TB2Item, SpTBXItem, TB2Dock, TB2Toolbar,
|
||||||
uControllerDetallesArticulos, uViewDetallesArticulos, uBizFacturasCliente,
|
uControllerDetallesArticulos, uViewDetallesArticulos, uBizFacturasCliente,
|
||||||
uDAInterfaces, cxDropDownEdit, cxButtonEdit, Menus, cxGridCustomPopupMenu,
|
uDAInterfaces, cxDropDownEdit, cxButtonEdit, Menus, cxGridCustomPopupMenu,
|
||||||
cxGridPopupMenu, cxEditRepositoryItems, uViewDetallesArticulosParaVenta;
|
cxGridPopupMenu, cxEditRepositoryItems, uViewDetallesArticulosParaVenta,
|
||||||
|
cxLookAndFeels, cxLookAndFeelPainters;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewDetallesFacturaCliente = interface(IViewDetallesArticulos)
|
IViewDetallesFacturaCliente = interface(IViewDetallesArticulos)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
||||||
Width = 882
|
Width = 451
|
||||||
Height = 522
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
OnCreate = CustomViewCreate
|
OnCreate = CustomViewCreate
|
||||||
OnDestroy = CustomViewDestroy
|
OnDestroy = CustomViewDestroy
|
||||||
@ -9,26 +9,22 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
object dxLayoutControl1: TdxLayoutControl
|
object dxLayoutControl1: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 882
|
Width = 451
|
||||||
Height = 522
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
TabStop = False
|
TabStop = False
|
||||||
AutoContentSizes = [acsWidth, acsHeight]
|
LayoutLookAndFeel = dxLayoutOfficeLookAndFeel1
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel1
|
|
||||||
ExplicitWidth = 451
|
|
||||||
ExplicitHeight = 304
|
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
882
|
451
|
||||||
522)
|
304)
|
||||||
object eReferencia: TcxDBTextEdit
|
object eReferencia: TcxDBTextEdit
|
||||||
Left = 124
|
Left = 124
|
||||||
Top = 30
|
Top = 30
|
||||||
Anchors = [akLeft, akTop, akRight]
|
Anchors = [akLeft, akTop, akRight]
|
||||||
DataBinding.DataField = 'REFERENCIA'
|
DataBinding.DataField = 'REFERENCIA'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
Enabled = False
|
|
||||||
Properties.ReadOnly = False
|
Properties.ReadOnly = False
|
||||||
Style.BorderColor = clWindowFrame
|
Style.BorderColor = clWindowFrame
|
||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
@ -132,7 +128,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 269
|
Width = 269
|
||||||
end
|
end
|
||||||
object bFormasPago: TButton
|
object bFormasPago: TButton
|
||||||
Left = 404
|
Left = 172
|
||||||
Top = 103
|
Top = 103
|
||||||
Width = 132
|
Width = 132
|
||||||
Height = 23
|
Height = 23
|
||||||
@ -163,7 +159,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 165
|
Width = 165
|
||||||
end
|
end
|
||||||
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
||||||
Left = 575
|
Left = 343
|
||||||
Top = 30
|
Top = 30
|
||||||
Width = 295
|
Width = 295
|
||||||
Height = 200
|
Height = 200
|
||||||
@ -175,7 +171,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 575
|
ExplicitLeft = 343
|
||||||
ExplicitTop = 30
|
ExplicitTop = 30
|
||||||
ExplicitWidth = 295
|
ExplicitWidth = 295
|
||||||
ExplicitHeight = 200
|
ExplicitHeight = 200
|
||||||
@ -189,32 +185,36 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 224
|
||||||
|
Width = 224
|
||||||
end
|
end
|
||||||
inherited edtNIFCIF: TcxDBTextEdit
|
inherited edtNIFCIF: TcxDBTextEdit
|
||||||
Left = 172
|
Left = 171
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 172
|
ExplicitLeft = 171
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 83
|
Left = 82
|
||||||
ExplicitLeft = 83
|
ExplicitLeft = 82
|
||||||
end
|
end
|
||||||
inherited Button4: TButton
|
inherited Button4: TButton
|
||||||
Left = 252
|
Left = 251
|
||||||
ExplicitLeft = 252
|
ExplicitLeft = 251
|
||||||
end
|
end
|
||||||
inherited edtPersonaContacto: TcxDBTextEdit
|
inherited edtPersonaContacto: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 403
|
||||||
|
Width = 403
|
||||||
end
|
end
|
||||||
inherited Button5: TButton
|
inherited Button5: TButton
|
||||||
Left = 252
|
Left = 251
|
||||||
ExplicitLeft = 252
|
ExplicitLeft = 251
|
||||||
end
|
end
|
||||||
inherited edtDireccion: TcxMemo
|
inherited edtDireccion: TcxMemo
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -266,58 +266,62 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 275
|
Width = 275
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
ShowCaption = False
|
AlignHorz = ahParentManaged
|
||||||
|
AlignVert = avParentManaged
|
||||||
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group9: TdxLayoutGroup
|
object dxLayoutControl1Group9: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group1: TdxLayoutGroup
|
object dxLayoutControl1Group1: TdxLayoutGroup
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Datos de la factura'
|
CaptionOptions.Text = 'Datos de la factura'
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
object dxLayoutControl1Item1: TdxLayoutItem
|
object dxLayoutControl1Item1: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Referencia:'
|
CaptionOptions.Text = 'Referencia:'
|
||||||
Control = eReferencia
|
Control = eReferencia
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item2: TdxLayoutItem
|
object dxLayoutControl1Item2: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Fecha de la factura:'
|
CaptionOptions.Text = 'Fecha de la factura:'
|
||||||
Control = edtFecha
|
Control = edtFecha
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group6: TdxLayoutGroup
|
object dxLayoutControl1Group6: TdxLayoutGroup
|
||||||
Caption = 'Forma de pago'
|
CaptionOptions.Text = 'Forma de pago'
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
object dxLayoutControl1Group4: TdxLayoutGroup
|
object dxLayoutControl1Group4: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group3: TdxLayoutGroup
|
object dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item4: TdxLayoutItem
|
object dxLayoutControl1Item4: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Caption = 'Forma de pago:'
|
CaptionOptions.Text = 'Forma de pago:'
|
||||||
Control = cbFormaPago
|
Control = cbFormaPago
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item10: TdxLayoutItem
|
object dxLayoutControl1Item10: TdxLayoutItem
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
Control = bFormasPago
|
Control = bFormasPago
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ledtFechaVencimiento: TdxLayoutItem
|
object ledtFechaVencimiento: TdxLayoutItem
|
||||||
Caption = 'Fecha de vencimiento:'
|
CaptionOptions.Text = 'Fecha de vencimiento:'
|
||||||
Enabled = False
|
Enabled = False
|
||||||
Visible = False
|
Visible = False
|
||||||
Control = edtFechaVemcimiento
|
Control = edtFechaVemcimiento
|
||||||
@ -325,20 +329,20 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item3: TdxLayoutItem
|
object dxLayoutControl1Item3: TdxLayoutItem
|
||||||
Caption = 'Cuenta bancaria:'
|
CaptionOptions.Text = 'Cuenta bancaria:'
|
||||||
Control = cbCuentaBancaria
|
Control = cbCuentaBancaria
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group2: TdxLayoutGroup
|
object dxLayoutControl1Group2: TdxLayoutGroup
|
||||||
AutoAligns = []
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
AlignVert = avClient
|
AlignVert = avClient
|
||||||
Caption = 'Datos del cliente'
|
CaptionOptions.Text = 'Datos del cliente'
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
object dxLayoutControl1Item6: TdxLayoutItem
|
object dxLayoutControl1Item6: TdxLayoutItem
|
||||||
Caption = 'frViewDatosYSeleccionClienteFacturaCliente1'
|
CaptionOptions.Text = 'frViewDatosYSeleccionClienteFacturaCliente1'
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
Control = frViewDatosYSeleccionClienteFacturaCliente1
|
Control = frViewDatosYSeleccionClienteFacturaCliente1
|
||||||
ControlOptions.AutoColor = True
|
ControlOptions.AutoColor = True
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
@ -346,13 +350,12 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group5: TdxLayoutGroup
|
object dxLayoutControl1Group5: TdxLayoutGroup
|
||||||
AutoAligns = []
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
AlignVert = avClient
|
AlignVert = avClient
|
||||||
Caption = 'Observaciones'
|
CaptionOptions.Text = 'Observaciones'
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
object dxLayoutControl1Item5: TdxLayoutItem
|
object dxLayoutControl1Item5: TdxLayoutItem
|
||||||
AutoAligns = []
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
AlignVert = avClient
|
AlignVert = avClient
|
||||||
Control = memObservaciones
|
Control = memObservaciones
|
||||||
|
|||||||
@ -10,7 +10,8 @@ uses
|
|||||||
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
||||||
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
||||||
cxDBLookupComboBox, uFormasPagoController, uDAInterfaces, uBizFormasPago,
|
cxDBLookupComboBox, uFormasPagoController, uDAInterfaces, uBizFormasPago,
|
||||||
ActnList, uViewDatosYSeleccionClienteFacturaCliente, uFacturasClienteController;
|
ActnList, uViewDatosYSeleccionClienteFacturaCliente, uFacturasClienteController,
|
||||||
|
cxLookAndFeels, cxLookAndFeelPainters, dxLayoutcxEditAdapters;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewFacturaCliente = interface(IViewBase)
|
IViewFacturaCliente = interface(IViewBase)
|
||||||
|
|||||||
@ -144,6 +144,7 @@ inherited frViewFacturasCliente: TfrViewFacturasCliente
|
|||||||
Width = 665
|
Width = 665
|
||||||
ExplicitWidth = 665
|
ExplicitWidth = 665
|
||||||
inherited TBXDockablePanel1: TSpTBXDockablePanel
|
inherited TBXDockablePanel1: TSpTBXDockablePanel
|
||||||
|
Width = 665
|
||||||
ExplicitWidth = 665
|
ExplicitWidth = 665
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 665
|
Width = 665
|
||||||
@ -186,7 +187,7 @@ inherited frViewFacturasCliente: TfrViewFacturasCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
inherited TBXAlignmentPanel1: TSpTBXDockablePanel
|
||||||
Width = 665
|
Width = 655
|
||||||
ExplicitWidth = 665
|
ExplicitWidth = 665
|
||||||
inherited tbxBotones: TSpTBXToolbar
|
inherited tbxBotones: TSpTBXToolbar
|
||||||
Width = 655
|
Width = 655
|
||||||
@ -197,6 +198,7 @@ inherited frViewFacturasCliente: TfrViewFacturasCliente
|
|||||||
end
|
end
|
||||||
inherited pnlAgrupaciones: TSpTBXDockablePanel
|
inherited pnlAgrupaciones: TSpTBXDockablePanel
|
||||||
Top = 392
|
Top = 392
|
||||||
|
Width = 665
|
||||||
Visible = True
|
Visible = True
|
||||||
ExplicitTop = 392
|
ExplicitTop = 392
|
||||||
ExplicitWidth = 665
|
ExplicitWidth = 665
|
||||||
@ -204,7 +206,7 @@ inherited frViewFacturasCliente: TfrViewFacturasCliente
|
|||||||
Width = 665
|
Width = 665
|
||||||
ExplicitWidth = 665
|
ExplicitWidth = 665
|
||||||
inherited TBXToolbar1: TSpTBXToolbar
|
inherited TBXToolbar1: TSpTBXToolbar
|
||||||
Width = 655
|
Width = 665
|
||||||
ExplicitWidth = 655
|
ExplicitWidth = 655
|
||||||
object TBXSeparatorItem2: TSpTBXSeparatorItem
|
object TBXSeparatorItem2: TSpTBXSeparatorItem
|
||||||
end
|
end
|
||||||
|
|||||||
@ -14,7 +14,9 @@ uses
|
|||||||
cxImage, Grids, DBGrids, uBizFacturasCliente, cxGridCustomPopupMenu,
|
cxImage, Grids, DBGrids, uBizFacturasCliente, cxGridCustomPopupMenu,
|
||||||
cxGridPopupMenu, cxCalendar, cxCurrencyEdit, uViewFiltroBase, TB2Item, SpTBXItem,
|
cxGridPopupMenu, cxCalendar, cxCurrencyEdit, uViewFiltroBase, TB2Item, SpTBXItem,
|
||||||
TB2Toolbar, SpTBXDkPanels, TB2Dock, dxPgsDlg, uDAInterfaces, uCustomView,
|
TB2Toolbar, SpTBXDkPanels, TB2Dock, dxPgsDlg, uDAInterfaces, uCustomView,
|
||||||
uViewBase;
|
uViewBase, cxLookAndFeels, cxLookAndFeelPainters, dxPSPDFExportCore,
|
||||||
|
dxPSPDFExport, cxDrawTextUtils, dxPSPrVwStd, dxPSPrVwAdv,
|
||||||
|
dxPScxEditorProducers, dxPScxExtEditorProducers, dxPScxPageControlProducer;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewFacturasCliente = interface(IViewGrid)
|
IViewFacturasCliente = interface(IViewGrid)
|
||||||
|
|||||||
@ -14,12 +14,14 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
ExplicitHeight = 156
|
ExplicitHeight = 156
|
||||||
end
|
end
|
||||||
inherited Bevel4: TBevel
|
inherited Bevel4: TBevel
|
||||||
Left = 388
|
Left = 389
|
||||||
Top = 52
|
Top = 52
|
||||||
Width = 317
|
Width = 317
|
||||||
ExplicitLeft = 388
|
Height = 9
|
||||||
|
ExplicitLeft = 389
|
||||||
ExplicitTop = 52
|
ExplicitTop = 52
|
||||||
ExplicitWidth = 317
|
ExplicitWidth = 317
|
||||||
|
ExplicitHeight = 9
|
||||||
end
|
end
|
||||||
inherited ImporteDto: TcxDBCurrencyEdit
|
inherited ImporteDto: TcxDBCurrencyEdit
|
||||||
Left = 173
|
Left = 173
|
||||||
@ -34,7 +36,7 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
ExplicitTop = 37
|
ExplicitTop = 37
|
||||||
end
|
end
|
||||||
inherited ImporteIVA: TcxDBCurrencyEdit
|
inherited ImporteIVA: TcxDBCurrencyEdit
|
||||||
Left = 459
|
Left = 460
|
||||||
Top = 87
|
Top = 87
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -42,7 +44,7 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
ExplicitLeft = 459
|
ExplicitLeft = 460
|
||||||
ExplicitTop = 87
|
ExplicitTop = 87
|
||||||
end
|
end
|
||||||
inherited ImporteTotal: TcxDBCurrencyEdit
|
inherited ImporteTotal: TcxDBCurrencyEdit
|
||||||
@ -56,6 +58,8 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
TabOrder = 14
|
TabOrder = 14
|
||||||
ExplicitLeft = 389
|
ExplicitLeft = 389
|
||||||
ExplicitTop = 141
|
ExplicitTop = 141
|
||||||
|
ExplicitWidth = 90
|
||||||
|
Width = 90
|
||||||
end
|
end
|
||||||
inherited edtDescuento: TcxDBSpinEdit
|
inherited edtDescuento: TcxDBSpinEdit
|
||||||
Left = 102
|
Left = 102
|
||||||
@ -69,7 +73,7 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
ExplicitTop = 37
|
ExplicitTop = 37
|
||||||
end
|
end
|
||||||
inherited edtIVA: TcxDBSpinEdit
|
inherited edtIVA: TcxDBSpinEdit
|
||||||
Left = 388
|
Left = 389
|
||||||
Top = 87
|
Top = 87
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -77,11 +81,11 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 10
|
TabOrder = 10
|
||||||
ExplicitLeft = 388
|
ExplicitLeft = 389
|
||||||
ExplicitTop = 87
|
ExplicitTop = 87
|
||||||
end
|
end
|
||||||
inherited ImporteBase: TcxDBCurrencyEdit
|
inherited ImporteBase: TcxDBCurrencyEdit
|
||||||
Left = 388
|
Left = 389
|
||||||
Top = 10
|
Top = 10
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -89,11 +93,11 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 9
|
TabOrder = 9
|
||||||
ExplicitLeft = 388
|
ExplicitLeft = 389
|
||||||
ExplicitTop = 10
|
ExplicitTop = 10
|
||||||
end
|
end
|
||||||
inherited edtRE: TcxDBSpinEdit
|
inherited edtRE: TcxDBSpinEdit
|
||||||
Left = 388
|
Left = 389
|
||||||
Top = 114
|
Top = 114
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -101,11 +105,11 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 12
|
TabOrder = 12
|
||||||
ExplicitLeft = 388
|
ExplicitLeft = 389
|
||||||
ExplicitTop = 114
|
ExplicitTop = 114
|
||||||
end
|
end
|
||||||
inherited ImporteRE: TcxDBCurrencyEdit
|
inherited ImporteRE: TcxDBCurrencyEdit
|
||||||
Left = 459
|
Left = 460
|
||||||
Top = 114
|
Top = 114
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -113,7 +117,7 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 13
|
TabOrder = 13
|
||||||
ExplicitLeft = 459
|
ExplicitLeft = 460
|
||||||
ExplicitTop = 114
|
ExplicitTop = 114
|
||||||
end
|
end
|
||||||
inherited eImporteNeto: TcxDBCurrencyEdit
|
inherited eImporteNeto: TcxDBCurrencyEdit
|
||||||
@ -244,7 +248,7 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
end
|
end
|
||||||
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Group1: TdxLayoutGroup
|
inherited dxLayoutControl1Group1: TdxLayoutGroup
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
inherited dxLayoutControl1Group2: TdxLayoutGroup
|
inherited dxLayoutControl1Group2: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Item8: TdxLayoutItem
|
inherited dxLayoutControl1Item8: TdxLayoutItem
|
||||||
@ -253,24 +257,24 @@ inherited frViewTotalesFactura: TfrViewTotalesFactura
|
|||||||
inherited dxLayoutControl1Group7: TdxLayoutGroup
|
inherited dxLayoutControl1Group7: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Group10: TdxLayoutGroup
|
inherited dxLayoutControl1Group10: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Item4: TdxLayoutItem
|
inherited dxLayoutControl1Item4: TdxLayoutItem
|
||||||
Caption = 'Dto. cliente (%):'
|
CaptionOptions.Text = 'Dto. cliente (%):'
|
||||||
end
|
end
|
||||||
inherited dxLayoutControl1Item1: TdxLayoutItem
|
inherited dxLayoutControl1Item1: TdxLayoutItem
|
||||||
Enabled = False
|
Enabled = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group12: TdxLayoutGroup [1]
|
object dxLayoutControl1Group12: TdxLayoutGroup [1]
|
||||||
ShowCaption = False
|
CaptionOptions.Visible = False
|
||||||
|
ButtonOptions.Buttons = <>
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item20: TdxLayoutItem
|
object dxLayoutControl1Item20: TdxLayoutItem
|
||||||
Caption = 'Dto. pronto pago:'
|
CaptionOptions.Text = 'Dto. pronto pago:'
|
||||||
Control = eDescuento2
|
Control = eDescuento2
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item22: TdxLayoutItem
|
object dxLayoutControl1Item22: TdxLayoutItem
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
AlignHorz = ahClient
|
||||||
Enabled = False
|
Enabled = False
|
||||||
Control = eImporteDto2
|
Control = eImporteDto2
|
||||||
|
|||||||
@ -8,7 +8,8 @@ uses
|
|||||||
uDADataTable, dxLayoutControl, cxDropDownEdit, cxCalendar, cxDBEdit,
|
uDADataTable, dxLayoutControl, cxDropDownEdit, cxCalendar, cxDBEdit,
|
||||||
cxCheckBox, StdCtrls, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,
|
cxCheckBox, StdCtrls, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,
|
||||||
cxMaskEdit, cxSpinEdit, cxContainer, cxEdit, cxTextEdit, cxCurrencyEdit,
|
cxMaskEdit, cxSpinEdit, cxContainer, cxEdit, cxTextEdit, cxCurrencyEdit,
|
||||||
cxControls, ExtCtrls;
|
cxControls, ExtCtrls, cxLookAndFeels, cxLookAndFeelPainters,
|
||||||
|
dxLayoutcxEditAdapters;
|
||||||
|
|
||||||
type
|
type
|
||||||
TfrViewTotalesFactura = class(TfrViewTotales)
|
TfrViewTotalesFactura = class(TfrViewTotales)
|
||||||
|
|||||||
@ -254,7 +254,11 @@
|
|||||||
</Parameter>
|
</Parameter>
|
||||||
<Parameter Name="ListaID" DataType="TIntegerArray" Flag="In" >
|
<Parameter Name="ListaID" DataType="TIntegerArray" Flag="In" >
|
||||||
</Parameter>
|
</Parameter>
|
||||||
<Parameter Name="Marca" DataType="Integer" Flag="In" >
|
<Parameter Name="Original" DataType="Integer" Flag="In" >
|
||||||
|
</Parameter>
|
||||||
|
<Parameter Name="Copia" DataType="Integer" Flag="In" >
|
||||||
|
</Parameter>
|
||||||
|
<Parameter Name="Contabilidad" DataType="Integer" Flag="In" >
|
||||||
</Parameter>
|
</Parameter>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</Operation>
|
</Operation>
|
||||||
|
|||||||
@ -502,7 +502,7 @@ type
|
|||||||
{ IsrvFacturasCliente }
|
{ IsrvFacturasCliente }
|
||||||
IsrvFacturasCliente = interface(IDataAbstractService)
|
IsrvFacturasCliente = interface(IDataAbstractService)
|
||||||
['{56B4FFF0-AB1B-46B2-BA16-ABD5360F6311}']
|
['{56B4FFF0-AB1B-46B2-BA16-ABD5360F6311}']
|
||||||
function GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ CosrvFacturasCliente }
|
{ CosrvFacturasCliente }
|
||||||
@ -515,7 +515,7 @@ type
|
|||||||
protected
|
protected
|
||||||
function __GetInterfaceName:string; override;
|
function __GetInterfaceName:string; override;
|
||||||
|
|
||||||
function GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ IsrvFacturasProveedor }
|
{ IsrvFacturasProveedor }
|
||||||
@ -1678,13 +1678,15 @@ begin
|
|||||||
result := 'srvFacturasCliente';
|
result := 'srvFacturasCliente';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TsrvFacturasCliente_Proxy.GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary;
|
function TsrvFacturasCliente_Proxy.GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary;
|
||||||
begin
|
begin
|
||||||
try
|
try
|
||||||
result := nil;
|
result := nil;
|
||||||
__Message.InitializeRequestMessage(__TransportChannel, 'FactuGES', __InterfaceName, 'GenerarInforme');
|
__Message.InitializeRequestMessage(__TransportChannel, 'FactuGES', __InterfaceName, 'GenerarInforme');
|
||||||
__Message.Write('ListaID', TypeInfo(FactuGES_Intf.TIntegerArray), ListaID, []);
|
__Message.Write('ListaID', TypeInfo(FactuGES_Intf.TIntegerArray), ListaID, []);
|
||||||
__Message.Write('Marca', TypeInfo(Integer), Marca, []);
|
__Message.Write('Original', TypeInfo(Integer), Original, []);
|
||||||
|
__Message.Write('Copia', TypeInfo(Integer), Copia, []);
|
||||||
|
__Message.Write('Contabilidad', TypeInfo(Integer), Contabilidad, []);
|
||||||
__Message.Finalize;
|
__Message.Finalize;
|
||||||
|
|
||||||
__TransportChannel.Dispatch(__Message);
|
__TransportChannel.Dispatch(__Message);
|
||||||
|
|||||||
@ -791,10 +791,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TsrvFacturasCliente_Invoker.Invoke_GenerarInforme(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
procedure TsrvFacturasCliente_Invoker.Invoke_GenerarInforme(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
{ function GenerarInforme(const ListaID: TIntegerArray; const Marca: Integer): Binary; }
|
{ function GenerarInforme(const ListaID: TIntegerArray; const Original: Integer; const Copia: Integer; const Contabilidad: Integer): Binary; }
|
||||||
var
|
var
|
||||||
ListaID: FactuGES_Intf.TIntegerArray;
|
ListaID: FactuGES_Intf.TIntegerArray;
|
||||||
Marca: Integer;
|
Original: Integer;
|
||||||
|
Copia: Integer;
|
||||||
|
Contabilidad: Integer;
|
||||||
lResult: Binary;
|
lResult: Binary;
|
||||||
__lObjectDisposer: TROObjectDisposer;
|
__lObjectDisposer: TROObjectDisposer;
|
||||||
begin
|
begin
|
||||||
@ -802,9 +804,11 @@ begin
|
|||||||
lResult := nil;
|
lResult := nil;
|
||||||
try
|
try
|
||||||
__Message.Read('ListaID', TypeInfo(FactuGES_Intf.TIntegerArray), ListaID, []);
|
__Message.Read('ListaID', TypeInfo(FactuGES_Intf.TIntegerArray), ListaID, []);
|
||||||
__Message.Read('Marca', TypeInfo(Integer), Marca, []);
|
__Message.Read('Original', TypeInfo(Integer), Original, []);
|
||||||
|
__Message.Read('Copia', TypeInfo(Integer), Copia, []);
|
||||||
|
__Message.Read('Contabilidad', TypeInfo(Integer), Contabilidad, []);
|
||||||
|
|
||||||
lResult := (__Instance as IsrvFacturasCliente).GenerarInforme(ListaID, Marca);
|
lResult := (__Instance as IsrvFacturasCliente).GenerarInforme(ListaID, Original, Copia, Contabilidad);
|
||||||
|
|
||||||
__Message.InitializeResponseMessage(__Transport, 'FactuGES', 'srvFacturasCliente', 'GenerarInformeResponse');
|
__Message.InitializeResponseMessage(__Transport, 'FactuGES', 'srvFacturasCliente', 'GenerarInformeResponse');
|
||||||
__Message.Write('Result', TypeInfo(Binary), lResult, []);
|
__Message.Write('Result', TypeInfo(Binary), lResult, []);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileVersion", "1.0.0.0\0"
|
VALUE "FileVersion", "1.0.0.0\0"
|
||||||
VALUE "ProductVersion", "1.0.0.0\0"
|
VALUE "ProductVersion", "1.0.0.0\0"
|
||||||
VALUE "CompileDate", "viernes, 29 de enero de 2010 18:04\0"
|
VALUE "CompileDate", "lunes, 01 de febrero de 2010 13:18\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Reference in New Issue
Block a user