General information
Category:
Reports & Report designer
Claudio,
Voce vai trabalhar com algum banco especifico?Voce ja tem o layout desse banco, se voce quiser gerar um codigo generalizado , não vai dar certo, cada banco tem suas peculiaridades.
banco+'9'+'D'+str(MDTVEN,4)+MVAL+'109'+m_nosso+m_digD+'124805139'+m_digC+'000'
//SDIGC='124805139'//agencia/conta
//m_digC = DIGMOD10(sdigc)
MDTVEN seria a agencia com 4 ?
*fator de vencimento:
/MDTVEN=(M_DTVENC - CTOD('07/10/1997'))
//SDIGD='124805139109'+M_NOSSO
//"109"cod de convenio, isso tb varia de banco para o outro
//m_digD = DIGMOD10(sdigd)
o que seria '124805139' ?
'124805139'//agencia/conta
m_digc digito..
digitavel:
m_ipte1 = '3419109'+substr(m_nosso,1,2)
dig1 = DIGMOD10(m_ipte1)
m_ipte1+dig1.
m_ipte2=SUBSTR(m_nosso,3,8)+m_DIGD+'124'&&
dig2 = DIGMOD10(m_ipte2)&&
m_ipte2=m_ipte2+dig2&&
m_ipte3='8051391000'&&
dig3 = DIGMOD10(m_ipte3)&&
m_ipte3=m_ipte3+dig3&&
m_ipte4=dig5&&
m_ipte5=STR(MDTVEN,4)+MVAL&&
M_IPTE = m_ipte1+m_ipte2+m_ipte3+m_ipte4+m_ipte5
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only