topic
stringlengths
1
63
text
stringlengths
1
577k
Adding days to a date
How do I add days to this date format 10/15/13 want to add 7 days. Make it 10/22/13. Tried 10/15/13+7 but keep getting an argument error. Help. Thanks in advance.
Adding days to a date
Following code should work: [code=fw:3bss9sbq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET DATE AMERICAN<br />dDate := cToD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"10/15/13"</span> <span style="color: #000000;">&#41;</span><br />newDate := dDate + <span style="color: #000000;">7</span><br />&nbsp;</div>[/code:3bss9sbq]
Adding days to a date
Thanks it was perfect.
Adding jpeg to a database and browsing them
Hello, I use a MySQL engine to store data. I want to add a collumn with a JPEG-picture. I know that MySQL can store bitmaps (in a blob I think) But how can I store a JPG or another graphical file into the databank. How can I read it back to show it into a xBrowse Greetings and thanks, Willy
Adding jpeg to a database and browsing them
Willy; Hi. Set a new table with at least two fields. The first field is the key that ids the record back to the master table and the 2nd field is a BLOB field. Then using BLOBIMPORT you can store the jgp (after scanning the image) into the binary field. Using BLOBEXPORT you can recreate the jgp file and display. Works quite well. You could also add a BLOB field to the table in question and do it directly to that field. Reinaldo.
Adding jpeg to a database and browsing them
hi Willy, see this sample in FiveWin.com.br <!-- m --><a class="postlink" href="http://www.fivewin.com.br/exibedicas.asp?id=801">http://www.fivewin.com.br/exibedicas.asp?id=801</a><!-- m --> regards
Adding jpeg to a database and browsing them
I have done already some tests. I do further testing. It seems it will work but I have still some questions. Is'nt it so that with the mentioned functions there is made a temporary file on the harddisk before paintig it in a screen. Is'nt there a solution that paint the bitmap without writing to hardisk. Thanks, Greetings. Willy.
Adding jpeg to a database and browsing them
The BlobExport() function gives an unresolved external. Is this function added in the commercial SQL driver from xHarbour. I also tried to download the Locadora example from the Brazilian Site. To make this test complete I need also the structure of the database. Is'nt this only a working executable. Is'nt there also a code example. Thanks Willy
Adding jpeg to a database and browsing them
Load the image to memvar ... [code:2sgdyi5t] cImagen &#58;= "" nBytes &#58;= 0 nHandle &#58;= FOpen&#40; AllTrim&#40; &#40;PasoLink&#41;->DocuExte &#41; &#41; While &#46;T&#46; nBytes &#58;= FRead&#40; nHandle, @cBuffer, nBufSize &#41; If nBytes > 0 cImagen += SubStr&#40; cBuffer, 1, nBytes &#41; Else EXIT EndIf EndDo FClose&#40; nHandle &#41; If !Empty&#40; cImagen &#41; cBase64 &#58;= cMimeEnc&#40; cImagen &#41; // transforma en texto UPDATE EMAELINK SET TEXTO=cBase64 BREAK EndIf [/code:2sgdyi5t] The read data [code:2sgdyi5t] cDocuExte &#58;= AllTrim&#40; Vcc&#40;TMaes,"DOCUEXTE"&#41; &#41; cBase64 &#58;= cMimeDec&#40; Vcc&#40;TMaes,"TEXTO"&#41; &#41; // se des-transforma desde texto !! If &#40; nPos &#58;= RAT&#40; "\", cDocuExte&#41; &#41;<>0 cFile &#58;= StrTran&#40; cDocuExte, SubStr&#40; cDocuExte, 1, nPos &#41;, "" &#41; Else cFile &#58;= cDocuExte EndIf If "PDF" $ UPPER&#40;cFile&#41; lEsPDF &#58;= &#46;T&#46; Else lEsPDF &#58;= &#46;F&#46; EndIf cFile &#58;= DEFATMP + "\" + cFile nHandle &#58;= FCreate&#40; cFile &#41; FWrite&#40; nHandle, cBase64 &#41; FClose&#40; nHandle &#41; If lEsPDF // no se por que solo se llama con 2 llamadas Shellexecute&#40; oPadre&#58;hwnd, "open", cFile &#41; Shellexecute&#40; oPadre&#58;hwnd, "open", cFile &#41; Else Shellexecute&#40; oPadre&#58;hwnd, "open", cFile &#41; EndIf [/code:2sgdyi5t] -------------- SPANISH ON ------------------- Lo que hice fue, leer el archivo en forma binaria, transformarlo a Base64 ( texto ), guardarlo, y para recuperarlo lo leo de la base de datos, y lo vuelvo a su forma original, lo pongo en un archivo y lo guardo ( fwrite ), luego lo visualizo. Eso.... Saludos
Adding new Obj files for Harbour bcc7
I am new to using Harbour and the newest version of FiveWin. How do I add to the Buildh.bat to add additional source files to my project. Additionally if I wanted to create my own lib how would that be done. Are there examples, I might have missed them. Thanks, Byron ...
Adding new Obj files for Harbour bcc7
Byron, If you are going to use several PRGs to build your app then you should consider to use a makefile. Here you have a working one that you can easily modify: [url:2w7x0k9a]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=29271&p=165093[/url:2w7x0k9a] I think that we have not published a makefile to build a library using Borland. I am going to prepare an example.
Adding new Obj files for Harbour bcc7
Borland makefile example to build a library go.bat [code=fw:v3dzxch3]<div class="fw" id="{CB}" style="font-family: monospace;">c:\bcc7\bin\make -fmylib.mak</div>[/code:v3dzxch3] mylib.mak [code=fw:v3dzxch3]<div class="fw" id="{CB}" style="font-family: monospace;">PRG =    \<br />ONE.PRG  \<br />TWO.PRG  \<br />THREE.PRG <br /><br />PROJECT    : <span style="color: #000000;">mylib</span>.lib<br /><br />mylib.lib : $<span style="color: #000000;">&#40;</span>PRG:.PRG=.OBJ<span style="color: #000000;">&#41;</span><br /><br />.PRG.OBJ:<br />   c:\harbour\bin\harbour $< /n /ic:\fwh\include /ic:\harbour\include<br />   c:\bcc7\bin\bcc32 -c -tWM -Ic:\harbour\include -o$& $&.c<br />   c:\bcc7\bin\tlib mylib.lib -+$&.obj /<span style="color: #000000;">0</span> /P64,,</div>[/code:v3dzxch3]
Adding new Obj files for Harbour bcc7
Thanks for you assistance. Worked great...
Adding support for PIXEL clause
This is easy to do. I'll use the TSay Class as an example.You need to modify FiveLinux.ch (better still copy to FiveLinuxME.ch) and change as follows:[code:2fsa3k1l]#xcommand @ <nRow>, <nCol> SAY &#91; <oSay> <label&#58; PROMPT, VAR> &#93; <cText> ; &#91; <of&#58; OF, WINDOW, DIALOG> <oWnd> &#93; ; &#91; SIZE <nWidth>, <nHeight> &#93; ; &#91; <update&#58; UPDATE> &#93; ; &#91; <pixel&#58; PIXEL> &#93; ; => ; &#91; <oSay> &#58;= &#93; TSay&#40;&#41;&#58;New&#40; <nRow>, <nCol>, &#91;<oWnd>&#93;,; <cText>, <nWidth>, <nHeight>, <&#46;update&#46;>, <&#46;pixel&#46;> &#41;[/code:2fsa3k1l] and modify get.prg as follows: [code:2fsa3k1l]#include "FiveLinux&#46;ch" CLASS TSay FROM TControl METHOD New&#40; nRow, nCol, oWnd, cText, nWidth, nHeight, lUpdate &#41; METHOD SetText&#40; cText &#41; INLINE SaySetText&#40; &#58;&#58;hWnd, cText &#41; METHOD GetText&#40;&#41; INLINE SayGetText&#40; &#58;&#58;hWnd &#41; ENDCLASS METHOD New&#40; nRow, nCol, oWnd, cText, nWidth, nHeight, lUpdate, lPixel &#41; CLASS TSay DEFAULT oWnd &#58;= GetWndDefault&#40;&#41;, nWidth &#58;= 60, nHeight &#58;= 25,; lUpdate &#58;= &#46;f&#46;, lPixel &#58;= &#46;F&#46; &#58;&#58;hWnd = CreateSay&#40; cText &#41; &#58;&#58;lUpdate = lUpdate oWnd&#58;AddControl&#40; Self &#41; SetParent&#40; &#58;&#58;hWnd, oWnd&#58;hWnd &#41; IF lPixel SetCoors&#40; &#58;&#58;hWnd, nRow, nCol &#41; ELSE SetCoors&#40; &#58;&#58;hWnd, nRow * 10, nCol * 10 &#41; ENDIF SetSize&#40; &#58;&#58;hWnd, nWidth, nHeight &#41; &#58;&#58;Link&#40;&#41; return Self[/code:2fsa3k1l]Method New has an additional parameter (lPixel) which if set just avoids multiplying nRow and nCol by 10 (which is how FiveLinux "simulates" rows and columns). I was tempted make this the default behaviour, but in the end decided that it was probably best to stay compatible with FiveWin.Happy tinkering!xProgrammer
Adding support for PIXEL clause
Doug,It seems that somehow you are not using the latest FiveLinux files as the PIXEL clause is already available since long time ago.Please contact me by email to synchronize our sources, thanks
Adding to a Class Object.
What I am trying to do is add Data/Var Statement to a Class Object that has already been Defined. I wish to be able to do this from a data driven Method from within the Class. My data will come from a control file that is Loaded into a Array that is then Pass to the Class after the Object is Created. I am using xHarbour and Fivewin for Harbour 2.6 Feb Build 2007. I have seen the Command in xHarbour. EXTEND CLASS ... WITH DATA .... EXTEND CLASS ... WITH METHOD ...... And I see how to use this Statement from within Hard Coded Source Code. But What I What to do is to have this statements to Be Data Driven. And Create from Control/Setup Files Loaded into Data Arrays.
Adding to a Class Object.
Jim, Just check how these commands are preprocessed and you will have the way to use them data driven. Please review hbclass.ch
Adding xBrowse nDataBmpAlign := ""AL_BOTTOM"" possible ?
Maybe possible to add [b:2lfga25w]nDataBmpAlign := "AL_BOTTOM"[/b:2lfga25w] in xBrowse to show a image at Col-bottom for statistic ? The image should not be stretched to Col-height. I changed from INI to DBF. Now I can handle as many books I like with a included statistic. I want to show created statistic-Images at bottom using different height ( top green = 100 % ) : The height of the image is calculated from the reached percent. ( each selected book can have a different Dialog-background ) [img:2lfga25w]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Rating10&#46;jpg[/img:2lfga25w] best regards uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
Adding xBrowse nDataBmpAlign := ""AL_BOTTOM"" possible ?
I got it working using the same hight and the unused area transparent. But better to display at col-bottom and calculate the needed image-hight. [img:2eaogtk8]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Rating11&#46;jpg[/img:2eaogtk8] best regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Adding/Removing tabstop
I was wondering if there was a way to add or remove the WS_TABSTOP from a get on a dialog ? The dialog is from an RC file and could also be from a dll file
Adding/Removing tabstop
Can't you just disable the control you don't want to have tabstop? EMG
Adding/Removing tabstop
Disabling isn't going to work in the situation. because sometimes control 100 ( for example ) will be a say, and sometimes it will be a get and control 200 etc so rathert than having duplicates of each control in the rc I have everything working except for removing the tabstop when its a say, or conversely adding a tabstop when its a get.
Adding/Removing tabstop
SAYs can't have tabstop, as far as I know. What am I missing? EMG
Adding/Removing tabstop
You're right ... but you can use the same edit text box control in an rc or dll file, for a get or a say, with the read only property. when it's redefined as a "Say" , i have to set the colors to look like a normal "say". the only problem is the tab stop. I would like to remove it when i use the text box control as a "say" , or conversely add it when its used as a get.
Adding/Removing tabstop
You can disable the GET and change its default disabled-color (oGet:lDisColors) to CLR_BLACK. EMG
Adding/Removing tabstop
Why not just use a normal disabled GET? This is variable data that you are displaying--either editable or not. If you display non-editable data in a disabled GET (with the disabled colors) then everyone knows what it is. This is standard behavior. If you deviate from the standard then you confuse people.
Adding/Removing tabstop
That's kinda what I did in the end .. except I didn't want the disable look but i did use the button colour as the background colour for the get. I had to hide some as well. THanks for all suggestions
Addons para Dolphin
Amigos, estoy en proceso de migrar una app que actualmente usa ADS Server a MYSQL usando Dolphin y les comentos que me esta yendo de maravilla, la velocidad de la app en browses es abismal, estoy como al 20% y estoy entusiasmado, mucho. le dejos algunas cosillas que he agregado a dolphin para hacerme mas facil la vida. adicionalmente les comento que estoy usando la dll cliente de MariaSQL libmariadb.dll en lulgar de libmysql.lib [code=fw:1vvuijpk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp;oServer:<span style="color: #000000;">Execute2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"UPDATE USUARIOS SET HISTORICO=CONCAT(HISTORICO, %1 ) WHERE IDENTIDAD=%2"</span>, <span style="color: #000000;">&#123;</span> cLog, cUserIden &nbsp;<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1vvuijpk] [code=fw:1vvuijpk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; oQryCiud := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT NUM_CIUD, NOMBRE FROM CIUDADES ORDER BY NOMBRE"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !Empty<span style="color: #000000;">&#40;</span> cFiltro <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryFeri := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT * FROM vCATFERI WHERE NUM_CIUD=%1 OR NUM_CIUD=0 ORDER BY FECHA"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #000000;">10</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryFeri := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT * FROM vCATFERI ORDER BY FECHA"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; oQryCiud:<span style="color: #000000;">FillDbf</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TBLCIUD"</span>, <span style="color: #ff0000;">"TEMP1"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oQryCiud:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;CATCH oError<br />&nbsp; &nbsp; &nbsp; IIf<span style="color: #000000;">&#40;</span> HB_IsObject<span style="color: #000000;">&#40;</span> oQryCiud <span style="color: #000000;">&#41;</span>, oQryCiud:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; IIf<span style="color: #000000;">&#40;</span> HB_IsObject<span style="color: #000000;">&#40;</span> oQryFeri <span style="color: #000000;">&#41;</span>, oQryFeri:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp;END<br />&nbsp;</div>[/code:1vvuijpk] [code=fw:1vvuijpk]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br /><br />PROCEDURE MisExtenciones<br /><br />&nbsp; &nbsp;EXTEND <span style="color: #00C800;">CLASS</span> TDOLPHINQRY WITH <span style="color: #00C800;">METHOD</span> FillDbf <span style="color: #B900B9;">//toma la consulta y la pasa una tabla </span><br />&nbsp; &nbsp;EXTEND <span style="color: #00C800;">CLASS</span> TDOLPHINSRV WITH <span style="color: #00C800;">METHOD</span> Query2 <span style="color: #B900B9;">//query con parametros</span><br />&nbsp; &nbsp;EXTEND <span style="color: #00C800;">CLASS</span> TDOLPHINSRV WITH <span style="color: #00C800;">METHOD</span> Execute2 <span style="color: #B900B9;">//execute con parametros</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> FillDbf<span style="color: #000000;">&#40;</span> cTable, cAlias, bOnStart, bOnEnd <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> <span style="color: #00C800;">Self</span> &nbsp; &nbsp; &nbsp; := HB_QSelf<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lCreated &nbsp; := <span style="color: #00C800;">FALSE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aStructure := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> x, cOldAlias := <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> cTable := <span style="color: #ff0000;">"SQLRESULT"</span>, cAlias := cTable, bOnStart := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#125;</span>, bOnEnd := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;Eval<span style="color: #000000;">&#40;</span> bOnStart, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> <span style="color: #0000ff;">SELECT</span><span style="color: #000000;">&#40;</span> cAlias <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DBCloseArea<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;nCountF := ::<span style="color: #000000;">FCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">FOR</span> x := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> nCountF<br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aStructure, <span style="color: #000000;">&#123;</span> ::<span style="color: #000000;">FieldName</span><span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span>, ::<span style="color: #000000;">FieldType</span><span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span>, ::<span style="color: #000000;">FieldLen</span><span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span>, FieldDec<span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; DBCreate<span style="color: #000000;">&#40;</span> cTable, aStructure, <span style="color: #ff0000;">"DBFCDX"</span>, <span style="color: #00C800;">TRUE</span>, cAlias <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !::<span style="color: #000000;">Eof</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DBAppend<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">FOR</span> x := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> nCountF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> FieldPut<span style="color: #000000;">&#40;</span>x, ::<span style="color: #000000;">FieldGet</span><span style="color: #000000;">&#40;</span>x<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">Skip</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDDO</span><br /><br />&nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DBGoTop<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lCreated &nbsp; := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp;CATCH<br />&nbsp; &nbsp; &nbsp; lCreated &nbsp; := <span style="color: #00C800;">FALSE</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !Empty<span style="color: #000000;">&#40;</span>cOldAlias<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; DBSelectArea<span style="color: #000000;">&#40;</span> cOldAlias <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;Eval<span style="color: #000000;">&#40;</span> bOnEnd, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> lCreated<br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Query2<span style="color: #000000;">&#40;</span> cQuery, aParameters, lShow <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> <span style="color: #00C800;">Self</span> := HB_QSelf<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> xParameter<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cQuery2<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> aParameters := <span style="color: #00C800;">NIL</span>, lShow := <span style="color: #00C800;">FALSE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !HB_IsNil<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span> .and. HB_IsArray<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !HB_IsNil<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span> .and. HB_IsArray<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">FOR</span> EACH xParameter IN aParameters<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cQuery := StrTran<span style="color: #000000;">&#40;</span> cQuery, <span style="color: #ff0000;">"%"</span> + <span style="color: #0000ff;">Num2Str</span><span style="color: #000000;">&#40;</span> HB_EnumIndex<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, Var2Str<span style="color: #000000;">&#40;</span> xParameter <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cQuery2 := cQuery<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; cQuery2 := cQuery<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lShow<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> cQuery2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> ::<span style="color: #000000;">Query</span><span style="color: #000000;">&#40;</span> cQuery2 <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Execute2<span style="color: #000000;">&#40;</span> cQuery, aParameters, lShow <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> <span style="color: #00C800;">Self</span> := HB_QSelf<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> xParameter<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cQuery2<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> aParameters := <span style="color: #00C800;">NIL</span>, lShow := <span style="color: #00C800;">FALSE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !HB_IsNil<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span> .and. HB_IsArray<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !HB_IsNil<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span> .and. HB_IsArray<span style="color: #000000;">&#40;</span> aParameters <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">FOR</span> EACH xParameter IN aParameters<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cQuery := StrTran<span style="color: #000000;">&#40;</span> cQuery, <span style="color: #ff0000;">"%"</span> + <span style="color: #0000ff;">Num2Str</span><span style="color: #000000;">&#40;</span> HB_EnumIndex<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, Var2Str<span style="color: #000000;">&#40;</span> xParameter <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cQuery2 := cQuery<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; cQuery2 := cQuery<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lShow<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> cQuery2 <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;::<span style="color: #000000;">Execute</span><span style="color: #000000;">&#40;</span> cQuery2 <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Var2Str<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cValue := <span style="color: #ff0000;">"''"</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> HB_IsString<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cValue := <span style="color: #ff0000;">"'"</span> + xValue + <span style="color: #ff0000;">"'"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> HB_IsNumeric<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cValue := <span style="color: #0000ff;">Num2Str</span><span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> HB_IsLogical<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cValue := IIf<span style="color: #000000;">&#40;</span> xValue, <span style="color: #ff0000;">'1'</span>, <span style="color: #ff0000;">'0'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> HB_IsDate<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cValue := <span style="color: #ff0000;">"'"</span> + Transform<span style="color: #000000;">&#40;</span> DToS<span style="color: #000000;">&#40;</span> xValue <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"@R 9999-99-99"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"'"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDCASE</span><br /><br /><span style="color: #00C800;">RETURN</span> cValue<br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> <span style="color: #0000ff;">Num2Str</span><span style="color: #000000;">&#40;</span> nNum <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> AllTrim<span style="color: #000000;">&#40;</span> CStr<span style="color: #000000;">&#40;</span> nNum <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />&nbsp;</div>[/code:1vvuijpk]
Addons para Dolphin
Grande Daniel, excelente trabajo con dolphin. Este es un modulo que acabo de finalizar, lo muestro para que se den una idea [code=fw:1l9yub7v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"encabezado.ch"</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> oError<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> oDlg, oBrw, oToolbar, oPopUp1, oBtnFilter<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> oQryFeri, oQryCiud<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> cFiltro, lFiltrado<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> bColCiudad<br /><br />&nbsp; &nbsp;cFiltro &nbsp; := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;lFiltrado := <span style="color: #00C800;">FALSE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !oSesion:<span style="color: #000000;">EsAdmin</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cFiltro := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; cFiltro := <span style="color: #ff0000;">"NUM_CIUD=%1 OR NUM_CIUD=0"</span><br />&nbsp; &nbsp; &nbsp; cFiltro := StrFormat<span style="color: #000000;">&#40;</span> cFiltro, Var2Str<span style="color: #000000;">&#40;</span> oSesion:<span style="color: #000000;">GetNumCiudad</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; oQryCiud := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT NUM_CIUD, NOMBRE FROM CIUDADES ORDER BY NOMBRE"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !Empty<span style="color: #000000;">&#40;</span> cFiltro <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryFeri := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT * FROM vCATFERI WHERE "</span> + cFiltro + <span style="color: #ff0000;">" ORDER BY FECHA"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryFeri := oServer:<span style="color: #000000;">Query2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT * FROM vCATFERI ORDER BY FECHA"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; oQryCiud:<span style="color: #000000;">FillDbf</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TBLCIUD"</span>, <span style="color: #ff0000;">"TEMP1"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oQryCiud:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;CATCH oError<br />&nbsp; &nbsp; &nbsp; IIf<span style="color: #000000;">&#40;</span> HB_IsObject<span style="color: #000000;">&#40;</span> oQryCiud <span style="color: #000000;">&#41;</span>, oQryCiud:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; IIf<span style="color: #000000;">&#40;</span> HB_IsObject<span style="color: #000000;">&#40;</span> oQryFeri <span style="color: #000000;">&#41;</span>, oQryFeri:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;bColCiudad := <span style="color: #000000;">&#123;</span>|| IIf<span style="color: #000000;">&#40;</span> oQryFeri:<span style="color: #000000;">RecCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span>, IIf<span style="color: #000000;">&#40;</span> oQryFeri:<span style="color: #000000;">NACIONAL</span>, <span style="color: #ff0000;">"N/D"</span>, oQryFeri:<span style="color: #000000;">NOMCOR</span> <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"DLG_FERIADOSC"</span> <span style="color: #0000ff;">OF</span> oMainWnd <span style="color: #0000ff;">ICON</span> GetIcon<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">FONT</span> oFontD<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"FERI"</span> <span style="color: #0000ff;">ON</span> DBLCLICK Feriados_Editar<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">FONT</span> oFontD<br /><br />&nbsp; &nbsp;ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> oQryFeri:<span style="color: #000000;">FECHA</span> &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Fecha"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">090</span> <span style="color: #0000ff;">CENTER</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@D"</span><br />&nbsp; &nbsp;ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> oQryFeri:<span style="color: #000000;">MOTIVO</span> &nbsp; &nbsp; <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Motivo del feriado"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">270</span><br />&nbsp; &nbsp;ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> oQryFeri:<span style="color: #000000;">NACIONAL</span> &nbsp; <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Nacional"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">054</span><br />&nbsp; &nbsp;ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> bColCiudad &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Ciudad"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">054</span><br /><br />&nbsp; &nbsp;WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">SetDolphin</span><span style="color: #000000;">&#40;</span> oQryFeri, .F. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">MyConfig</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">03</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">SetCheck</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"BMS_CHECKON"</span>,<span style="color: #ff0000;">"BMS_CHECKOFF"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">bKeyDown</span> &nbsp; &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span>|nKey| Feriados_ProcesaTecla<span style="color: #000000;">&#40;</span> nKey <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lHScroll</span> &nbsp; &nbsp; &nbsp;:= <span style="color: #00C800;">FALSE</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nHeaderHeight</span> := <span style="color: #000000;">36</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> Feriados_Toolbar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;TEMP1-><span style="color: #000000;">&#40;</span> DBCloseArea<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oQryFeri:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Toolbar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">MENU</span> oPopUp1 <span style="color: #0000ff;">POPUP</span> <span style="color: #000000;">2010</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&1.-Mostrar feriados de un año"</span> &nbsp; <span style="color: #0000ff;">ACTION</span> Feriados_Filtrar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&2.-Mostrar todos los feriados"</span> &nbsp; <span style="color: #0000ff;">ACTION</span> Feriados_Filtrar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oToolBar <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">60</span> <span style="color: #000000;">2010</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_CLOSE"</span> &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Salir"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_ADD"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Editar<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">TRUE</span> &nbsp;<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Nuevo"</span> &nbsp; &nbsp; GROUP<br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_EDIT"</span> &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Editar<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Editar"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_DELETE"</span> &nbsp; &nbsp; <span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Borrar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Borrar"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_PRINTER"</span> &nbsp; &nbsp;<span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Listar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Imprimir"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_HOLYDAYADD"</span> <span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Agregar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Generar"</span> &nbsp; GROUP<br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TB_FILTERADD"</span> &nbsp;<span style="color: #0000ff;">OF</span> oToolBar <span style="color: #0000ff;">ACTION</span> Feriados_Filtrar<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Filtrar"</span> &nbsp; GROUP <span style="color: #0000ff;">MENU</span> oPopUp1<br /><br />&nbsp; &nbsp;SET MSGBAR <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"INS=Nuevo, DEL=Borrar, ENTER=Editar, F3=Imprimir, F4=Generar/Año, F5=Filtrar/Quitar, F9=Refrescar"</span> <span style="color: #000000;">2010</span><br /><br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">SetControl</span><span style="color: #000000;">&#40;</span> oBrw <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;WITH OBJECT oToolBar<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">bRClicked</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">bLClicked</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Cierra modulo"</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Agrega un nuevo registro"</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Edita datos del registro actual"</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Elimina datos del registro actual"</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Lista datos para ser impresos"</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Agrega los feriados de un año automaticamente"</span><br />&nbsp; &nbsp; &nbsp; oBtnFilter := :<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;END<br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_ProcesaTecla<span style="color: #000000;">&#40;</span> nKey <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_INSERT<br />&nbsp; &nbsp; &nbsp; Feriados_Editar<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">TRUE</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_RETURN<br />&nbsp; &nbsp; &nbsp; Feriados_Editar<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_DELETE<br />&nbsp; &nbsp; &nbsp; Feriados_Borrar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_F3<br />&nbsp; &nbsp; &nbsp; Feriados_Listar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_F4<br />&nbsp; &nbsp; &nbsp; Feriados_Agregar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_F5<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !lFiltrado<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Feriados_Filtrar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Feriados_Filtrar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nKey == VK_F9<br />&nbsp; &nbsp; &nbsp; Refrescar_Browse<span style="color: #000000;">&#40;</span> oBrw <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDCASE</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Filtrar<span style="color: #000000;">&#40;</span> nOpcion <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nAno<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">CASE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nOpcion=<span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; nAno := <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !MsgGet<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Mostrar feriados del año"</span>, <span style="color: #ff0000;">"Introdusca el año que desea filtrar"</span>, @nAno, <span style="color: #ff0000;">"9999"</span>, <span style="color: #ff0000;">"TB_HOLYDAY"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> nAno <= <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> oSesion:<span style="color: #000000;">EsAdmin</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFiltro := <span style="color: #ff0000;">"YEAR(FECHA)="</span> + Var2Str<span style="color: #000000;">&#40;</span> nAno <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFiltro := <span style="color: #ff0000;">"NUM_CIUD=%1 OR NUM_CIUD=0 AND YEAR(FECHA)="</span> + Var2Str<span style="color: #000000;">&#40;</span> nAno <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; WITH OBJECT oBtnFilter<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">FreeBitmaps</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">LoadBitmaps</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TB_FILTERDEL"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Elimina filtro, muestra todos los feriados"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp; &nbsp; lFiltrado := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">CASE</span> nOpcion=<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> oSesion:<span style="color: #000000;">EsAdmin</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFiltro := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFiltro := <span style="color: #ff0000;">"NUM_CIUD=%1 OR NUM_CIUD=0"</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; WITH OBJECT oBtnFilter<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">FreeBitmaps</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">LoadBitmaps</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"TB_FILTERADD"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Filtra los feriados de un año en particular"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp; &nbsp; lFiltrado := <span style="color: #00C800;">FALSE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDCASE</span><br /><br />&nbsp; &nbsp;oQryFeri:<span style="color: #000000;">SetWhere</span><span style="color: #000000;">&#40;</span> cFiltro, <span style="color: #00C800;">TRUE</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Borrar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lBorrar := <span style="color: #00C800;">TRUE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">eof</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"No existen feriados registrados, nada que borrar."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> MsgNoYes<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Desea borrar datos del feriado seleccionado?"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> lBorrar<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #000000;">Execute2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DELETE FROM FERIADOS WHERE FECHA=%1"</span>, <span style="color: #000000;">&#123;</span> oQryFeri:<span style="color: #000000;">FECHA</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryFeri:<span style="color: #000000;">LoadQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CATCH oError<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Editar<span style="color: #000000;">&#40;</span> lNuevo <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> oDlgE<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> oFecha, oNomCiud<br />&nbsp; &nbsp;<span style="color: #00C800;">PRIVATE</span> dFecha, cMotivo, lNacional, nNumCiud, cNomCiud<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> TEMP1-><span style="color: #000000;">&#40;</span> RecCount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> == <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"No hay ciudades/oficinas definidas, no puede continuar."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lNuevo<br />&nbsp; &nbsp; &nbsp; dFecha &nbsp; &nbsp;:= Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cMotivo &nbsp; := Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">40</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lNacional := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp; &nbsp; nNumCiud &nbsp;:= <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; cNumCiud &nbsp;:= <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">eof</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"No existen feriados registrados, nada que editar."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; dFecha &nbsp; &nbsp;:= oQryFeri:<span style="color: #000000;">FECHA</span><br />&nbsp; &nbsp; &nbsp; cMotivo &nbsp; := oQryFeri:<span style="color: #000000;">MOTIVO</span><br />&nbsp; &nbsp; &nbsp; lNacional := oQryFeri:<span style="color: #000000;">NACIONAL</span><br />&nbsp; &nbsp; &nbsp; nNumCiud &nbsp;:= oQryFeri:<span style="color: #000000;">NUM_CIUD</span><br />&nbsp; &nbsp; &nbsp; cNomCiud &nbsp;:= oQryFeri:<span style="color: #000000;">CIUDAD</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgE <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"DLG_FERIADOSE"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ICON</span> GetIcon<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">FONT</span> oFontD<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oFecha <span style="color: #0000ff;">VAR</span> dFecha ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@D"</span> ;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style="color: #ff0000;">"BMS_CALENDAR"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">WHEN</span> lNuevo &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> Feriados_ValidarFecha<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> dFecha := MsgDate<span style="color: #000000;">&#40;</span> dFecha, <span style="color: #ff0000;">"Seleccione fecha"</span>, oFecha <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> cMotivo ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> lNacional ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> IIf<span style="color: #000000;">&#40;</span> lNacional, <span style="color: #000000;">&#40;</span> nNumCiud:=<span style="color: #000000;">0</span>, cNomCiud:=<span style="color: #ff0000;">""</span>, oNomCiud:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oNomCiud <span style="color: #0000ff;">VAR</span> cNomCiud ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">WHEN</span> <span style="color: #00C800;">FALSE</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">UPDATE</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">WHEN</span> !lNacional ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> Feriados_SeleccionarCiudad<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">201</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> IIf<span style="color: #000000;">&#40;</span> Feriados_Grabar<span style="color: #000000;">&#40;</span> lNuevo <span style="color: #000000;">&#41;</span>, oDlgE:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">202</span> <span style="color: #0000ff;">OF</span> oDlgE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> oDlgE:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; CANCEL<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgE<br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Feriados_ValidarFecha<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lOk &nbsp; &nbsp; &nbsp; := <span style="color: #00C800;">FALSE</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lRepetido := <span style="color: #00C800;">FALSE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span> dFecha <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Debe definir la fecha del feriado."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryTmp := RunSQL<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SELECT COUNT(*) AS CONTADOR FROM FERIADOS WHERE FECHA=%1 AND NUM_CIUD=%2 AND NACIONAL=%3"</span>, <span style="color: #000000;">&#123;</span> dFecha, nNumCiud, <span style="color: #00C800;">FALSE</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryTmp:<span style="color: #000000;">CONTADOR</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Ya se ha registrado un feriado con la fecha indicada, verifique."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lRepetido := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oQryTmp:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; CATCH oError<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IIf<span style="color: #000000;">&#40;</span> HB_IsObject<span style="color: #000000;">&#40;</span> oQryTmp <span style="color: #000000;">&#41;</span>, oQryTmp:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> lOk<br /><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_SeleccionarCiudad<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> bEval := <span style="color: #000000;">&#123;</span>|| nNumCiud := TEMP1->NUM_CIUD, cNomCiud := TEMP1->NOMBRE, oNomCiud:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;TEMP1-><span style="color: #000000;">&#40;</span> DBFSeleccionar<span style="color: #000000;">&#40;</span> oDlgE, <span style="color: #ff0000;">"NOMBRE"</span>, <span style="color: #ff0000;">"Ciudad/Oficina"</span>, nNumCiud, bEval <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Feriados_Grabar<span style="color: #000000;">&#40;</span> lNuevo <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cWhere<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lGrabado := <span style="color: #00C800;">FALSE</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span> dFecha <span style="color: #000000;">&#41;</span> .or. Empty<span style="color: #000000;">&#40;</span> cMotivo <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Datos incompletos, no se puede actualizar datos."</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> lGrabado<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; oServer:<span style="color: #000000;">BeginTransaction</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> lNuevo<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"FERIADOS"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"NUM_CIUD"</span>, <span style="color: #ff0000;">"FECHA"</span>, <span style="color: #ff0000;">"MOTIVO"</span>, <span style="color: #ff0000;">"NACIONAL"</span> <span style="color: #000000;">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span> nNumCiud &nbsp;, dFecha &nbsp;, cMotivo, lNacional &nbsp;<span style="color: #000000;">&#125;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cWhere := <span style="color: #ff0000;">"FECHA="</span> + Var2Str<span style="color: #000000;">&#40;</span> dFecha <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"FERIADOS"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"NUM_CIUD"</span>, <span style="color: #ff0000;">"FECHA"</span>, <span style="color: #ff0000;">"NOMBRE"</span>, <span style="color: #ff0000;">"NACIONAL"</span> <span style="color: #000000;">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#123;</span> nNumCiud &nbsp;, dFecha &nbsp;, cMotivo, lNacional &nbsp;<span style="color: #000000;">&#125;</span>, cWhere &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; oServer:<span style="color: #000000;">CommitTransaction</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; lGrabado := <span style="color: #00C800;">TRUE</span><br />&nbsp; &nbsp;CATCH oError<br />&nbsp; &nbsp; &nbsp; oServer:<span style="color: #000000;">RollBack</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lGrabado<br />&nbsp; &nbsp; &nbsp; oQryFeri:<span style="color: #000000;">LoadQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; IIf<span style="color: #000000;">&#40;</span> lNuevo, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #000000;">RefreshCurrent</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span> lGrabado<br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Agregar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aFeriados, aDia<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> dFecha, nAnoAct<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nAno, nSiglo, nG, nK, nI, nJ, nL, nDiaSS, nMesSS<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nFound := <span style="color: #000000;">0</span><br /><br />&nbsp; &nbsp;nAnoAct := <span style="color: #0000ff;">Year</span><span style="color: #000000;">&#40;</span> Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !MsgGet<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Agregar feriados de año"</span>, <span style="color: #ff0000;">"Introdusca el año que desea procesar"</span>, @nAnoAct, <span style="color: #ff0000;">"9999"</span>, <span style="color: #ff0000;">"TB_HOLYDAYADD"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> nAnoAct <= <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">RETURN</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;aFeriados := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, nAnoAct <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados , <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"PRIMER DIA DEL AÑO"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;nAno &nbsp; := nAnoAct<br />&nbsp; &nbsp;nSiglo := Int<span style="color: #000000;">&#40;</span> nAno / <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nG &nbsp; &nbsp; := <span style="color: #00C800;">Mod</span><span style="color: #000000;">&#40;</span> nAno, &nbsp;<span style="color: #000000;">19</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nK &nbsp; &nbsp; := Int<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> nSiglo - <span style="color: #000000;">17</span> <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">25</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nI &nbsp; &nbsp; := <span style="color: #00C800;">Mod</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> nSiglo - int<span style="color: #000000;">&#40;</span> nSiglo / <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> - int<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>nSiglo - nK <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">19</span>* nG + <span style="color: #000000;">15</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">30</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nI &nbsp; &nbsp; := nI - Int<span style="color: #000000;">&#40;</span> nI / <span style="color: #000000;">28</span> <span style="color: #000000;">&#41;</span> * <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span> - Int<span style="color: #000000;">&#40;</span> nI / <span style="color: #000000;">28</span> <span style="color: #000000;">&#41;</span> * <span style="color: #000000;">&#40;</span> Int<span style="color: #000000;">&#40;</span> <span style="color: #000000;">29</span> / <span style="color: #000000;">&#40;</span> nI<span style="color: #000000;">+1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> * <span style="color: #000000;">&#40;</span> Int<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #000000;">21</span> - nG <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">11</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nJ &nbsp; &nbsp; := <span style="color: #00C800;">Mod</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> nAno + Int<span style="color: #000000;">&#40;</span> nAno / <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> + nI + <span style="color: #000000;">2</span> - nSiglo + Int<span style="color: #000000;">&#40;</span> nSiglo / <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">7</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nL &nbsp; &nbsp; := nI - nJ<br />&nbsp; &nbsp;nMesSS := <span style="color: #000000;">3</span> + Int<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> nL + <span style="color: #000000;">40</span> <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">44</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nDiaSS := nL + <span style="color: #000000;">28</span> - <span style="color: #000000;">31</span> * Int <span style="color: #000000;">&#40;</span> nMesSS / <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> nDiaSS, nMesSS, nAnoAct <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">3</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"JUEVES DE SEMANA SANTA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> nDiaSS, nMesSS, nAnoAct <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">2</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"VIERNES DE SEMANA SANTA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">01</span>, <span style="color: #000000;">05</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"DIA DE LOS TABAJADORES"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">19</span>, <span style="color: #000000;">07</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"DIA DE LA REVOLUCION"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">14</span>, <span style="color: #000000;">09</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"BATALLA DE SAN JACINTO"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">15</span>, <span style="color: #000000;">09</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"INDEPENDENCIA DE NICARAGUA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">08</span>, <span style="color: #000000;">12</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"DIA DE LA CONCEPCION DE MARIA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;dFecha := DMY2DATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">25</span>, <span style="color: #000000;">12</span>, nAnoAct <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oQryFeri:<span style="color: #000000;">Locate</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>dFecha<span style="color: #000000;">&#125;</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aFeriados, <span style="color: #000000;">&#123;</span> dFecha, <span style="color: #ff0000;">"DIA DE NACIMIENTO DE NIÑO JESUS"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Len<span style="color: #000000;">&#40;</span> aFeriados <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #000000;">BeginTransaction</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">FOR</span> EACH aDia IN aFeriados<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oServer:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"FERIADOS"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"FECHA"</span>, <span style="color: #ff0000;">"MOTIVO"</span>, <span style="color: #ff0000;">"NACIONAL"</span>, <span style="color: #ff0000;">"NUM_CIUD"</span> <span style="color: #000000;">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span> aDia<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>, aDia<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> , <span style="color: #00C800;">TRUE</span> &nbsp; &nbsp; &nbsp;, <span style="color: #000000;">0</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#125;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #000000;">CommitTransaction</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; CATCH oError<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oServer:<span style="color: #000000;">RollBack</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowError<span style="color: #000000;">&#40;</span> oError <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp;oQryFeri:<span style="color: #000000;">LoadQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">GoTop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><br />PROCEDURE Feriados_Listar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><br /><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br /><span style="color: #B900B9;">/*EOF*/</span><br /><span style="color: #B900B9;">/*-------------------------------------------------------------------------------------------------*/</span><br />&nbsp;</div>[/code:1l9yub7v]
Addons para Dolphin
Hola Carlos, gracias por compartir, cual es la diferencia de oServer:Query2 y oServer:Query ? o oServer:Execute2 y oServer:Execute, saludos. Cesar.
Addons para Dolphin
me permiten definir parametros ejemplo con Execute [code=fw:36pyoodq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oServer:<span style="color: #000000;">Execute</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"update tabla set campostr="</span> + <span style="color: #ff0000;">'Hola'</span> + <span style="color: #ff0000;">", camponum="</span> + alltrim<span style="color: #000000;">&#40;</span> str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">120</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" where campofecha="</span> + dtos<span style="color: #000000;">&#40;</span> dfecha <span style="color: #000000;">&#41;</span>   <span style="color: #000000;">&#41;</span><br /> </div>[/code:36pyoodq] con Execute2 [code=fw:36pyoodq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oServer:<span style="color: #000000;">Execute2</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"update tabla set campostr=%1, camponum=%2 where campofecha=%3"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">'Hola'</span>, <span style="color: #000000;">120</span>, dfecha <span style="color: #000000;">&#125;</span>   <span style="color: #000000;">&#41;</span><br /> </div>[/code:36pyoodq] igual, para query y query2, lo cual es mas facil, no lo crees? cierto que hay metodos como update e insert, pero esto me facilita a mi un poco la lectura. salu2
Addons para Dolphin
Entendido, solo es para simplificar los string ! otra forma como yo no me hago pelotas con los string es la siguiente: [code=fw:377rku1b]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#DEFINE</span> C_SIMPLE CHR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">39</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// comillas simples</span><br /><span style="color: #00D7D7;">#DEFINE</span> c_simple CHR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">39</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// comillas simples</span><br /><br />cQry := <span style="color: #ff0000;">"SELECT codigo,descripcion"</span><br />cQry += <span style="color: #ff0000;">" FROM productos"</span><br />cQry += <span style="color: #ff0000;">" WHERE codigo="</span> + C_SIMPLE + cstr<span style="color: #000000;">&#40;</span> cCodigo <span style="color: #000000;">&#41;</span> + C_SIMPLE<br />cQry += <span style="color: #ff0000;">" ORDER BY codigo"</span><br /><br />oArtics := oServer:<span style="color: #000000;">Query</span><span style="color: #000000;">&#40;</span> cQry <span style="color: #000000;">&#41;</span><br />? oArtics:<span style="color: #000000;">nRecCount</span><br />&nbsp;</div>[/code:377rku1b] saludos.
Addons para Dolphin
Carlos Gracias por la idea, ya esta implementada en los fuentes de TDolphin, le añadi una caracteristica adicional a tu idea, es poder hacer el uso de hash de la misma forma como usas el array hasta los momentos la restriccion es que todos los paramatros deben ir entre comillas, es decir, deben ser string aqui dejo el ejemplo [code=fw:3caretrv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//usando hash</span><br />cQuery  = <span style="color: #ff0000;">"select student.student_id, student.name, grade_event.date, score.score, grade_event.category "</span><br />cQuery += <span style="color: #ff0000;">"from grade_event, score, student where grade_event.date = &fecha and "</span><br />cQuery += <span style="color: #ff0000;">"grade_event.event_id = score.event_id and score.student_id = student.student_id"</span><br /><br />oQry = TDolphinQry<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> cQuery, oServer, <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"fecha"</span> => <span style="color: #ff0000;">"'2008-09-23'"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">//usando array</span><br />cQuery  = <span style="color: #ff0000;">"select student.student_id, student.name, grade_event.date, score.score, grade_event.category "</span><br />cQuery += <span style="color: #ff0000;">"from grade_event, score, student where grade_event.date = &1 and "</span><br />cQuery += <span style="color: #ff0000;">"grade_event.event_id = score.event_id and score.student_id = student.student_id"</span><br /><br />oQry = TDolphinQry<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> cQuery, oServer, <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"'2008-09-23'"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:3caretrv] descargar ultima version de tdolphin [url:3caretrv]https&#58;//bitbucket&#46;org/danielgarciagil/tdolphin/get/master&#46;zip[/url:3caretrv]
Addons para Dolphin
daniel, gracias. has visto esto? <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=27610">viewtopic.php?f=6&t=27610</a><!-- l --> salu2 carlos vargas
Address bar
Hi, In the foreground is a web browser (I do not know which one). Can I read the value of the address bar of this browser (the url of the current page) ?
Address of Function in My EXE
I saw on a previous post I can retrieve the address of my function "test_func" as follows. address := ( @testfunc() ) The valtype( address ) function returns "S" I'm looking for a value to pass to a C-function DLL that requests a pointer to my function "test_func" in order to handle socket callback processing. HTTPEVENTPROC lpfnEventProc, What is valtype "S"? My DLL function GPF's when I pass this value. I've tried to define it as LPSTR and PTR - both cause GPF. is anybody aware of a way to get from "myapp.exe" the address of function "test()" in the form of c-data type lpfn ??
Address of Function in My EXE
[code=fw:3vlszayy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <hbvmpub.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> FUNPTR <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;PHB_SYMB pMySymbol = <span style="color: #000000;">&#40;</span> PHB_SYMB <span style="color: #000000;">&#41;</span> hb_param<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span>, HB_IT_SYMBOL <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; hb_retnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HB_LONG <span style="color: #000000;">&#41;</span> pMySymbol->value.pFunPtr <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:3vlszayy] or hb_retnll( ( HB_LONGLONG ) pMySymbol->value.pFunPtr ); for 64 bits pointers
Address of Function in My EXE
I tried this but it caused a GPF. exe map file shows the c-function is there: 0001:000008A8 _HB_FUN_FUNPTR calling convention from my Harbour source code is: PROCADDR := FUNPTR( '_HB_FUN_SSL_EVENTS' ) ===> GPF PROCADDR := FUNPTR( 'SSL_EVENTS' ) ===> GPF Lwinapi.c source code // ************************************************ #include <Windows.h> #include <hbvmpub.h> #include <hbapi.h> //----------------------------------------------------------------------------// HB_FUNC( FUNPTR ) { PHB_SYMB pMySymbol = ( PHB_SYMB ) hb_param( 1, HB_IT_SYMBOL ); hb_retnl( ( HB_LONG ) pMySymbol->value.pFunPtr ); } //-- or hb_retnll( ( HB_LONGLONG ) pMySymbol->value.pFunPtr ); for 64 bits pointers // -----------------------------------------------------------------------------------
Address of Function in My EXE
Don, This way: PROCADDR := FunPtr( @SSL_EVENTS() ) MsgInfo( PROCADDR ) // you should see a number
Address of Function in My EXE
this does return a number. unfortunately, the .dll function I pass it to still GPF's. back to the drawing board. I'm really close to having the SSL socket coded, but this eventhandler is really a challenge.
Adecuar un dialogo de recursos a la resolución del monitor.
William, muchas gracias. Estoy probando con una pantalla con resolución 1680 x 1050 y funciona bien. Voy a probar con otras resoluciones haber que tal me va. Saludos. Carlos.
Adecuar un dialogo de recursos a la resolución del monitor.
Hola a todos. Se que ya han preguntado algo al respecto, pero he estado buscando dentro del foro, y no encuentro la solución a mi problema, el cual es el siguiente: Tengo un dialogo en recurso .rc, donde ya están definidos un wBrowse, botonos, say's, get's, etc., pero el cliente quiere que este dialogo, se adecue a la resolucion de cada monitor en donde se va a utilizar el mismo. Algunos usuarios tienen notebooks, otros pantallas planas de 15",17",19", etc. Alguien sabe como "maximizar" estos diálogos de recursos, y que se puedan adecuar cada uno de los componentes del mismo en cada uno de estos monitores? Cualquier ayuda es bienvenida y agradecida. Saludos. Carlos.
Adecuar un dialogo de recursos a la resolución del monitor.
Hola, en link abaixo segue mi function DISPLAY3, que faz o que necessitas. Mira lo exemplo que acompanha la function. William <!-- m --><a class="postlink" href="http://www.4shared.com/rar/NIwJho3C/DISPLAY3.html">http://www.4shared.com/rar/NIwJho3C/DISPLAY3.html</a><!-- m -->
Adecuar un dialogo de recursos a la resolución del monitor.
Hola William o csincuir podrías subir nuevamente la funcion display3 o enviarmelo por correo (<!-- e --><a href="mailto:roggerimarcelo@gmail.com">roggerimarcelo@gmail.com</a><!-- e -->) ya que el link no me funciona, y ando buscando lo mismo Muchas gracias Marcelo
Adel
Hola. Tengo un array y necesito eliminar de la posicion 5 a la 8 (por ejemplo) todos los item. hay alguna manera de no hacerlo mediante un for... next convinado con un adel? gracias.
Adel
Sin FOR NEXT [code=fw:27m9ibkb]<div class="fw" id="{CB}" style="font-family: monospace;">adel<span style="color: #000000;">&#40;</span>a, <span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span><br />adel<span style="color: #000000;">&#40;</span>a, <span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span><br />adel<span style="color: #000000;">&#40;</span>a, <span style="color: #000000;">7</span><span style="color: #000000;">&#41;</span><br />adel<span style="color: #000000;">&#40;</span>a, <span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span><br />aSize<span style="color: #000000;">&#40;</span>a, Len<span style="color: #000000;">&#40;</span>a<span style="color: #000000;">&#41;</span>- <span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span></div>[/code:27m9ibkb] o bien mi preferida sin FOR NEXT: [code=fw:27m9ibkb]<div class="fw" id="{CB}" style="font-family: monospace;">aDeleteVarios<span style="color: #000000;">&#40;</span>a, <span style="color: #000000;">&#123;</span>|x, n| n >= <span style="color: #000000;">5</span> .and. n <= <span style="color: #000000;">8</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span></div>[/code:27m9ibkb] [code=fw:27m9ibkb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> aDeleteVarios<span style="color: #000000;">&#40;</span>a, bCondicionBorrado<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> nI<br /><span style="color: #00C800;">Local</span> nBorrados<br /><span style="color: #00C800;">Local</span> nFinal<br /><span style="color: #00C800;">Local</span> nItem &nbsp;<span style="color: #B900B9;">// Nº item real</span><br />*<br />nFinal:= Len<span style="color: #000000;">&#40;</span>a<span style="color: #000000;">&#41;</span><br />nBorrados:= <span style="color: #000000;">0</span><br />nI:= <span style="color: #000000;">1</span><br />nItem:= <span style="color: #000000;">1</span><br /><span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> nI <= nFinal<br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> Eval<span style="color: #000000;">&#40;</span>bCondicionBorrado, a<span style="color: #000000;">&#91;</span>nI<span style="color: #000000;">&#93;</span>, nItem<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aDel<span style="color: #000000;">&#40;</span>a, nI<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; nBorrados++<br />&nbsp; &nbsp; &nbsp; nFinal--<br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; nI++<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;nItem++<br /><span style="color: #00C800;">ENDDO</span><br />aSize<span style="color: #000000;">&#40;</span>a, Len<span style="color: #000000;">&#40;</span>a<span style="color: #000000;">&#41;</span>- nBorrados<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> a</div>[/code:27m9ibkb]
Adel
[url:1nh5qnsg]https&#58;//vivaclipper&#46;wordpress&#46;com/tag/adel/[/url:1nh5qnsg] [url:1nh5qnsg]https&#58;//vivaclipper&#46;wordpress&#46;com/2014/01/07/adel/[/url:1nh5qnsg] [url:1nh5qnsg]https&#58;//www&#46;itlnet&#46;net/programming/program/reference/c53g01c/ng34b&#46;html[/url:1nh5qnsg] [url:1nh5qnsg]https&#58;//vivaclipper&#46;wordpress&#46;com/2013/01/07/array-basics/[/url:1nh5qnsg] [url:1nh5qnsg]http&#58;//cch4clipper&#46;blogspot&#46;com/2011/05/harbourxharbour-diff-957&#46;html[/url:1nh5qnsg] Regards, saludos.
Adel
For next is the best way [code=fw:2z4uy0bd]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">for</span> n := <span style="color: #000000;">8</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">5</span> step <span style="color: #000000;">-1</span><br />&nbsp; &nbsp;ADel<span style="color: #000000;">&#40;</span> aArray, n, .t. <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">next</span><br /><br /><span style="color: #B900B9;">// OR</span><br /><br /><span style="color: #00C800;">for</span> n := <span style="color: #000000;">5</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">8</span><br />&nbsp; &nbsp;ADel<span style="color: #000000;">&#40;</span> aArray, <span style="color: #000000;">5</span>, .t. <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// use 5 not 'n'</span><br /><span style="color: #00C800;">next</span><br />&nbsp;</div>[/code:2z4uy0bd]
Adeudos Directos SEPA en euros Esquema B2B
Colegas : Alguien se ha tenido que pelear con la norma SEPA 19-44 B2B ? Para quien no lo 'sepa' <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> SEPA son las siglas en inglés de “Single Euro Payments Area” o Zona Única de Pagos en Euros. Se trata de una iniciativa impulsada por el sector bancario y tutelada por la Comisión Europea y el Banco Central Europeo por la que se establece una verdadera zona integrada de pagos europeos en euros, donde dichos pagos están sujetos a un conjunto uniforme de normas y condiciones, y permite la realización de los pagos en euros en el ámbito europeo de forma tan sencilla, rápida, segura y eficiente como lo son en cada uno de los países. Me interesa el modelo XML, ya que se prevé en 2016 que el formato ASCII quede obsoleto. Alguien ha realizado este camino ? Quiere compartir ? Empezamos de 0 y creamos una clase para el repositorio de utilidades Fivewin ?
Adeudos Directos SEPA en euros Esquema B2B
Joaquín, Los modelos los tengo en .txt, que por lo que tu dices en el 2016 van a quedar inservibles. No me urge el tema; ¿ crees tu que puede haber algo (nuevo) en esos modelos que urja a que se apliquen ya los cambios ? La urgencia me vendrá de parte de los clientes: sus necesidades. Si el modelo que tu hablas "presiona" entonces ellos lo querrán. Saludos
Adeudos Directos SEPA en euros Esquema B2B
Mi interés era por si alguien tenia algun tipo de trabajo, terminado o no, y lo quisiera compartir, para no partir de 0. Hacerlo directamente en XML es debido a que segun la normativa, en 2016 desaparece el formato txt, pero como dices, los clientes son los que mandan y es por eso que mejor, sin prisa, ir preparando en XML. Saludos
Adeudos Directos SEPA en euros Esquema B2B
Hola, ¿Hay algún avance sobre ello?. Entra en vigor en febrero de 2014 y me lo han pedido para un trabajo extra a medida. Muchas gracias.
Adeudos Directos SEPA en euros Esquema B2B
[quote="lucasdebeltran":24t0xbub]Hola, ¿Hay algún avance sobre ello?. Entra en vigor en febrero de 2014 y me lo han pedido para un trabajo extra a medida. Muchas gracias.[/quote:24t0xbub] Dudo que a nivel de "cliente" fuercen que se use este sistema a corto plazo, hay mucho software repartido en España basado en el cuaderno 19. Otra cosa es que a nivel de entidades de crédito los intercambios de adeudos se realicen en ese formato SEPA. Hay un asunto importante. En europa han creado un "sistema" a su medida y necesidades. En España usamos el cuaderno 19 para detallar en el recibo lo que nos da la gana; permite 640 (8 lineas x 80) caaracteres, y el SEPA 140 ó 160 no recuerdo bien. Yo estoy esperando que este formato evolucione y permita para los de aquí detallar más información de la que permite hoy en día. Hace muchos meses que no programo por cuestiones varias, de todas maneras estaré atento a vuestros avances, me interesa.
Adeudos Directos SEPA en euros Esquema B2B
@mastintin, una primera aproximacion en codigo [code=fw:2gz2c815]<div class="fw" id="{CB}" style="font-family: monospace;"><br />*<br />&nbsp;* MENSAJE DE PRESENTACIÓN DE ADEUDOS DIRECTOS SEPA ESQUEMA B2B <span style="color: #000000;">&#40;</span>pain<span style="color: #000000;">.008</span><span style="color: #000000;">.001</span><span style="color: #000000;">.02</span><span style="color: #000000;">&#41;</span><br />&nbsp;*/<br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbmxml.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><br />&nbsp;<span style="color: #00C800;">local</span> oDoc := mxmlNewXML<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"1.0"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp;<span style="color: #B900B9;">/* Header */</span><br />&nbsp; &nbsp; CstmrDrctDbtInitn := mxmlNewElement<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"CstmrDrctDbtInitn"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; GrpHdr &nbsp;:= mxmlNewElement<span style="color: #000000;">&#40;</span> CstmrDrctDbtInitn, <span style="color: #ff0000;">"GrpHdr"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"MsgId"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CreDtTm"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"NbOfTxs"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CtrlSum"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; InitgPty := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"InitgPty"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> InitgPty, <span style="color: #ff0000;">"Nm"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #0000ff;">Id</span>&nbsp; &nbsp; &nbsp; := mxmlNewElement<span style="color: #000000;">&#40;</span> InitgPty, <span style="color: #ff0000;">"Id"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; OrgId&nbsp; &nbsp;:= mxmlNewElement<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Id</span>, <span style="color: #ff0000;">"OrgId"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> OrgId, <span style="color: #ff0000;">"BICOrBEI"</span> <span style="color: #000000;">&#41;</span> <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Othr&nbsp; &nbsp; := mxmlNewElement<span style="color: #000000;">&#40;</span> OrgId, <span style="color: #ff0000;">"Othr"</span> <span style="color: #000000;">&#41;</span> <br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"Id"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; SchmeNm&nbsp;:= &nbsp;mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"SchmeNm"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> SchmeNm, <span style="color: #ff0000;">"Cd"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> SchmeNm, <span style="color: #ff0000;">"Prtry"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"Issr"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; PrvtId&nbsp; := mxmlNewElement<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Id</span>, <span style="color: #ff0000;">"PrvtId"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; DtAndPlcOfBirth := mxmlNewElement<span style="color: #000000;">&#40;</span> PrvtId, <span style="color: #ff0000;">"DtAndPlcOfBirth"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> DtAndPlcOfBirth, <span style="color: #ff0000;">"BirthDt"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> DtAndPlcOfBirth, <span style="color: #ff0000;">"PrvcOfBirth"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> DtAndPlcOfBirth, <span style="color: #ff0000;">"CityOfBirth"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> DtAndPlcOfBirth, <span style="color: #ff0000;">"CtryOfBirth"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Othr := mxmlNewElement<span style="color: #000000;">&#40;</span> PrvtId, <span style="color: #ff0000;">"Othr"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"Id"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; SchmeNm&nbsp;:= mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"SchmeNm"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> SchmeNm, <span style="color: #ff0000;">"Cd"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> SchmeNm, <span style="color: #ff0000;">"Prtry"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; mxmlNewElement<span style="color: #000000;">&#40;</span> Othr, <span style="color: #ff0000;">"Issr"</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">/* Informacion del pago */</span><br />....<br /><br />&nbsp; &nbsp; mxmlSaveFile<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"b2b.xml"</span>, MXML_NO_CALLBACK <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span><br />&nbsp;</div>[/code:2gz2c815]
Adeudos Directos SEPA en euros Esquema B2B
Carlos, creo que estás equivocado en lo de esperar pues se trata de una directiva europea que hay que cumplir y la fecha límite de aplicación es el 1 de febrero de 2014. A partir de esa fecha cuando envíes un fichero de transferencias o adeudos a una entidad financiera y no esté en el formato SEPA te lo rechazarán. Tienes toda la información en <!-- m --><a class="postlink" href="http://www.sepaesp.es">http://www.sepaesp.es</a><!-- m -->
Adeudos Directos SEPA en euros Esquema B2B
En efecto, entra en vigor en Febrero de 2014. Si alguien lo tiene realizado y testeado ya y le interesa vender su código estaría interesado. Muchas gracias. Un saludo
Adeudos Directos SEPA en euros Esquema B2B
[quote="Manuel Aranda":1ww8ygdn]Carlos, creo que estás equivocado en lo de esperar pues se trata de una directiva europea que hay que cumplir y la fecha límite de aplicación es el 1 de febrero de 2014. A partir de esa fecha cuando envíes un fichero de transferencias o adeudos a una entidad financiera y no esté en el formato SEPA te lo rechazarán. Tienes toda la información en <!-- m --><a class="postlink" href="http://www.sepaesp.es">http://www.sepaesp.es</a><!-- m -->[/quote:1ww8ygdn] Manuel, Acabo de entrar en la página de un banco que parece serio; creo que tienes razón. Con esto de las fusiones de las cajas de ahorros está claro que he salido perdiendo en cuanto a servicio se refiere. Me voy a poner las pilas. Lo que no tengo claro es cual de los sistemas (CORE o B2B) me conviene, creo que para una asociación en donde sus clientes son personas físicas deberé elegir CORE. Saludos y gracias por la observacion.
Adeudos Directos SEPA en euros Esquema B2B
Este tema me interesa para generar equivalentes a aeb58 y aeb34 . <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Por lo que he investigado existen conversores de AEB58->SDD y AEB34->SCT , lo cual me dice que no tiene que ser en exceso complicado el generar esos ficheros mas lejos de "dar formato" XML a un texto plano con formato predefinido . Podemos generar el archivo xml "artesanalmente" con con fwrite o usando el soporte XMl de harbour . ¿ Alguien tiene documentación esquematica de los campos ?
Adeudos Directos SEPA en euros Esquema B2B
Manuel: En esta web tienes la información: <!-- m --><a class="postlink" href="https://www.bancsabadell.com/cs/Satellite/SabAtl/Adeudos-Directos-SEPA/6000005005160/es/">https://www.bancsabadell.com/cs/Satelli ... 005160/es/</a><!-- m --> Y el formato del fichero: <!-- m --><a class="postlink" href="http://www.aebanca.es/cs/groups/public/documents/folletos/folleto-201302916.pdf">http://www.aebanca.es/cs/groups/public/ ... 302916.pdf</a><!-- m --> <!-- m --><a class="postlink" href="https://www.bancsabadell.com/cs/Satellite?blobcol=urldata&blobheader=application%2Fpdf&blobheadername1=Content-disposition&blobheadervalue1=attachment%3B+filename%3D19-14+CORE+v+2012%2C1.pdf&blobkey=id&blobtable=MungoBlobs&blobwhere=8000024596707&bsb=R0JTX011bHRpbWVkaWFfRkEtNjAwMDAwNTE5MzYwMi0xMTgzMDE1NjQwMzU1&ssbinary=true">https://www.bancsabadell.com/cs/Satelli ... inary=true</a><!-- m --> Hay que generar un texto plano con la nueva estructura, porque el XML no lo aceptan todos los Bancos en su Banca electrónica. Espero que sea de utilidad. Un saludo
Adeudos Directos SEPA en euros Esquema B2B
Bueno . Leyendo la documentación, parece que los bancos se lo van a tomar con calma , y muchos de ellos ofrecen conversores gratuitamente : [quote:2euwg991] Para los productos “nicho” la fecha de migración se prorroga hasta el 1 de febrero de 2016. En España se consideran productos nicho los anticipos de crédito (cuaderno 58) y los recibos girados a través del cuaderno 32 y los recibos en papel. [/quote:2euwg991] Los clientes seran los que den prisa ya que : [quote:2euwg991] La modalidad empresarial permite además reducir de manera significativa los plazos de devolución. [/quote:2euwg991] El enlace <!-- m --><a class="postlink" href="https://www.bancsabadell.com/cs/Satelli">https://www.bancsabadell.com/cs/Satelli</a><!-- m --> ... inary=true no me funciona.
Adeudos Directos SEPA en euros Esquema B2B
Manuel, <!-- m --><a class="postlink" href="http://goo.gl/5PrQCc">http://goo.gl/5PrQCc</a><!-- m -->
Adeudos Directos SEPA en euros Esquema B2B
Gente, dos consideraciones : 1) El 1-2-2014 es la fecha límite para migrar las antiguas normas CSB (19-32-58) a SEPA 2) A partir del 1-2-2016 será obligatorio el formato XML para SEPA fuente: [url:1vqqi4ok]https&#58;//www&#46;unicaja&#46;es/PortalServlet?pag=1111062955156&#46;1375445977887&M1=empr-tesoreria&M2=sepa&M3=zona-unica-pagos-euros-empr&M4=sepa-preguntas-frecuentes[/url:1vqqi4ok] Como bien dice @lucasdebeltran en Banco de Sabadell existe una utilidad para importar cualquier norma CSB a SEPA, por lo que el periodo del 2014 al 2016 no deja de ser transitorio, basicamente utilizando las viejas normas CSB en cuanto archivos de texto plano, modificando CCC por IBAN, etc. Creo que lo mejor es ir al formato XML, aunque de momento no lo acepten todas las entidades. La utilidad conversora del Banco de Sabadell no crea ficheros XML, por lo que estaria bien encontrar una utilidad que diera salida al formato XML y ver directamente el fichero, sin tener que leer y estudiar la terrible, larga y tediosa documentacion de la normativa SEPA. Seguiremos investigando ... Saludos
Adeudos Directos SEPA en euros Esquema B2B
@lucasdebeltran, gracias por el aporte, creo que esta funcion podria simplificarse de este modo : [code=fw:iqzekwxi]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><span style="color: #00C800;">FUNCTION</span> GetBic<span style="color: #000000;">&#40;</span>cEntidad<span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">local</span> BIC:= <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">local</span> cDevuelve<br /><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0030"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPCESMMXXX'</span><br />...<br /><br /><span style="color: #B900B9;">/* Esto ya no es necesario <br />nEnt     := val(cEntidad)<br />cEntidad := alltrim(str(nEnt))<br />*/</span><br /><br /><span style="color: #00C800;">TRY</span><br />   cDevuelve := BIC<span style="color: #000000;">&#91;</span>cEntidad<span style="color: #000000;">&#93;</span><br />CATCH<br />   cDevuelve := space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><br />END<br /><br /><span style="color: #00C800;">Return</span> cDevuelve<br /> </div>[/code:iqzekwxi] Las entidades bancarias en el hash tienen que ser TODAS de 4 dígitos, las menores a 1000 truncando con 0. Por ejemplo Banesto 30 tiene que pasar a ser 0030. A la funcion GetBic() se le pasará directamente el codigo de la entidad financiera, en este ejemplo, GetBic("0030") Que os parece ? Saludos
Adeudos Directos SEPA en euros Esquema B2B
[quote="Joaquim Ferrer":a7kxqvus]@lucasdebeltran, gracias por el aporte, creo que esta funcion podria simplificarse de este modo : Las entidades bancarias en el hash tienen que ser TODAS de 4 dígitos, las menores a 1000 truncando con 0. Por ejemplo Banesto 30 tiene que pasar a ser 0030. A la funcion GetBic() se le pasará directamente el codigo de la entidad financiera, en este ejemplo, GetBic("0030") Que os parece ? Saludos[/quote:a7kxqvus] Joaquim , totalmente de acuerdo . Lo acabo de ver al revisar la funcion y ya esta posteado <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Por otro lado , parece que las funciones de harbour para crear xml no van como se esperaba , posteo el xml generado con tu codigo : [code=fw:a7kxqvus]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><?xml version=<span style="color: #ff0000;">"1.0"</span> encoding=<span style="color: #ff0000;">"utf-8"</span>?><CstmrDrctDbtInitn><GrpHdr><MsgId /><CreDtTm /><NbOfTxs /><CtrlSum /><InitgPty><Nm /><Id><OrgId><BICOrBEI /><Othr><Id /><SchmeNm><Cd /><Prtry /></SchmeNm><Issr /></Othr></OrgId><PrvtId><DtAndPlcOfBirth><BirthDt /><PrvcOfBirth /><CityOfBirth /><CtryOfBirth /></DtAndPlcOfBirth><Othr><Id /><SchmeNm><Cd /><Prtry /></SchmeNm><Issr /></Othr></PrvtId></Id></InitgPty></GrpHdr></CstmrDrctDbtInitn><br /><br />&nbsp;</div>[/code:a7kxqvus]
Adeudos Directos SEPA en euros Esquema B2B
[quote="mastintin":1uwgfu3u] Joaquim , totalmente de acuerdo . Lo acabo de ver al revisar la funcion y ya esta posteado <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Por otro lado , parece que las funciones de harbour para crear xml no van como se esperaba , posteo el xml generado con tu codigo : [/quote:1uwgfu3u] No entiendo que quieres decir con que 'no se esperaba'. El XML está bien formado, aunque no lo veas con el 'sangrado' característico. Intenta abrir ese XML en un navegador web y verás el arbol de nodos correctamente. Saludos
Adeudos Directos SEPA en euros Esquema B2B
[quote="Joaquim Ferrer":3ip0sq8e] No entiendo que quieres decir con que 'no se esperaba'. El XML está bien formado, aunque no lo veas con el 'sangrado' característico. Intenta abrir ese XML en un navegador web y verás el arbol de nodos correctamente. Saludos[/quote:3ip0sq8e] El arbol si esta bien formado pero las etiquetas no son iguales , me explico, el archivo tendria que ser : <NbOfTxs>1</NbOfTxs> pero figura como : <NbOfTxs /> Cuando no asignamos un valor al elemento no genera <etiqueta> valor <etiqueta> sino <etiqueta />
Adeudos Directos SEPA en euros Esquema B2B
Os paso el link desde donde se puede descargar una excel con todas las entidades y sus correspondientes bic. A parte de muchos mas datos. [url:3sru8gzk]http&#58;//www&#46;bde&#46;es/bde/es/secciones/servicios/Particulares_y_e/Registros_de_Ent/Datos_actuales/Registros_ofici_c6e37f3710fd821&#46;html[/url:3sru8gzk]
Adeudos Directos SEPA en euros Esquema B2B
[quote="mastintin":twbfxo9k][quote="Joaquim Ferrer":twbfxo9k] No entiendo que quieres decir con que 'no se esperaba'. El XML está bien formado, aunque no lo veas con el 'sangrado' característico. Intenta abrir ese XML en un navegador web y verás el arbol de nodos correctamente. Saludos[/quote:twbfxo9k] El arbol si esta bien formado pero las etiquetas no son iguales , me explico, el archivo tendria que ser : <NbOfTxs>1</NbOfTxs> pero figura como : <NbOfTxs /> Cuando no asignamos un valor al elemento no genera <etiqueta> valor <etiqueta> sino <etiqueta />[/quote:twbfxo9k] Me contesto a mi mismo , solucionado , colocando un valor la etiqueta queda perfectamente: [code=fw:twbfxo9k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> NbOfTxs:= mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"NbOfTxs"</span> <span style="color: #000000;">&#41;</span><br />    <br />   mxmlNewText<span style="color: #000000;">&#40;</span>NbOfTxs, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"valor de la etiqueta"</span><span style="color: #000000;">&#41;</span><br /><br /> </div>[/code:twbfxo9k] tambien : [code=fw:twbfxo9k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">local</span> oDoc := mxmlNewXML<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;<br />&nbsp; &nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"Document xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;....<br />&nbsp;</div>[/code:twbfxo9k]
Adeudos Directos SEPA en euros Esquema B2B
Creo que lo suyo sería empezar por una cosa simple como es la creación del sustituto a csb34 para pago de nominas , algo simple , para luego ir añadiendo las otras figuras de pago . Creo que para esto ya casi tenemos toda la imformacion necesaria. La parte de la informacion del pago : [code=fw:29cl0zk9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />    <PmtInf>  <span style="color: #B900B9;">// inicio bloque de informacion de pagos</span><br />            <PmtInfId>Payment Info ID</PmtInfId>  <span style="color: #B900B9;">// codigo de "recibo"</span><br />            <PmtMtd>TRF</PmtMtd> <span style="color: #B900B9;">// metodo de pago (TRF/CHK) trasferencia o cheque</span><br />            <NbOfTxs><span style="color: #000000;">1</span></NbOfTxs><br />            <CtrlSum><span style="color: #000000;">0.02</span></CtrlSum><br />            <PmtTpInf>  <span style="color: #B900B9;">// etiqueta de inicio bloque tipo de pago</span><br />                <SvcLvl>  <span style="color: #B900B9;">// etiqueta de inicio bloque nivel de servicio</span><br />                    <Cd>SEPA</Cd> <span style="color: #B900B9;">// codigo de servicio fijo SEPA</span><br />                </SvcLvl><br />            </PmtTpInf><br />            <ReqdExctnDt><span style="color: #000000;">2013</span><span style="color: #000000;">-07</span><span style="color: #000000;">-17</span></ReqdExctnDt> <span style="color: #B900B9;">//Fecha de ejecución solicitada</span><br />            <Dbtr>  <span style="color: #B900B9;">// etiquet inicio identificacion ordenante</span><br />                <Nm>My Corp</Nm>  <span style="color: #B900B9;">// nombre del ordenante</span><br />            </Dbtr><br />            <DbtrAcct> <span style="color: #B900B9;">// inicio etiqueta cuenta iban ordenante</span><br />                <Id><br />                    <IBAN>MY_ACCOUNT_IBAN</IBAN><br />                </Id><br />                <Ccy>EUR</Ccy> <span style="color: #B900B9;">// divisa</span><br />            </DbtrAcct><br />            <DbtrAgt>    <span style="color: #B900B9;">// etiqueta entidad ordenante</span><br />                <FinInstnId> <span style="color: #B900B9;">// etiqueta identificacion entidad ordenanate</span><br />                    <BIC>MY_BANK_BIC</BIC>   <span style="color: #B900B9;">// BIC entidad ordenante</span><br />                </FinInstnId><br />            </DbtrAgt><br />            <ChrgBr>SLEV</ChrgBr>  <span style="color: #B900B9;">// clausula de gastos (CRED/DEBT/SHAR/SLEV) benefici/ordenante /compartidos/ acordados</span><br />            <CdtTrfTxInf> <span style="color: #B900B9;">// bloque de informacion trasferencia</span><br />                <PmtId>  <span style="color: #B900B9;">// bloque instrucciones de pago</span><br />                    <InstrId>Id shown in bank statement</InstrId> <span style="color: #B900B9;">// numero de recibo max 35caracteres</span><br />                    <EndToEndId>transferID/<span style="color: #000000;">0</span></EndToEndId>  <span style="color: #B900B9;">// identificador de extremo a extremo ¿?</span><br />                </PmtId><br />                <Amt>  <span style="color: #B900B9;">// bloque de importe</span><br />                    <InstdAmt Ccy=<span style="color: #ff0000;">"EUR"</span>><span style="color: #000000;">0.02</span></InstdAmt> <span style="color: #B900B9;">// importe dos decimales 11 digitos total usar "."</span><br />                </Amt><br />                <CdtrAgt> <span style="color: #B900B9;">// entidad del beneficiario</span><br />                    <FinInstnId><br />                        <BIC>THEIR_BANK_BIC</BIC> bic beneficiario<br />                    </FinInstnId><br />                </CdtrAgt><br />                <Cdtr>   <span style="color: #B900B9;">// beneficiario</span><br />                    <Nm>THEIR_NAME</Nm>  <span style="color: #B900B9;">// nombre beneficiario</span><br />                </Cdtr><br />                <CdtrAcct>  <span style="color: #B900B9;">// cuenta beneficiario</span><br />                    <Id><br />                        <IBAN>THEIR_IBAN</IBAN>  <span style="color: #B900B9;">//iban beneficiario</span><br />                    </Id><br />                </CdtrAcct><br />                <RmtInf> <span style="color: #B900B9;">// informacion transacion</span><br />                    <Ustrd>Transaction description</Ustrd> /<span style="color: #000000;">7</span> descripcion maximo 140caracteres<br />                </RmtInf><br />            </CdtTrfTxInf><br />        </PmtInf><br /><br /> </div>[/code:29cl0zk9]
Adeudos Directos SEPA en euros Esquema B2B
Joaquim , me falta mxmlNewXML,etc ¿ que libreria me falta por enlazar ?
Adeudos Directos SEPA en euros Esquema B2B
@mastintin esas funciones pertenecen a la LIB de Harbour hbmxml. Estoy utilizando la version 3.0 de Harbour mi entorno es : [code=fw:1uqt1ha1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />PATH=%PATH%;c:\borland\bcc65\bin;c:\hb30\bin<br />set compiler=bcc<br />&nbsp;</div>[/code:1uqt1ha1] Saludos
Adeudos Directos SEPA en euros Esquema B2B
Compañeros, Muchas gracias por vuestras contribuciones. Os paso la función GetBIC de Manuel mejorada un pelín y sin los ; de cada elemento del hash: [code=fw:1picrkuf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><span style="color: #00C800;">FUNCTION</span> GetBic<span style="color: #000000;">&#40;</span>cEntidad<span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">local</span> BIC:= <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">local</span> nEnt<br /><span style="color: #00C800;">local</span> cDevuelve<br /><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"30"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2100"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAIXESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"73"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'OPENESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"83"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'RENBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"122"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIES2XXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"186"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BFIVESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"200"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRVBESB1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"224"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SCFBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1545"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AGRIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"49"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSCHESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"36"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SABNESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"86"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'NORTESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"61"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMARES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"65"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BARCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"75"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPUESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BDEPESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"72"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PSTRESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"216"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POHIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"229"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"233"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1459"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRABESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"81"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSABESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"231"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'DSBLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"93"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VALEESVVXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"128"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKBKESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"182"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"57"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVADESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"58"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CGDIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"136"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AREBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"149"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMSXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"196"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'WELAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"219"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMCEESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"220"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'FIOFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"227"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UNOEESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"236"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'LOYIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1460"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CRESESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1534"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'KBLXESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1544"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BACAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2107"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMM107'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"198"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"94"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVALESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"184"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BEDFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"188"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ALCLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"235"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PICHESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1490"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SELFESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1491"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'TRIOESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3001"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM001'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3005"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM005'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3007"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM007'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3008"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM008'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3009"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM009'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3016"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM016'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM017'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3018"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM018'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3020"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM020'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3023"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM023'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3059"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM059'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3060"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM060'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3063"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM063'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3067"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM067'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3070"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM070'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3076"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM076'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3080"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM080'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM081'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3085"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM085'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3089"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM089'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3096"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM096'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3098"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM098'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3104"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM104'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3111"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM111'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3113"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM113'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3115"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM115'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3116"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM116'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3117"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM117'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3127"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM127'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM130'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3134"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM134'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM138'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3144"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM144'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3146"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCCVESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3150"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM150'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3159"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM159'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3162"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM162'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3166"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM166'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3174"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM174'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3187"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM187'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3190"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM190'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3191"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM191'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2000"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"125"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAOFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKOAES22XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"211"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PROAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"487"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GBMNESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1474"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIESMXXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1480"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VOWAES21XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2010"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM010'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM017'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2031"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM031'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2043"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM043'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2045"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM045'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2048"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM048'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2051"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM051'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2056"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM056'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2066"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM066'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2080"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAGLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM081'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2086"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM086'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2096"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSPAES2LXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2099"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM099'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2103"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UCJAES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2104"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSSOES2SXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2105"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM105'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2013"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CESCESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2038"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAHMESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"99"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AHCRESVVXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"232"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INVLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2085"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAZRES2ZXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2095"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BASKES2BXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"59"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MADRESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"237"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSURES2CXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"133"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MIKBESB1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3058"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2AXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"46"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GALEES2GXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"31"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ETCHES2GXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"78"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAPUES22XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"160"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BOTKESMXXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"234"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCOCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1465"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INGDESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1475"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCSEESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3025"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CDENESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3029"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A029'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3035"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CLPEES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3045"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A045'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3084"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CVRVES2BXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3095"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A095'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3102"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM102'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3105"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A105'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3110"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM110'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3112"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A112'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3118"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A118'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3119"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A119'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3121"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A121'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3123"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A123'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3135"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A135'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3137"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A137'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3140"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM140'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3152"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A152'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3157"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A157'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3160"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A160'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3165"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A165'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3177"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM177'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3179"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A179'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3183"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CASDESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3186"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A186'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3188"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A188'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"9000"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPBESMMXXX'</span><br /><br /><br />nEnt &nbsp; &nbsp; := val<span style="color: #000000;">&#40;</span>cEntidad<span style="color: #000000;">&#41;</span><br />cEntidad := alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nEnt<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp;cDevuelve := BIC<span style="color: #000000;">&#91;</span>cEntidad<span style="color: #000000;">&#93;</span><br />CATCH<br />&nbsp; &nbsp;cDevuelve := space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><br />END<br /><br /><span style="color: #00C800;">Return</span> cDevuelve<br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br />&nbsp;</div>[/code:1picrkuf]
Adeudos Directos SEPA en euros Esquema B2B
Hola, A esta institución, que trabaja con varios Bancos, le han dicho que desde febrero de 2014 ya NO servirá la norma 19, tiene que generar el SEPA plano, en formato de texto. Mira, y aquí te lo dice: [img:o7hwfhw2]http&#58;//i42&#46;tinypic&#46;com/98ax69&#46;png[/img:o7hwfhw2] El XML será en 2016 como máximo, mientras tanto desde ya hay que cambiar la norma 19 a adeudo sepa en formato texto plano.
Adeudos Directos SEPA en euros Esquema B2B
Como paso preliminar , debemos poder convertir cualquier numero de cuenta a procesar en su numero iban . He encontrado este código en javascript que puede facilitar mucho el construir una función para crear codigo iban : el codigo pasado a harbour pasado rápido ( sin comprobar ) : [code=fw:oi3w08cg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> MakeIbanSpain<span style="color: #000000;">&#40;</span>nEntidad,nOficina,nDc,nCuenta<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> Country_Code := <span style="color: #ff0000;">"1428"</span><br /><span style="color: #00C800;">local</span> iban, MOD_1,MOD_iban<br /><br /><span style="color: #00C800;">if</span> !validarCC<span style="color: #000000;">&#40;</span>nEntidad,nOficina,nDc,nCuenta<span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">Msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"cuenta no valida"</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Return</span> .f.       <br /><span style="color: #00C800;">endif</span>           <br />iban := alltrim<span style="color: #000000;">&#40;</span>Str<span style="color: #000000;">&#40;</span>nEntidad<span style="color: #000000;">&#41;</span> + Alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nOficina<span style="color: #000000;">&#41;</span><br />MOD_1 = iban % <span style="color: #000000;">97</span><br />iban = <span style="color: #ff0000;">""</span> + MOD_1 + alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>nDC<span style="color: #000000;">&#41;</span> + <span style="color: #0000ff;">left</span><span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>ncuenta<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> ,<span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>  <br />MOD_1 = iban % <span style="color: #000000;">97</span><br />iban = <span style="color: #ff0000;">""</span> + MOD_1 + <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>ncuenta<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">3</span>,<span style="color: #000000;">7</span><span style="color: #000000;">&#41;</span> + Country_Code + <span style="color: #ff0000;">'00'</span>;<br />MOD_iban = iban % <span style="color: #000000;">97</span><br /><br /><span style="color: #00C800;">Return</span> MOD_iban<br /><br /> </div>[/code:oi3w08cg] el codigo original : [code=fw:oi3w08cg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> MakeIBANSpain<span style="color: #000000;">&#40;</span>form, lang<span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />    <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>lang == <span style="color: #ff0000;">"en"</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />        alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'This conversion tool is provided for information purposes only. The authors reserve the right to remove or cancel its diffusion, either partially or in whole, as well as to modify its structure or contents without previous notice. Access to the information supplied by this tool can be restricted or forbidden anytime.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> Though every attempt has been made to ensure that the information contained in this tool is reliable and up-to-date in order to try to avoid and minimize potential mistakes, the authors are not responsible for any errors, omissions or even for the interruption of the service. Hence, all information in this site is provided "as is", with no guarantee of completeness, accuracy, timeliness or of the results obtained from the use of this information.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> In no event will the authors be liable to provide compensation to anyone for any decisions made or actions taken in reliance of the information obtained from the use of this tool or for any consequential, special or similar damages including those on the user software or hardware, even if advised of the possibility of such damages. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>By using this conversion tool, you acknowledge you have read, understood and accepted the above provisions and agreed with the terms of the service.'</span><span style="color: #000000;">&#41;</span>;<br />    <span style="color: #000000;">&#125;</span> <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />        alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'La presente herramienta de conversión se facilita únicamente a título informativo, reservándose los autores el derecho de eliminar o suspender su difusión, total o parcialmente, y de modificar la estructura y contenido de esta herramienta sin aviso previo, pudiendo incluso limitar o no permitir el acceso a la información que suministra dicha herramienta.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> El propósito de los autores es mantener la calidad y actualización de su información y evitar y minimizar posibles errores causados por fallos. Sin embargo, no garantiza que este servicio no sea interrumpido o afectado por eventuales fallos. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>Como consecuencia de lo anterior, los autores no responderán de los daños o perjuicios causados por decisiones tomadas en base a la información obtenida de esta herramienta; ni de posibles inexactitudes, omisiones o errores contenidos en dicha información, ni de los problemas que se originen por el uso de esta herramienta, ni de los daños y/o perjuicios en el software o hardware del usuario que se deriven su utilización. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>Los usuarios de esta herramienta, al acceder a la misma, aceptan la presente cláusula, estando de acuerdo con su contenido.'</span><span style="color: #000000;">&#41;</span>;<br />    <span style="color: #000000;">&#125;</span><br />    <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>!validarCC<span style="color: #000000;">&#40;</span>form<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />            document.getElementById<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ibanprintxt"</span><span style="color: #000000;">&#41;</span>.innerHTML=<span style="color: #ff0000;">""</span>;<br />        <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>lang == <span style="color: #ff0000;">"en"</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />                alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'The account number is incorrect.'</span><span style="color: #000000;">&#41;</span>;<br />            <span style="color: #000000;">&#125;</span> <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />                alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'El numero de cuenta introducido es incorrecto.'</span><span style="color: #000000;">&#41;</span>;<br />            <br />            <span style="color: #000000;">&#125;</span><br />        <span style="color: #000000;">&#125;</span> <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />            Country_Code = <span style="color: #ff0000;">"1428"</span>; <span style="color: #B900B9;">// Código de españa</span><br />        iban = String<span style="color: #000000;">&#40;</span>form.entitat.value<span style="color: #000000;">&#41;</span> + String<span style="color: #000000;">&#40;</span>form.oficina.value<span style="color: #000000;">&#41;</span>;<br />        MOD_1 = iban % <span style="color: #000000;">97</span>;<br />        iban = <span style="color: #ff0000;">""</span> + MOD_1 + form.dc.value + form.compte.value.substring<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>;<br />        MOD_1 = iban % <span style="color: #000000;">97</span>;<br />        iban = <span style="color: #ff0000;">""</span> + MOD_1 + form.compte.value.substring<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span>,form.compte.value.length<span style="color: #000000;">&#41;</span> + Country_Code + <span style="color: #ff0000;">'00'</span>;<br />        MOD_iban = iban % <span style="color: #000000;">97</span>;<br />        CC_iban = <span style="color: #000000;">98</span> - MOD_iban;<br />            <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span>CC_iban<<span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />            CC_iban = <span style="color: #ff0000;">"0"</span> + CC_iban;<br />            <span style="color: #000000;">&#125;</span><br />        document.getElementById<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ibanprintxt"</span><span style="color: #000000;">&#41;</span>.innerHTML = <span style="color: #ff0000;">"IBAN "</span> + <span style="color: #ff0000;">"ES"</span> + CC_iban + <span style="color: #ff0000;">" "</span> + form.entitat.value + <span style="color: #ff0000;">" "</span> + form.oficina.value + <span style="color: #ff0000;">" "</span> +  form.dc.value + form.compte.value.substring<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>, <span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + form.compte.value.substring<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span>, <span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + form.compte.value.substring<span style="color: #000000;">&#40;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span>;    <br />        <span style="color: #000000;">&#125;</span><br /><span style="color: #000000;">&#125;</span><br /><br /> </div>[/code:oi3w08cg]
Adeudos Directos SEPA en euros Esquema B2B
Esta es la función que uso para calcular el iban: Hay que pasar 2 parametros: el pais y la cuenta bancaria. [code=fw:womgr3gj]<div class="fw" id="{CB}" style="font-family: monospace;">func Iban<span style="color: #000000;">&#40;</span> cPais, cCCC<span style="color: #000000;">&#41;</span><br />*--- Calcular c¢digo Iban de una cuenta<br /><span style="color: #00C800;">local</span> i, cAux := cCCC<br /><br />cPais := Upper<span style="color: #000000;">&#40;</span> cPais<span style="color: #000000;">&#41;</span><br />i := <span style="color: #0000ff;">asc</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cPais, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> - <span style="color: #000000;">55</span>   <span style="color: #B900B9;">// A := 10, B := 11, E := 14, ...</span><br />cAux := cCcc + Str<span style="color: #000000;">&#40;</span> i, <span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br />i := <span style="color: #0000ff;">asc</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span> cPais, <span style="color: #000000;">2</span>, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> - <span style="color: #000000;">55</span><br />cAux += Str<span style="color: #000000;">&#40;</span> i, <span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">'00'</span><br />i := <span style="color: #000000;">98</span> - RestoDiv<span style="color: #000000;">&#40;</span> cAux, <span style="color: #000000;">97</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> cPais+Padl<span style="color: #000000;">&#40;</span> i, <span style="color: #000000;">2</span>, <span style="color: #ff0000;">'0'</span><span style="color: #000000;">&#41;</span>+cCCC<br /> </div>[/code:womgr3gj] En cuanto a los Swift/Bic os dejo un pdf con los codigos de cada entidad [url:womgr3gj]http&#58;//www&#46;bde&#46;es/f/webbde/SPA/sispago/t2/TARGET2_BE_BIC&#46;pdf[/url:womgr3gj] Con esto tendríamos casi todo, quedaría si alguna sucursal tiene su propio código (usan los 3 ultimos signos, "XXX", para identificarse) ¿Alguien tiene un fichero xml que nos sirva a modo de ejemplo para poder construir los soportes magnéticos? Por ahora no consigo dar con ninguno, y las aplicaciones de los bancos o bien son On-line o lo que generan es un archivo de texto plano.
Adeudos Directos SEPA en euros Esquema B2B
Buenas Recuperando funciones que pueden servir [url:3k5fbjgh]https&#58;//github&#46;com/QuimFerrer/sepa[/url:3k5fbjgh] Saludos
Adeudos Directos SEPA en euros Esquema B2B
codigo javscript para el bic .... un array con los bancos ( sustituible por un Hash ) y una funcion que se puede pasar a harbour ... [code=fw:ih5j07se]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">var</span> BIC = <span style="color: #00C800;">new</span> Array<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">30</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPCESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">73</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'OPENESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">83</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'RENBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">122</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIES2XXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">186</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BFIVESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">200</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRVBESB1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">224</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SCFBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1545</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AGRIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">49</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSCHESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">36</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SABNESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">86</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'NORTESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">61</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMARES2MXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">65</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BARCESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">75</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPUESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BDEPESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PSTRESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">216</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POHIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">229</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">233</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1459</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRABESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">81</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSABESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">231</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'DSBLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">93</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VALEESVVXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">128</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKBKESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">182</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">57</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVADESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">58</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">130</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CGDIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">136</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AREBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">149</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMSXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">196</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'WELAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">219</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMCEESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">220</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'FIOFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">227</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UNOEESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">236</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'LOYIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1460</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CRESESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1534</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'KBLXESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1544</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BACAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2107</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMM107'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">198</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">94</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVALESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">184</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BEDFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">188</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ALCLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">235</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PICHESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1490</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SELFESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1491</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'TRIOESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3001</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM001'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3005</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM005'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3007</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM007'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3008</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM008'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3009</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM009'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3016</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM016'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3017</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM017'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3018</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM018'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3020</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM020'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3023</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM023'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3059</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM059'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3060</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM060'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3063</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM063'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3067</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM067'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3070</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM070'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3076</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM076'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3080</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM080'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3081</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM081'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3085</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM085'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3089</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM089'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3096</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM096'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3098</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM098'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3104</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM104'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3111</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM111'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3113</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM113'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3115</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM115'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3116</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM116'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3117</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM117'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3127</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM127'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3130</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM130'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3134</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM134'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3138</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM138'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3144</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM144'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3146</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCCVESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3150</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM150'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3159</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM159'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3162</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM162'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3166</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM166'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3174</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM174'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3187</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM187'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3190</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM190'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3191</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM191'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2000</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">125</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAOFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">138</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKOAES22XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">211</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PROAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">487</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GBMNESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1474</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIESMXXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1480</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VOWAES21XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2010</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM010'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2017</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM017'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2031</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM031'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2043</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM043'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2045</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM045'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2048</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM048'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2051</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM051'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2056</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM056'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2066</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM066'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2080</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAGLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2081</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM081'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2086</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM086'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2096</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSPAES2LXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2099</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM099'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2103</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UCJAES2MXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2104</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSSOES2SXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2105</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM105'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2013</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CESCESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2038</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAHMESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">99</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AHCRESVVXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">232</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INVLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2085</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAZRES2ZXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2095</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BASKES2BXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">59</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MADRESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">237</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSURES2CXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2100</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAIXESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">133</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MIKBESB1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3058</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2AXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">46</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GALEES2GXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">31</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ETCHES2GXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">78</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAPUES22XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">160</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BOTKESMXXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">234</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCOCESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1465</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INGDESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">1475</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCSEESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3025</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CDENESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3029</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A029'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3035</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CLPEES2MXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3045</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A045'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3084</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CVRVES2BXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3095</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A095'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3102</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM102'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3105</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A105'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3110</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM110'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3112</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A112'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3118</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A118'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3119</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A119'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3121</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A121'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3123</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A123'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3135</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A135'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3137</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A137'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3140</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM140'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3152</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A152'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3157</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A157'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3160</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A160'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3165</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A165'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3177</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM177'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3179</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A179'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3183</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CASDESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3186</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A186'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">3188</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A188'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">9000</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPBESMMXXX'</span>;<br /><br /><span style="color: #00C800;">function</span> getBIC<span style="color: #000000;">&#40;</span>form, lang<span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>lang == <span style="color: #ff0000;">"en"</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'This conversion tool is provided for information purposes only. The authors reserve the right to remove or cancel its diffusion, either partially or in whole, as well as to modify its structure or contents without previous notice. Access to the information supplied by this tool can be restricted or forbidden anytime.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> Though every attempt has been made to ensure that the information contained in this tool is reliable and up-to-date in order to try to avoid and minimize potential mistakes, the authors are not responsible for any errors, omissions or even for the interruption of the service. Hence, all information in this site is provided "as is", with no guarantee of completeness, accuracy, timeliness or of the results obtained from the use of this information.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> In no event will the authors be liable to provide compensation to anyone for any decisions made or actions taken in reliance of the information obtained from the use of this tool or for any consequential, special or similar damages including those on the user software or hardware, even if advised of the possibility of such damages. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>By using this conversion tool, you acknowledge you have read, understood and accepted the above provisions and agreed with the terms of the service.'</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'La presente herramienta de conversión se facilita únicamente a título informativo, reservándose los autores el derecho de eliminar o suspender su difusión, total o parcialmente, y de modificar la estructura y contenido de esta herramienta sin aviso previo, pudiendo incluso limitar o no permitir el acceso a la información que suministra dicha herramienta.<span style="color: #000000;">\n</span><span style="color: #000000;">\n</span> El propósito de los autores es mantener la calidad y actualización de su información y evitar y minimizar posibles errores causados por fallos. Sin embargo, no garantiza que este servicio no sea interrumpido o afectado por eventuales fallos. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>Como consecuencia de lo anterior, los autores no responderán de los daños o perjuicios causados por decisiones tomadas en base a la información obtenida de esta herramienta; ni de posibles inexactitudes, omisiones o errores contenidos en dicha información, ni de los problemas que se originen por el uso de esta herramienta, ni de los daños y/o perjuicios en el software o hardware del usuario que se deriven su utilización. <span style="color: #000000;">\n</span><span style="color: #000000;">\n</span>Los usuarios de esta herramienta, al acceder a la misma, aceptan la presente cláusula, estando de acuerdo con su contenido.'</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #0000ff;">var</span> a=form.entitat.value;<br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>!validarCC<span style="color: #000000;">&#40;</span>form<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ibanprintxt"</span><span style="color: #000000;">&#41;</span>.innerHTML=<span style="color: #ff0000;">""</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>lang == <span style="color: #ff0000;">"en"</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'The account number is incorrect.'</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'El numero de cuenta introducido es incorrecto.'</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">else</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">while</span> <span style="color: #000000;">&#40;</span>a.<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span>,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>==<span style="color: #ff0000;">"0"</span><span style="color: #000000;">&#41;</span> a=a.<span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; document.getElementById<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"bictxt"</span><span style="color: #000000;">&#41;</span>.innerHTML = BIC<span style="color: #000000;">&#91;</span>a<span style="color: #000000;">&#93;</span>; <br />&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br /><span style="color: #000000;">&#125;</span><br /><br />&nbsp;</div>[/code:ih5j07se]
Adeudos Directos SEPA en euros Esquema B2B
@fgondi este puede ser un XML básico, tengo identificados algunos campos [code=fw:nmdrq6nn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><Document xmlns:<span style="color: #000000;">xsi</span>=<span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> xmlns=<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span>><br />    <CstmrCdtTrfInitn><br />        <GrpHdr><br />            <MsgId>transferID</MsgId><br />            <CreDtTm><span style="color: #000000;">2013</span><span style="color: #000000;">-07</span>-17T17:<span style="color: #000000;">07</span>:<span style="color: #000000;">12</span></CreDtTm><br />            <NbOfTxs><span style="color: #000000;">1</span></NbOfTxs><br />            <CtrlSum><span style="color: #000000;">0.02</span></CtrlSum><br />            <InitgPty><br />                <Nm>Me</Nm><br />            </InitgPty><br />        </GrpHdr><br />        <PmtInf><br />            <PmtInfId>Payment Info ID</PmtInfId><br />            <PmtMtd>TRF</PmtMtd><br />            <NbOfTxs><span style="color: #000000;">1</span></NbOfTxs><br />            <CtrlSum><span style="color: #000000;">0.02</span></CtrlSum><br />            <PmtTpInf><br />                <SvcLvl><br />                    <Cd>SEPA</Cd><br />                </SvcLvl><br />            </PmtTpInf><br />            <ReqdExctnDt><span style="color: #000000;">2013</span><span style="color: #000000;">-07</span><span style="color: #000000;">-17</span></ReqdExctnDt><br />            <Dbtr><br />                <Nm>My Corp</Nm><br />            </Dbtr><br />            <DbtrAcct><br />                <Id><br />                    <IBAN>MY_ACCOUNT_IBAN</IBAN><br />                </Id><br />                <Ccy>EUR</Ccy><br />            </DbtrAcct><br />            <DbtrAgt><br />                <FinInstnId><br />                    <BIC>MY_BANK_BIC</BIC><br />                </FinInstnId><br />            </DbtrAgt><br />            <ChrgBr>SLEV</ChrgBr><br />            <CdtTrfTxInf><br />                <PmtId><br />                    <InstrId>Id shown in bank statement</InstrId><br />                    <EndToEndId>transferID/<span style="color: #000000;">0</span></EndToEndId><br />                </PmtId><br />                <Amt><br />                    <InstdAmt Ccy=<span style="color: #ff0000;">"EUR"</span>><span style="color: #000000;">0.02</span></InstdAmt><br />                </Amt><br />                <CdtrAgt><br />                    <FinInstnId><br />                        <BIC>THEIR_BANK_BIC</BIC><br />                    </FinInstnId><br />                </CdtrAgt><br />                <Cdtr><br />                    <Nm>THEIR_NAME</Nm><br />                </Cdtr><br />                <CdtrAcct><br />                    <Id><br />                        <IBAN>THEIR_IBAN</IBAN><br />                    </Id><br />                </CdtrAcct><br />                <RmtInf><br />                    <Ustrd>Transaction description</Ustrd><br />                </RmtInf><br />            </CdtTrfTxInf><br />        </PmtInf><br />    </CstmrCdtTrfInitn><br /></Document><br /> </div>[/code:nmdrq6nn]
Adeudos Directos SEPA en euros Esquema B2B
en esta direcion viene que son cada campo y un ejemplo de archivo ... <!-- m --><a class="postlink" href="http://docs.oracle.com/cd/E39564_01/doc.91/e39169/fields_sepa_pay_file_appx.htm">http://docs.oracle.com/cd/E39564_01/doc ... e_appx.htm</a><!-- m --> tambien a modo de lectura el libro de formatos iso 20022 para dummies que tiene ejemplos de archivos: <!-- m --><a class="postlink" href="http://www.iso20022.ch/resources/iso_dummies.pdf">http://www.iso20022.ch/resources/iso_dummies.pdf</a><!-- m -->
Adeudos Directos SEPA en euros Esquema B2B
Muchas gracias
Adeudos Directos SEPA en euros Esquema B2B
La funcion GetBic de antes pasada de javascript a harbour : [code=fw:2mmswyxf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> GetBic<span style="color: #000000;">&#40;</span>cEntidad<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">local</span> Bic:= <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">local</span> nEnt<br /><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"30"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPCESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"73"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'OPENESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"83"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'RENBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"122"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIES2XXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"186"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BFIVESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"200"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRVBESB1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"224"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SCFBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1545"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AGRIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"49"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSCHESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"36"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SABNESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"86"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'NORTESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"61"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMARES2MXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"65"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BARCESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"75"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPUESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BDEPESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"72"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PSTRESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"216"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POHIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"229"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"233"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1459"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRABESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"81"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSABESBBXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"231"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'DSBLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"93"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VALEESVVXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"128"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKBKESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"182"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"57"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVADESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"58"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CGDIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"136"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AREBESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"149"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMSXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"196"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'WELAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"219"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMCEESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"220"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'FIOFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"227"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UNOEESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"236"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'LOYIESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1460"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CRESESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1534"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'KBLXESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1544"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BACAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2107"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMM107'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"198"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"94"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVALESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"184"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BEDFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"188"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ALCLESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"235"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PICHESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1490"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SELFESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1491"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'TRIOESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3001"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM001'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3005"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM005'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3007"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM007'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3008"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM008'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3009"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM009'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3016"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM016'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM017'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3018"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM018'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3020"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM020'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3023"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM023'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3059"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM059'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3060"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM060'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3063"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM063'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3067"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM067'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3070"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM070'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3076"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM076'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3080"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM080'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM081'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3085"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM085'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3089"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM089'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3096"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM096'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3098"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM098'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3104"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM104'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3111"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM111'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3113"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM113'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3115"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM115'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3116"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM116'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3117"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM117'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3127"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM127'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM130'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3134"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM134'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM138'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3144"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM144'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3146"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCCVESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3150"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM150'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3159"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM159'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3162"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM162'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3166"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM166'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3174"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM174'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3187"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM187'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3190"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM190'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3191"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM191'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2000"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"125"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAOFESM1XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKOAES22XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"211"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PROAESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"487"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GBMNESMMXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1474"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIESMXXXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1480"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VOWAES21XXX'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2010"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM010'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM017'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2031"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM031'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2043"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM043'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2045"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM045'</span>;<br />BIC<span style="color: #000000;">&#91;</span><span style="color: #000000;">2048</span><span style="color: #ff0000;">"]='CECAESMM048';<br />BIC["</span><span style="color: #000000;">2051</span><span style="color: #ff0000;">"]='CECAESMM051';<br />BIC["</span><span style="color: #000000;">2056</span><span style="color: #ff0000;">"]='CECAESMM056';<br />BIC["</span><span style="color: #000000;">2066</span><span style="color: #ff0000;">"]='CECAESMM066';<br />BIC["</span><span style="color: #000000;">2080</span><span style="color: #ff0000;">"]='CAGLESMMXXX';<br />BIC["</span><span style="color: #000000;">2081</span><span style="color: #ff0000;">"]='CECAESMM081';<br />BIC["</span><span style="color: #000000;">2086</span><span style="color: #ff0000;">"]='CECAESMM086';<br />BIC["</span><span style="color: #000000;">2096</span><span style="color: #ff0000;">"]='CSPAES2LXXX';<br />BIC["</span><span style="color: #000000;">2099</span><span style="color: #ff0000;">"]='CECAESMM099';<br />BIC["</span><span style="color: #000000;">2103</span><span style="color: #ff0000;">"]='UCJAES2MXXX';<br />BIC["</span><span style="color: #000000;">2104</span><span style="color: #ff0000;">"]='CSSOES2SXXX';<br />BIC["</span><span style="color: #000000;">2105</span><span style="color: #ff0000;">"]='CECAESMM105';<br />BIC["</span><span style="color: #000000;">2013</span><span style="color: #ff0000;">"]='CESCESBBXXX';<br />BIC["</span><span style="color: #000000;">2038</span><span style="color: #ff0000;">"]='CAHMESMMXXX';<br />BIC["</span><span style="color: #000000;">99</span><span style="color: #ff0000;">"]='AHCRESVVXXX';<br />BIC["</span><span style="color: #000000;">232</span><span style="color: #ff0000;">"]='INVLESMMXXX';<br />BIC["</span><span style="color: #000000;">2085</span><span style="color: #ff0000;">"]='CAZRES2ZXXX';<br />BIC["</span><span style="color: #000000;">2095</span><span style="color: #ff0000;">"]='BASKES2BXXX';<br />BIC["</span><span style="color: #000000;">59</span><span style="color: #ff0000;">"]='MADRESMMXXX';<br />BIC["</span><span style="color: #000000;">237</span><span style="color: #ff0000;">"]='CSURES2CXXX';<br />BIC["</span><span style="color: #000000;">2100</span><span style="color: #ff0000;">"]='CAIXESBBXXX';<br />BIC["</span><span style="color: #000000;">133</span><span style="color: #ff0000;">"]='MIKBESB1XXX';<br />BIC["</span><span style="color: #000000;">3058</span><span style="color: #ff0000;">"]='CCRIES2AXXX';<br />BIC["</span><span style="color: #000000;">46</span><span style="color: #ff0000;">"]='GALEES2GXXX';<br />BIC["</span><span style="color: #000000;">31</span><span style="color: #ff0000;">"]='ETCHES2GXXX';<br />BIC["</span><span style="color: #000000;">78</span><span style="color: #ff0000;">"]='BAPUES22XXX';<br />BIC["</span><span style="color: #000000;">160</span><span style="color: #ff0000;">"]='BOTKESMXXXX';<br />BIC["</span><span style="color: #000000;">234</span><span style="color: #ff0000;">"]='CCOCESMMXXX';<br />BIC["</span><span style="color: #000000;">1465</span><span style="color: #ff0000;">"]='INGDESMMXXX';<br />BIC["</span><span style="color: #000000;">1475</span><span style="color: #ff0000;">"]='CCSEESM1XXX';<br />BIC["</span><span style="color: #000000;">3025</span><span style="color: #ff0000;">"]='CDENESBBXXX';<br />BIC["</span><span style="color: #000000;">3029</span><span style="color: #ff0000;">"]='CCRIES2A029';<br />BIC["</span><span style="color: #000000;">3035</span><span style="color: #ff0000;">"]='CLPEES2MXXX';<br />BIC["</span><span style="color: #000000;">3045</span><span style="color: #ff0000;">"]='CCRIES2A045';<br />BIC["</span><span style="color: #000000;">3084</span><span style="color: #ff0000;">"]='CVRVES2BXXX';<br />BIC["</span><span style="color: #000000;">3095</span><span style="color: #ff0000;">"]='CCRIES2A095';<br />BIC["</span><span style="color: #000000;">3102</span><span style="color: #ff0000;">"]='BCOEESMM102';<br />BIC["</span><span style="color: #000000;">3105</span><span style="color: #ff0000;">"]='CCRIES2A105';<br />BIC["</span><span style="color: #000000;">3110</span><span style="color: #ff0000;">"]='BCOEESMM110';<br />BIC["</span><span style="color: #000000;">3112</span><span style="color: #ff0000;">"]='CCRIES2A112';<br />BIC["</span><span style="color: #000000;">3118</span><span style="color: #ff0000;">"]='CCRIES2A118';<br />BIC["</span><span style="color: #000000;">3119</span><span style="color: #ff0000;">"]='CCRIES2A119';<br />BIC["</span><span style="color: #000000;">3121</span><span style="color: #ff0000;">"]='CCRIES2A121';<br />BIC["</span><span style="color: #000000;">3123</span><span style="color: #ff0000;">"]='CCRIES2A123';<br />BIC["</span><span style="color: #000000;">3135</span><span style="color: #ff0000;">"]='CCRIES2A135';<br />BIC["</span><span style="color: #000000;">3137</span><span style="color: #ff0000;">"]='CCRIES2A137';<br />BIC["</span><span style="color: #000000;">3140</span><span style="color: #ff0000;">"]='BCOEESMM140';<br />BIC["</span><span style="color: #000000;">3152</span><span style="color: #ff0000;">"]='CCRIES2A152';<br />BIC["</span><span style="color: #000000;">3157</span><span style="color: #ff0000;">"]='CCRIES2A157';<br />BIC["</span><span style="color: #000000;">3160</span><span style="color: #ff0000;">"]='CCRIES2A160';<br />BIC["</span><span style="color: #000000;">3165</span><span style="color: #ff0000;">"]='CCRIES2A165';<br />BIC["</span><span style="color: #000000;">3177</span><span style="color: #ff0000;">"]='BCOEESMM177';<br />BIC["</span><span style="color: #000000;">3179</span><span style="color: #ff0000;">"]='CCRIES2A179';<br />BIC["</span><span style="color: #000000;">3183</span><span style="color: #ff0000;">"]='CASDESBBXXX';<br />BIC["</span><span style="color: #000000;">3186</span><span style="color: #ff0000;">"]='CCRIES2A186';<br />BIC["</span><span style="color: #000000;">3188</span><span style="color: #ff0000;">"]='CCRIES2A188';<br />BIC["</span><span style="color: #000000;">9000</span><span style="color: #ff0000;">"]='ESPBESMMXXX';<br /><br />nEnt:= val(cEntidad)<br />cEntidad:=alltrim(str(nEnt))<br /><br />Return BIC[cEntidad] <br /><br /></span></div>[/code:2mmswyxf]
Adeudos Directos SEPA en euros Esquema B2B
Este foro es una maravilla. No he empezado a mirar el asunto y ya hay mucha información aquí. Muchas gracias a todos por compartir toda esta información.
Adeudos Directos SEPA en euros Esquema B2B
Otra funcion necesaria : 1.2 Fecha y hora de creación - CreationDateTime • Definición: Fecha y hora cuando la parte iniciadora ha creado un (grupo de) instrucciones de pago. • Etiqueta XML: <CreDtTm> • Ocurrencias: [1..1] • Formato: ISODateTime YYYY-MM-DDThh:mm:ss (Año-mes-día) Ejemplo: 10 de junio de 2010, a las 08:35 horas y 30 segundos. <CreDtTm>2010-06-10T08:35:30</CreDtTm> Se ha dividido en dos funciones pues CreateisoDate() se usa tambien para : 2.17 Fecha de ejecución solicitada - RequestedExecutionDate • Definición: Fecha en la que la parte iniciadora solicita a la entidad del ordenante que procese el pago. Es la fecha en la que se adeudarán las transferencias en la cuenta del ordenante. • Etiqueta XML: <ReqdExctnDt> • Ocurrencias: [1..1] • Formato: ISODate: YYYY-MM-DD (Año-Mes-Día) [code=fw:1vc5728k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">Function</span> CreateIsoDate<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><br /> <span style="color: #00C800;">LOCAL</span> cFecha<br /><span style="color: #00C800;">DEFAULT</span> dDate:= Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    cFecha:= Dtos<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>cfecha,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"-"</span>+<span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cFecha,<span style="color: #000000;">5</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"-"</span>+<span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cFecha,<span style="color: #000000;">7</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> CreaIsoDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> cFecha:= Dtos<span style="color: #000000;">&#40;</span>Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> CreateIsoDate<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"T"</span>+Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /> </div>[/code:1vc5728k]
Adeudos Directos SEPA en euros Esquema B2B
Siguiendo el archivo puesto por Joaquim Ferrer he ido identificando los campos y los he comentado . Pongo de momento solo la cabecera del archivo para no hacer un "taco" de mensaje. [code=fw:2faby5l8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><Document xmlns:<span style="color: #000000;">xsi</span>=<span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> xmlns=<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span>> <span style="color: #B900B9;">// inicio de documento </span><br />    <CstmrCdtTrfInitn>  <span style="color: #B900B9;">// etiqueta raiz del mensaje (unica y obligatoria )</span><br /><br />        <GrpHdr>  <span style="color: #B900B9;">// etiqueta de cabecera de grupo (unica y obligatoria )</span><br />            <MsgId>transferID</MsgId>  <span style="color: #B900B9;">// Identificacion del mensaje 35 caracteres maximo ( similar a codigo de remesa )</span><br />            <CreDtTm><span style="color: #000000;">2013</span><span style="color: #000000;">-07</span>-17T17:<span style="color: #000000;">07</span>:<span style="color: #000000;">12</span></CreDtTm> <span style="color: #B900B9;">// fecha creacion formato ISO</span><br />            <NbOfTxs><span style="color: #000000;">1</span></NbOfTxs>   <span style="color: #B900B9;">// numero de operaciones individuales (para control )</span><br />            <CtrlSum><span style="color: #000000;">0.02</span></CtrlSum> <span style="color: #B900B9;">//Suma de importes imcluidos ( para control)</span><br />            <InitgPty> <span style="color: #B900B9;">// iniciador del pago ( identifica al pagador)</span><br />                <Nm>Me</Nm> <span style="color: #B900B9;">// el NIF-Sufijo (12 caracteres) cuyo uso tenga acordado con su entidad financiera</span><br />            </InitgPty><br />        </GrpHdr> <span style="color: #B900B9;">// fin de grupo cabecera</span><br /><br /> </div>[/code:2faby5l8]
Adeudos Directos SEPA en euros Esquema B2B
@mastintin OK tu mismo te has contestado. Si no existe valor, la misma etiqueta es de apertura y cierre El par <label></label> queda como <label/> Bien por ! [code=fw:3ny8y87x]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"Document xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3ny8y87x] <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Adeudos Directos SEPA en euros Esquema B2B
[quote="Joaquim Ferrer":yh0x3hus] Bien por ! [code=fw:yh0x3hus]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"Document xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br /> mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:yh0x3hus] <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->[/quote:yh0x3hus] Pues no, mas bien Mal <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> , nos rompe el archivo <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> . Me devuelve error en el navegador . La manera correcta es con este cambio : [code=fw:yh0x3hus]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">local</span> oXml := mxmlNewXML<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oDoc  := mxmlNewElement<span style="color: #000000;">&#40;</span> oXml, <span style="color: #ff0000;">"Document"</span> <span style="color: #000000;">&#41;</span> <br />   mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br />   mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span> <span style="color: #000000;">&#41;</span><br /> ....<br /> mxmlSaveFile<span style="color: #000000;">&#40;</span> oXml, <span style="color: #ff0000;">"b2b.xml"</span>, MXML_NO_CALLBACK <span style="color: #000000;">&#41;</span><br /><br /> </div>[/code:yh0x3hus]
Adeudos Directos SEPA en euros Esquema B2B
la funcion Getbic con los cambios y el hash ordenado para facilitar la inclusion de nuevos registros . Una opción buena seria crear una dbf ( otro el tipo de database que usemos ) con todos estos datos de entidades y sus bic , de esa forma añadir nuevos bic seria muy facil . [code=fw:1viinqxf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><span style="color: #00C800;">FUNCTION</span> GetBic<span style="color: #000000;">&#40;</span>cEntidad<span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">local</span> BIC:= <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">local</span> nEnt<br /><span style="color: #00C800;">local</span> cDevuelve<br /><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0003"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BDEPESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0030"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0031"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ETCHES2GXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0036"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SABNESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0046"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GALEES2GXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0049"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSCHESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0057"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVADESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0058"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0059"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MADRESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0061"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMARES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0065"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BARCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0072"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PSTRESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0073"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'OPENESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0075"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPUESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0078"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAPUES22XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BSABESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0083"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'RENBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0086"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'NORTESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0093"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VALEESVVXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0094"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BVALESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0099"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AHCRESVVXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0122"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIES2XXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0125"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BAOFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0128"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKBKESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CGDIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0133"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'MIKBESB1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BKOAES22XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0136"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AREBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0149"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BNPAESMSXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0160"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BOTKESMXXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0182"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0184"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BEDFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0186"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BFIVESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0188"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ALCLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0196"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'WELAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0198"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0200"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRVBESB1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0211"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PROAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0216"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POHIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0219"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BMCEESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0220"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'FIOFESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0224"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SCFBESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0227"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UNOEESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0229"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0231"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'DSBLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0232"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INVLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0233"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'POPIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0234"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCOCESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0235"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PICHESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0236"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'LOYIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0237"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSURES2CXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"0487"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'GBMNESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1459"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'PRABESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1460"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CRESESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1465"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'INGDESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1474"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CITIESMXXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1475"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCSEESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1480"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'VOWAES21XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1490"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'SELFESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1491"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'TRIOESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1534"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'KBLXESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1544"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BACAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"1545"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'AGRIESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2000"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2010"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM010'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2013"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CESCESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM017'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2031"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM031'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2038"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAHMESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2043"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM043'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2045"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM045'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2048"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM048'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2051"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM051'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2056"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM056'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2066"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM066'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2080"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAGLESMMXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM081'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2085"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAZRES2ZXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2086"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM086'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2095"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BASKES2BXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2096"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSPAES2LXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2099"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM099'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2100"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CAIXESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2103"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'UCJAES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2104"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CSSOES2SXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2105"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CECAESMM105'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"2107"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BBVAESMM107'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3001"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM001'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3005"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM005'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3007"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM007'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3008"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM008'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3009"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM009'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3016"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM016'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3017"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM017'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3018"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM018'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3020"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM020'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3023"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM023'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3025"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CDENESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3029"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A029'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3035"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CLPEES2MXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3045"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A045'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3058"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2AXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3059"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM059'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3060"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM060'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3063"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM063'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3067"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM067'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3070"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM070'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3076"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM076'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3080"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM080'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3081"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM081'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3084"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CVRVES2BXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3085"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM085'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3089"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM089'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3095"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A095'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3096"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM096'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3098"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM098'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3102"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM102'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3104"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM104'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3105"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A105'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3110"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM110'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3111"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM111'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3112"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A112'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3113"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM113'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3115"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM115'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3116"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM116'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3117"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM117'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3118"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A118'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3119"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A119'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3121"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A121'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3123"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A123'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3127"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM127'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3130"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM130'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3134"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM134'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3135"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A135'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3137"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A137'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3138"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM138'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3140"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM140'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3144"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM144'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3146"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCCVESM1XXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3150"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM150'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3152"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A152'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3157"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A157'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3159"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM159'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3160"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A160'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3162"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM162'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3165"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A165'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3166"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM166'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3174"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM174'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3177"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM177'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3179"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A179'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3183"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CASDESBBXXX'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3186"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A186'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3187"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM187'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3188"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'CCRIES2A188'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3190"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM190'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"3191"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'BCOEESMM191'</span><br />BIC<span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"9000"</span><span style="color: #000000;">&#93;</span>=<span style="color: #ff0000;">'ESPBESMMXXX'</span><br /><br /><span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp;cDevuelve := BIC<span style="color: #000000;">&#91;</span>cEntidad<span style="color: #000000;">&#93;</span><br />CATCH<br />&nbsp; &nbsp;cDevuelve := space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><br />END<br /><br /><span style="color: #00C800;">Return</span> cDevuelve<br /><span style="color: #B900B9;">//----------------------------------------------------------------//</span><br /><br />&nbsp;</div>[/code:1viinqxf]
Adeudos Directos SEPA en euros Esquema B2B
Intentando imitar el 1ºcodigo ejemplo que se puso . Parece que la cabecera ya se genera .Los datos están puestos como variables locales asignadas como primer paso . [code=fw:3q0udnsi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><br />&nbsp;<span style="color: #00C800;">local</span> cTipoDocumento := <span style="color: #ff0000;">"pain.001.001.03"</span><br />&nbsp;<span style="color: #00C800;">local</span> cTransferID := <span style="color: #ff0000;">"13/00001"</span><br />&nbsp;<span style="color: #00C800;">local</span> cFechaCreaDocu := CreaIsoDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;<span style="color: #00C800;">local</span> cTotalImportes:=<span style="color: #ff0000;">"11111.11"</span><br />&nbsp;<span style="color: #00C800;">local</span> cOperaciones:=<span style="color: #ff0000;">"1"</span> <br />&nbsp;<span style="color: #00C800;">local</span> cNif := <span style="color: #ff0000;">"B333333333"</span><br />&nbsp; &nbsp; <br />&nbsp;<span style="color: #00C800;">local</span> etiRaizMensaje, GrpHdr ,oDoc <br />&nbsp;<span style="color: #00C800;">local</span> xEtiqueta<br />&nbsp; <br />&nbsp;<span style="color: #00C800;">local</span> oXml := mxmlNewXML<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;<br />&nbsp; &nbsp;oDoc := mxmlNewElement<span style="color: #000000;">&#40;</span> oXml, <span style="color: #ff0000;">"Document"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;<br />&nbsp; &nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:"</span>+cTipoDocumento <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"CstmrDrctDbtInitn"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #B900B9;">//------------------------- Añadimos Grupo Cabecera (unica y obligatoria ) ---------------------</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; GrpHdr := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"GrpHdr"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"MsgId"</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// Identificacion del mensaje 35 caracteres maximo ( similar a codigo de remesa )</span><br />&nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cTransferID <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// asignamos el cTransferID</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CreDtTm"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// fecha creacion formato ISO</span><br />&nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span> xEtiqueta, <span style="color: #000000;">0</span>, cFechaCreaDocu <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// asignamos el cFechaCreaDocu</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; xEtiqueta:= mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"NbOfTxs"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// numero de operaciones individuales (para control )</span><br />&nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cOperaciones<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;xEtiqueta:= mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CtrlSum"</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">//Suma de importes imcluidos ( para control)</span><br />&nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cTotalImportes<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"InitgPty"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// iniciador del pago ( identifica al pagador)</span><br />&nbsp; &nbsp; &nbsp; xEtiqueta := &nbsp;mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta, <span style="color: #ff0000;">"Nm"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cNif <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// &nbsp;el NIF-Sufijo (12 caracteres) cuyo uso tenga acordado con su entidad financiera</span><br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// --------------------- fin cabecera ------------------</span><br /><br /><br />&nbsp; &nbsp; &nbsp;mxmlSaveFile<span style="color: #000000;">&#40;</span> oXML, <span style="color: #ff0000;">"b2b.xml"</span>, MXML_NO_CALLBACK <span style="color: #000000;">&#41;</span> <br /><br />&nbsp; &nbsp;</div>[/code:3q0udnsi]
Adeudos Directos SEPA en euros Esquema B2B
Un poco mas avanzado , por hoy aqui lo dejo : ---------------- editado ------------------------------- Mas completo . He terminado con el ejemplo . ahora necesitamos un documento "real" de cada una de las normas para poder ajustarlo a las distintas variante. Creo que lo suyo es empezar por nominas de un solo pagador que es lo mas comun y facil .¿ Alguien puede conseguir un archivo correcto y generados ? [code=fw:27wv0q9e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br /><br /> <span style="color: #00C800;">local</span> cTipoDocumento := <span style="color: #ff0000;">"pain.001.001.03"</span><br /> <span style="color: #00C800;">local</span> cTransferID := <span style="color: #ff0000;">"13/00001"</span><br /> <span style="color: #00C800;">local</span> cFechaCreaDocu := CreaIsoDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> <span style="color: #00C800;">local</span> cTotalImportes := <span style="color: #000000;">0</span><br /> <span style="color: #00C800;">local</span> cOperaciones,cFechaPago<br /> <span style="color: #00C800;">local</span> cNif := <span style="color: #ff0000;">"B333333333"</span><br />  <span style="color: #00C800;">local</span> aRecibos:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Recibo1"</span> ,<span style="color: #ff0000;">"TRF"</span>, <span style="color: #000000;">11111.11</span> , Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+3</span> ,;<br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"ORDENANTE"</span>,<span style="color: #ff0000;">"CODIGO_IBAN_ORDENANTE"</span>,<span style="color: #ff0000;">"BIC_ORDENANTE"</span>,<span style="color: #ff0000;">"SLEV"</span> ,<span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"n_recibo"</span>,<span style="color: #ff0000;">"id_extremo"</span> ,<span style="color: #ff0000;">"BIC_destino"</span> &nbsp; <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /> <span style="color: #00C800;">local</span> i<br />    <br /> <span style="color: #00C800;">local</span> etiRaizMensaje, GrpHdr ,oDoc , GrpPAgos , GrpTrasf<br /> <span style="color: #00C800;">local</span> xEtiqueta,xEtiqueta1<br />  <br /> <span style="color: #00C800;">local</span> oXml := mxmlNewXML<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> <br /><span style="color: #B900B9;">//   cOperaciones := len(aRecibos)</span><br />   <br />cOperaciones := <span style="color: #000000;">1</span><br /><br />   <span style="color: #00C800;">for</span> i= <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> cOperaciones <br />      cTotalImportes:= cTotalImportes + aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><br />   <span style="color: #00C800;">next</span><br />   <br />   cTotalImportes := alltrim<span style="color: #000000;">&#40;</span> str<span style="color: #000000;">&#40;</span> cTotalImportes , <span style="color: #000000;">10</span>, <span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /> <br />   oDoc := mxmlNewElement<span style="color: #000000;">&#40;</span> oXml, <span style="color: #ff0000;">"Document"</span> <span style="color: #000000;">&#41;</span><br /> <br />   mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns:xsi"</span>, <span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> <span style="color: #000000;">&#41;</span><br />   mxmlElementSetAttr<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"xmlns"</span>,<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:"</span>+cTipoDocumento <span style="color: #000000;">&#41;</span><br />   <br />   etiRaizMensaje := mxmlNewElement<span style="color: #000000;">&#40;</span> oDoc, <span style="color: #ff0000;">"CstmrDrctDbtInitn"</span> <span style="color: #000000;">&#41;</span><br />   <br />   <span style="color: #B900B9;">//------------------------- Añadimos Grupo Cabecera (unica y obligatoria ) ---------------------</span><br />   <br />    GrpHdr := mxmlNewElement<span style="color: #000000;">&#40;</span> etiRaizMensaje , <span style="color: #ff0000;">"GrpHdr"</span> <span style="color: #000000;">&#41;</span><br />    <br />    xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"MsgId"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// Identificacion del mensaje 35 caracteres maximo ( similar a codigo de remesa )</span><br />       mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cTransferID <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// asignamos el cTransferID</span><br />      <br />    xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CreDtTm"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// fecha creacion formato ISO</span><br />       mxmlNewText<span style="color: #000000;">&#40;</span> xEtiqueta, <span style="color: #000000;">0</span>, cFechaCreaDocu <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// asignamos el cFechaCreaDocu</span><br />       <br />    xEtiqueta:= mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"NbOfTxs"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// numero de operaciones individuales (para control )</span><br />       mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cOperaciones<span style="color: #000000;">&#41;</span><br />       <br />     xEtiqueta:= mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"CtrlSum"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">//Suma de importes imcluidos ( para control)</span><br />       mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cTotalImportes<span style="color: #000000;">&#41;</span><br />       <br />     xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpHdr, <span style="color: #ff0000;">"InitgPty"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// iniciador del pago ( identifica al pagador)</span><br />      xEtiqueta :=  mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta, <span style="color: #ff0000;">"Nm"</span> <span style="color: #000000;">&#41;</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cNif <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">//  el NIF-Sufijo (12 caracteres) cuyo uso tenga acordado con su entidad financiera</span><br />        <br />   <span style="color: #B900B9;">//------------------------- Añadimos Grupo Informacion de pagos --------------------- </span><br />   <br />    GrpPAgos := mxmlNewElement<span style="color: #000000;">&#40;</span> etiRaizMensaje , <span style="color: #ff0000;">"PmtInf"</span> <span style="color: #000000;">&#41;</span>    <span style="color: #B900B9;">// inicio bloque de informacion de pagos</span><br />    <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"PmtInfId"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// codigo de "recibo"</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <br />        <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"PmtMtd"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//metodo de pago (TRF/CHK) trasferencia o cheque</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <br />     <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"NbOfTxs"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// numero de operaciones individuales (para control )</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cOperaciones <span style="color: #000000;">&#41;</span> <br />        <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"CtrlSum"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//Suma de importes imcluidos ( para control)</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cTotalImportes <span style="color: #000000;">&#41;</span> <br />         <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"PmtTpInf"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// etiqueta de inicio bloque tipo de pago</span><br />          xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"SvcLvl"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// etiqueta de inicio bloque nivel de servicio</span><br />            xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"Cd"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// codigo de servicio fijo SEPA</span><br />                     mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"SEPA"</span> <span style="color: #000000;">&#41;</span> <br />                     <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"ReqdExctnDt"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//Fecha de ejecución solicitada</span><br />        cFechapago:= CreateIsoDate<span style="color: #000000;">&#40;</span>aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><br />        mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, cFechaPago <span style="color: #000000;">&#41;</span><br />        <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"Dbtr"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// etiquet inicio identificacion ordenante</span><br />         xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"Nm"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// nombre del ordenante</span><br />         mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />         <br />       xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"DbtrAcct"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// inicio etiqueta cuenta iban ordenante</span><br />         xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"Id"</span> <span style="color: #000000;">&#41;</span>  <br />            xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta1 , <span style="color: #ff0000;">"IBAN"</span> <span style="color: #000000;">&#41;</span>  <br />            mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />                 xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"Ccy"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// divisa</span><br />             mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"EUR"</span> <span style="color: #000000;">&#41;</span><br />             <br />      xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"DbtrAgt"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// etiqueta entidad ordenante      </span><br />        xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta , <span style="color: #ff0000;">"FinInstnId"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// etiqueta identificacion entidad ordenanate</span><br />          xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta1 , <span style="color: #ff0000;">"BIC"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// BIC entidad ordenante</span><br />            mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>  <br />      <br />      xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"ChrgBr"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// clausula de gastos (CRED/DEBT/SHAR/SLEV) benefici/ordenante /compartidos/ acordados</span><br />      mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">8</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>        <br />   <br />   <br />   <span style="color: #B900B9;">//---------------------------- inicio subBloque  informacion trasferencia </span><br />   <br />          GrpTrasf := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpPAgos , <span style="color: #ff0000;">"CdtTrfTxInf"</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// bloque de informacion trasferencia</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"PmtId"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// bloque instrucciones de pago</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"InstrId"</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// numero de recibo max 35caracteres</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">9</span>,<span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"EndToEndId"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// identificador de extremo a extremo ¿?</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">9</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"Amt"</span> <span style="color: #000000;">&#41;</span>&nbsp; &nbsp; <span style="color: #B900B9;">// bloque de importe</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"InstdAmt"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mxmlElementSetAttr<span style="color: #000000;">&#40;</span> xEtiqueta1, <span style="color: #ff0000;">"Ccy"</span>,<span style="color: #ff0000;">"EUR"</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; <span style="color: #B900B9;">// importe dos decimales 11 digitos total usar "."</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"CdtrAgt"</span> <span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// entidad del beneficiario </span><br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"FinInstnId"</span> <span style="color: #000000;">&#41;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta1 , <span style="color: #ff0000;">"BIC"</span> <span style="color: #000000;">&#41;</span> &nbsp; <span style="color: #B900B9;">// bic beneficiario </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, aRecibos<span style="color: #000000;">&#91;</span><span style="color: #000000;">9</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"Cdtr"</span> <span style="color: #000000;">&#41;</span>&nbsp; &nbsp; <span style="color: #B900B9;">// beneficiario &nbsp; &nbsp; </span><br />&nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"Nm"</span> <span style="color: #000000;">&#41;</span> &nbsp;&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"Nombre_beneficiario"</span> <span style="color: #000000;">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"CdtrAcct"</span> <span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp;&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"Id"</span> <span style="color: #000000;">&#41;</span> &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta1 &nbsp;, <span style="color: #ff0000;">"IBAN"</span> <span style="color: #000000;">&#41;</span> &nbsp;&nbsp; &nbsp; <span style="color: #B900B9;">//iban beneficiario &nbsp; &nbsp; &nbsp; </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"iban_beneficiario"</span> <span style="color: #000000;">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;xEtiqueta := mxmlNewElement<span style="color: #000000;">&#40;</span> GrpTrasf &nbsp;, <span style="color: #ff0000;">"RmtInf"</span> <span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// informacion transacion</span><br />&nbsp; &nbsp; &nbsp; &nbsp;xEtiqueta1 := mxmlNewElement<span style="color: #000000;">&#40;</span> xEtiqueta &nbsp;, <span style="color: #ff0000;">"Ustrd"</span> <span style="color: #000000;">&#41;</span> &nbsp;&nbsp; &nbsp; <span style="color: #B900B9;">// descripcion maximo 140caracteres</span><br />&nbsp; &nbsp; &nbsp; &nbsp; mxmlNewText<span style="color: #000000;">&#40;</span>xEtiqueta1, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"Texto descriptivo de la transaccion"</span> <span style="color: #000000;">&#41;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><br /><span style="color: #B900B9;">//-------------   fin subbloque  informacion trasferencia </span><br />   <br />   mxmlSaveFile<span style="color: #000000;">&#40;</span> oXML, <span style="color: #ff0000;">"b2b.xml"</span>, MXML_NO_CALLBACK <span style="color: #000000;">&#41;</span><br />    <br />    <br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> CreaIsoDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> cFecha:= Dtos<span style="color: #000000;">&#40;</span>Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> CreateIsoDate<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"T"</span>+Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Function</span> CreateIsoDate<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><br /> <span style="color: #00C800;">LOCAL</span> cFecha<br /><span style="color: #00C800;">DEFAULT</span> dDate:= Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    cFecha:= Dtos<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>cfecha,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"-"</span>+<span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cFecha,<span style="color: #000000;">5</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"-"</span>+<span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cFecha,<span style="color: #000000;">7</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /> </div>[/code:27wv0q9e]
Adeudos Directos SEPA en euros Esquema B2B
En [url:1tb3e0tb]https&#58;//secure&#46;sepaeditor&#46;com/[/url:1tb3e0tb] previo registro es posible acceder a un editor SEPA, ya que la utilidad que ofrece Banco Sabadell solamente genera las normas en formato texto. No he podido probar -no soy cliente- el GUS [url:1tb3e0tb]http&#58;//empresa&#46;lacaixa&#46;es/transferenciaficheros/gus_es&#46;html[/url:1tb3e0tb], veo si puedo conseguirlo de algún cliente y a ver si genera formatos XML. De momento, con la utilidad online de sepaeditor he conseguido generar el siguiente formato : [code=fw:1tb3e0tb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><?xml version=<span style="color: #ff0000;">"1.0"</span> encoding=<span style="color: #ff0000;">"UTF-8"</span>?><br /><Document xmlns:<span style="color: #000000;">xsi</span>=<span style="color: #ff0000;">"http://www.w3.org/2001/XMLSchema-instance"</span> xmlns=<span style="color: #ff0000;">"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"</span>><br />&nbsp;<CstmrCdtTrfInitn><br />&nbsp; <GrpHdr><br />&nbsp; &nbsp;<MsgId>SCT REMITT <span style="color: #000000;">20</span>/<span style="color: #000000;">10</span>/<span style="color: #000000;">2013</span> <span style="color: #000000;">18</span> <span style="color: #000000;">46</span> <span style="color: #000000;">16</span></MsgId><br />&nbsp; &nbsp;<CreDtTm><span style="color: #000000;">2013</span><span style="color: #000000;">-10</span>-20T18:<span style="color: #000000;">50</span>:<span style="color: #000000;">15.3197840</span><span style="color: #000000;">+02</span>:<span style="color: #000000;">00</span></CreDtTm><br />&nbsp; &nbsp;<NbOfTxs><span style="color: #000000;">1</span></NbOfTxs><br />&nbsp; &nbsp;<CtrlSum><span style="color: #000000;">1234.56</span></CtrlSum><br />&nbsp; &nbsp;<InitgPty><br />&nbsp; &nbsp; <Nm>Empresa acreedora</Nm><br />&nbsp; &nbsp;</InitgPty><br />&nbsp; </GrpHdr><br />&nbsp; <PmtInf><br />&nbsp; &nbsp;<PmtInfId><span style="color: #000000;">20102013185015</span></PmtInfId><br />&nbsp; &nbsp;<PmtMtd>TRF</PmtMtd><br />&nbsp; &nbsp;<BtchBookg>false</BtchBookg><br />&nbsp; &nbsp;<NbOfTxs><span style="color: #000000;">1</span></NbOfTxs><br />&nbsp; &nbsp;<CtrlSum><span style="color: #000000;">1234.56</span></CtrlSum><br />&nbsp; &nbsp;<PmtTpInf><br />&nbsp; &nbsp; <SvcLvl><br />&nbsp; &nbsp; &nbsp;<Cd>SEPA</Cd><br />&nbsp; &nbsp; </SvcLvl><br />&nbsp; &nbsp;</PmtTpInf><br />&nbsp; &nbsp;<ReqdExctnDt><span style="color: #000000;">2013</span><span style="color: #000000;">-10</span><span style="color: #000000;">-21</span></ReqdExctnDt><br />&nbsp; &nbsp;<Dbtr><br />&nbsp; &nbsp; <Nm>Empresa acreedora</Nm><br />&nbsp; &nbsp; <PstlAdr><br />&nbsp; &nbsp; &nbsp;<PstCd><span style="color: #000000;">08014</span></PstCd><br />&nbsp; &nbsp; &nbsp;<TwnNm>barcelona</TwnNm><br />&nbsp; &nbsp; &nbsp;<Ctry>ES</Ctry><br />&nbsp; &nbsp; &nbsp;<AdrLine>calle tres, <span style="color: #000000;">45</span></AdrLine><br />&nbsp; &nbsp; </PstlAdr><br />&nbsp; &nbsp; <CtryOfRes>ES</CtryOfRes><br />&nbsp; &nbsp;</Dbtr><br />&nbsp; &nbsp;<DbtrAcct><br />&nbsp; &nbsp; <Id><br />&nbsp; &nbsp; &nbsp;<IBAN>ES0700120345030000067890</IBAN><br />&nbsp; &nbsp; </Id><br />&nbsp; &nbsp; <Ccy>EUR</Ccy><br />&nbsp; &nbsp;</DbtrAcct><br />&nbsp; &nbsp;<DbtrAgt><br />&nbsp; &nbsp; <FinInstnId><br />&nbsp; &nbsp; &nbsp;<BIC>SOGEESPA000</BIC><br />&nbsp; &nbsp; </FinInstnId><br />&nbsp; &nbsp;</DbtrAgt><br />&nbsp; &nbsp;<ChrgBr>SLEV</ChrgBr><br />&nbsp; &nbsp;<CdtTrfTxInf><br />&nbsp; &nbsp; <PmtId><br />&nbsp; &nbsp; &nbsp;<InstrId>end id</InstrId><br />&nbsp; &nbsp; &nbsp;<EndToEndId>instruction id</EndToEndId><br />&nbsp; &nbsp; </PmtId><br />&nbsp; &nbsp; <Amt><br />&nbsp; &nbsp; &nbsp;<InstdAmt Ccy=<span style="color: #ff0000;">"EUR"</span>><span style="color: #000000;">1234.56</span></InstdAmt><br />&nbsp; &nbsp; </Amt><br />&nbsp; &nbsp; <CdtrAgt><br />&nbsp; &nbsp; &nbsp;<FinInstnId><br />&nbsp; &nbsp; &nbsp; <BIC>SOGEESPP000</BIC><br />&nbsp; &nbsp; &nbsp;</FinInstnId><br />&nbsp; &nbsp; </CdtrAgt><br />&nbsp; &nbsp; <Cdtr><br />&nbsp; &nbsp; &nbsp;<Nm>pepeillo el deudor</Nm><br />&nbsp; &nbsp; &nbsp;<PstlAdr><br />&nbsp; &nbsp; &nbsp; <PstCd><span style="color: #000000;">08028</span></PstCd><br />&nbsp; &nbsp; &nbsp; <TwnNm>city</TwnNm><br />&nbsp; &nbsp; &nbsp; <Ctry>ES</Ctry><br />&nbsp; &nbsp; &nbsp; <AdrLine>adr1 adr2</AdrLine><br />&nbsp; &nbsp; &nbsp; <AdrLine>adr3</AdrLine><br />&nbsp; &nbsp; &nbsp;</PstlAdr><br />&nbsp; &nbsp; &nbsp;<Id><br />&nbsp; &nbsp; &nbsp; <OrgId><br />&nbsp; &nbsp; &nbsp; &nbsp;<Othr><br />&nbsp; &nbsp; &nbsp; &nbsp; <Id>B3333445566</Id><br />&nbsp; &nbsp; &nbsp; &nbsp; <SchmeNm><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<Cd>SRET</Cd><br />&nbsp; &nbsp; &nbsp; &nbsp; </SchmeNm><br />&nbsp; &nbsp; &nbsp; &nbsp;</Othr><br />&nbsp; &nbsp; &nbsp; </OrgId><br />&nbsp; &nbsp; &nbsp;</Id><br />&nbsp; &nbsp; &nbsp;<CtryOfRes>ES</CtryOfRes><br />&nbsp; &nbsp; </Cdtr><br />&nbsp; &nbsp; <CdtrAcct><br />&nbsp; &nbsp; &nbsp;<Id><br />&nbsp; &nbsp; &nbsp; <IBAN>ES0700120345030000067890</IBAN><br />&nbsp; &nbsp; &nbsp;</Id><br />&nbsp; &nbsp; </CdtrAcct><br />&nbsp; &nbsp; <RmtInf><br />&nbsp; &nbsp; &nbsp;<Ustrd>comunications</Ustrd><br />&nbsp; &nbsp; </RmtInf><br />&nbsp; &nbsp;</CdtTrfTxInf><br />&nbsp; </PmtInf><br />&nbsp;</CstmrCdtTrfInitn><br /></Document><br />&nbsp;</div>[/code:1tb3e0tb]
Adeudos Directos SEPA en euros Esquema B2B
Pongo un enlace del documento que tienen que firmar los clientes para autorizar los cargos . Es para el modelo b2b . [url:2pzh4xaq]http&#58;//img820&#46;imageshack&#46;us/img820/7162/bp&#46;pdf[/url:2pzh4xaq]
Adeudos Directos SEPA en euros Esquema B2B
Un pequeño aporte: El documento PDF de domiciliación que ha facilitado Manuel para fusionarlo con nuestros datos. Espero os sea de utilidad. <!-- m --><a class="postlink" href="http://www.ge.tt/21mzjFw/v/0?c">http://www.ge.tt/21mzjFw/v/0?c</a><!-- m -->
Adeudos Directos SEPA en euros Esquema B2B
Manuel, Muy bueno. Muchas gracias
Adeudos Directos SEPA en euros Esquema B2B
[quote="Manuel Aranda":3ht6r690]Un pequeño aporte: El documento PDF de domiciliación que ha facilitado Manuel para fusionarlo con nuestros datos. Espero os sea de utilidad. <!-- m --><a class="postlink" href="http://www.ge.tt/21mzjFw/v/0?c">http://www.ge.tt/21mzjFw/v/0?c</a><!-- m -->[/quote:3ht6r690] Muchas gracias Manuel, Yo voy a empezar a hacer la plantilla para el esquema básico (CORE) en word y me he quedado de piedra al ver el buen trabajo que has hecho. Lástima que tu ejemplo no sea para CORE si no me ahorraba un montón de trabajo (realmente estoy muy oxidado). Buen trabajo.
Adeudos Directos SEPA en euros Esquema B2B
Hola Carlos, si me pasas la plantilla la adapto y la metemos en el ejemplo anterior.
Adeudos Directos SEPA en euros Esquema B2B
[quote="Manuel Aranda":1fo98lcu]Hola Carlos, si me pasas la plantilla la adapto y la metemos en el ejemplo anterior.[/quote:1fo98lcu] Lo que tengo ahora es un PDF. Cómo puedo pasarte el PDF original? A que mail? Gracias,
Adeudos Directos SEPA en euros Esquema B2B
[quote="Manuel Aranda":obkg33nh]Hola Carlos, si me pasas la plantilla la adapto y la metemos en el ejemplo anterior.[/quote:obkg33nh] Lo ha sacado de aquí. <!-- m --><a class="postlink" href="https://www.bancsabadell.com/cs/Satellite?blobcol=urldata&blobheader=application%2Fpdf&blobheadername1=Content-disposition&blobheadervalue1=attachment%3B+filename%3DFolleto-AEB+Norma+50+Mandatos+SEPA%2C0.pdf&blobkey=id&blobtable=MungoBlobs&blobwhere=8000014123778&bsb=R0JTX011bHRpbWVkaWFfRkEtNjAwMDAwNzAwNzI5NC0xMTgzMDE1NjQwMzU1&ssbinary=true">https://www.bancsabadell.com/cs/Satelli ... inary=true</a><!-- m -->
Adeudos Directos SEPA en euros Esquema B2B
He modificado el ejemplo anterior para que contemple tambien el modelo CORE. Aquí está el enlace para descargar. <!-- m --><a class="postlink" href="http://www.ge.tt/8lsQKTw/v/0?c">http://www.ge.tt/8lsQKTw/v/0?c</a><!-- m --> Estoy seguro que el código es optimizable con la clase XML, pues ya veis como genero el fichero XML, quizá de una forma poco ortodoxa, pero es como se me ha ocurrido hacerlo con los conocimientos que tengo. A ver si alguien se anima a portar el ejemplo utilizando la clase XML. Modificar un archivo PDF es muy sencillo con la edición profesional de Acrobat Reader. Se pueden asignar y modificar campos en un momento y tener listo un formulario sin tener que tocar nada de código. En fín, que nos salimos del tema del hilo.
Adeudos Directos SEPA en euros Esquema B2B
Amigos, Muchísimas gracias por compartir sus experiencias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Entiendo que debemos tener la norma core, porque el b2b es exclusivamente entre empresas, de modo que cuando hay un particular o consumidor no sirve. ¿Alguno tiene un ejemplo del archivo core en formato texto?. No lo encuentro. Muy agradecida <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->)
Adeudos Directos SEPA en euros Esquema B2B
Hola Elvira: Pues eso, es que no hay forma de encontrar un ejemplo por ninguna parte. De cualquier manera, al final de este documento <!-- m --><a class="postlink" href="http://www.aeb60.com/Cuadernos/Cuaderno%2019.14%20Adeudos%20Directos%20SEPA%20en%20fichero%20electr">http://www.aeb60.com/Cuadernos/Cuaderno ... o%20electr</a><!-- m -->ónico%20–%20Esquema%20Básico.pdf Con el ANEXO VII – REGLAS DE MIGRACIÓN DE ADEUDOS DOMICILIADOS ESPAÑOLES AL ESQUEMA DE ADEUDO DIRECTO BÁSICO SEPA tal vez sea suficiente para convertir los antiguos ficheros a la nueva norma (en fichero TXT claro, que sería válidos hasta 2016)