Class MCOFTitulo
java.lang.Object
org.compiere.model.PO
org.brerp.bancosbrasileiros.model.X_COF_Titulo
org.brerp.bancosbrasileiros.model.MCOFTitulo
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_COF_Titulo,I_Persistent,Evaluatee
Titulo Bancário model class
- Version:
- $Id: MCOFTitulo.java, 07/01/2015 14:53:38 gabriels
- Author:
- muriloht, Gabriel S Schneider (gabriel.schneider@devcoffee.com.br, http://www.devcoffee.com.br)
- See Also:
-
Field Summary
Fields inherited from class org.brerp.bancosbrasileiros.model.X_COF_Titulo
COF_BILLFOLDTYPE_CobrançaCaucionada, COF_BILLFOLDTYPE_CobrançaDescontada, COF_BILLFOLDTYPE_CobrançaRegistrada, COF_BILLFOLDTYPE_CobrançaSimples, COF_BILLFOLDTYPE_CobrançaVinculada, COF_BILLFOLDTYPE_Compror, COF_BILLFOLDTYPE_Vendor, COF_BILLTYPE_ComRegistro, COF_BILLTYPE_SemRegistro, COF_STATUSEMAIL_E_MailEnviado, COF_STATUSEMAIL_FalhaNoEnvioDoE_Mail, COF_STATUSEMAIL_LiberadoParaEnvio, COF_TITULO_CANALPAGAMENTO_01_TerminalDeAuto_Atendimento, COF_TITULO_CANALPAGAMENTO_02_Internet, COF_TITULO_CANALPAGAMENTO_03_CentralDeAtendimentoURA, COF_TITULO_CANALPAGAMENTO_04_GerenciadorFinanceira, COF_TITULO_CANALPAGAMENTO_05_CentralDeAtendimento, COF_TITULO_CANALPAGAMENTO_06_OutroCanalDeAuto_Atendimento, COF_TITULO_CANALPAGAMENTO_07_CorrespondenteBancário, COF_TITULO_CANALPAGAMENTO_08_GuichêDeCaixa, COF_TITULO_CANALPAGAMENTO_09_Arquivo_Eletrônico, COF_TITULO_CANALPAGAMENTO_10_Compensação, COF_TITULO_CANALPAGAMENTO_11_OutroCanalEletrônico, COF_TITULO_FORMAPAGAMENTO_0_Bloqueto, COF_TITULO_FORMAPAGAMENTO_1_DébitoCCComprador, COF_TITULO_FORMAPAGAMENTO_2_DébitoCCFornecedor, COF_TITULO_FORMAPAGAMENTO_3_PagamentoViaDOCPeloComprador, COF_TITULO_FORMAPAGAMENTO_4_PagamentoViaDOCPeloFornecedor, LBR_BPTYPEBR_PF_Individual, LBR_BPTYPEBR_PJ_LegalEntity, LBR_NFESTATUS_Autorizada, LBR_NFESTATUS_Cancelada, LBR_NFESTATUS_DevolvidaFields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.brerp.bancosbrasileiros.model.I_COF_Titulo
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Bank_ID, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_BPartner_Location_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_InvoicePaySchedule_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_OrderPaySchedule_ID, COLUMNNAME_cof_BillFoldType, COLUMNNAME_cof_BillType, COLUMNNAME_cof_boleto_codigoBarras, COLUMNNAME_cof_boleto_dataProcess, COLUMNNAME_cof_boleto_Instrucao1, COLUMNNAME_cof_boleto_Instrucao2, COLUMNNAME_cof_boleto_Instrucao3, COLUMNNAME_cof_boleto_Instrucao4, COLUMNNAME_cof_boleto_Instrucao5, COLUMNNAME_cof_boleto_Instrucao6, COLUMNNAME_cof_boleto_Instrucao7, COLUMNNAME_cof_boleto_Instrucao8, COLUMNNAME_cof_boleto_InstrucaoSacado, COLUMNNAME_cof_boleto_linhaDigitavel, COLUMNNAME_cof_boleto_localPagamento, COLUMNNAME_cof_boleto_textoExtra, COLUMNNAME_cof_BorderoName, COLUMNNAME_COF_C_BankIntegration_ID, COLUMNNAME_COF_C_BankOccurrence_ID, COLUMNNAME_cof_cedente_Bairro, COLUMNNAME_cof_cedente_BPartner_ID, COLUMNNAME_cof_cedente_CEP, COLUMNNAME_cof_cedente_Cidade, COLUMNNAME_cof_cedente_Complemento, COLUMNNAME_cof_cedente_ComplementoCEP, COLUMNNAME_cof_cedente_contaBancaria, COLUMNNAME_cof_cedente_contaBancariaDig, COLUMNNAME_cof_cedente_CPFCNPJ, COLUMNNAME_cof_cedente_Logradouro, COLUMNNAME_cof_cedente_Nome, COLUMNNAME_cof_cedente_Numero, COLUMNNAME_cof_cedente_Pais, COLUMNNAME_cof_cedente_Telefone, COLUMNNAME_cof_cedente_UF, COLUMNNAME_COF_Cobranca_PIX_ID, COLUMNNAME_cof_conta_Carteira, COLUMNNAME_cof_conta_cBanco, COLUMNNAME_cof_conta_digAgencia, COLUMNNAME_cof_conta_digConta, COLUMNNAME_cof_conta_Modalidade, COLUMNNAME_cof_conta_numAgencia, COLUMNNAME_cof_conta_numConta, COLUMNNAME_cof_conta_Titular, COLUMNNAME_cof_CustomNumber, COLUMNNAME_COF_isPIXGerado, COLUMNNAME_cof_PayScheduleNo, COLUMNNAME_cof_Processed, COLUMNNAME_cof_Processed2, COLUMNNAME_cof_Processing, COLUMNNAME_cof_RecordHistory, COLUMNNAME_cof_RequiresParameter, COLUMNNAME_cof_sacado_Bairro, COLUMNNAME_cof_sacado_CEP, COLUMNNAME_cof_sacado_Cidade, COLUMNNAME_cof_sacado_Complemento, COLUMNNAME_cof_sacado_ComplementoCEP, COLUMNNAME_cof_sacado_contaBancaria, COLUMNNAME_cof_sacado_CPFCNPJ, COLUMNNAME_cof_sacado_Localidade, COLUMNNAME_cof_sacado_Logradouro, COLUMNNAME_cof_sacado_Nome, COLUMNNAME_cof_sacado_Numero, COLUMNNAME_cof_sacado_Pais, COLUMNNAME_cof_sacado_Telefone, COLUMNNAME_cof_sacado_UF, COLUMNNAME_COF_StatusEmail, COLUMNNAME_cof_titulo_Aceite, COLUMNNAME_cof_titulo_canalPagamento, COLUMNNAME_cof_titulo_ContaBancaria, COLUMNNAME_cof_titulo_dataDebito, COLUMNNAME_cof_titulo_dataDesconto, COLUMNNAME_cof_titulo_DataDocumento, COLUMNNAME_cof_titulo_dataPagamento, COLUMNNAME_cof_titulo_DataVencimento, COLUMNNAME_cof_titulo_DataVencimentoOriginal, COLUMNNAME_cof_titulo_Deducao, COLUMNNAME_cof_titulo_Desconto, COLUMNNAME_cof_titulo_DiasMulta, COLUMNNAME_cof_titulo_DigNossoNumero, COLUMNNAME_cof_titulo_formaPagamento, COLUMNNAME_COF_Titulo_ID, COLUMNNAME_cof_titulo_moraMulta, COLUMNNAME_cof_titulo_multaData, COLUMNNAME_cof_titulo_multaPercentual, COLUMNNAME_cof_titulo_nossoNumero, COLUMNNAME_cof_titulo_numDoc, COLUMNNAME_cof_titulo_tipoDocumento, COLUMNNAME_cof_titulo_tipoMoeda, COLUMNNAME_COF_Titulo_UU, COLUMNNAME_cof_titulo_vAcrescimoEfetiv, COLUMNNAME_cof_titulo_Valor, COLUMNNAME_cof_titulo_valorAbatimento, COLUMNNAME_cof_titulo_valorJuros, COLUMNNAME_cof_titulo_valorTarifas, COLUMNNAME_cof_titulo_vDescontoEfetivado, COLUMNNAME_cof_titulo_vMultaEfetivada, COLUMNNAME_cof_tituloAcrescimo, COLUMNNAME_COF_VezesProrrogado, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsPaid, COLUMNNAME_IsValid, COLUMNNAME_lbr_BPTypeBR, COLUMNNAME_LBR_DocFiscal_ID, COLUMNNAME_lbr_NFeStatus, COLUMNNAME_Org_Location_ID, COLUMNNAME_ParameterDefault, COLUMNNAME_Processed, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionMCOFTitulo(Properties ctx, int COF_Titulo_ID, String trxName) MCOFTitulo(Properties ctx, int COF_Titulo_ID, String trxName, String... virtualColumns) MCOFTitulo(Properties ctx, String COF_Titulo_UU, String trxName) MCOFTitulo(Properties ctx, String COF_Titulo_UU, String trxName, String... virtualColumns) MCOFTitulo(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecordHistory(String history) Adiciona histórico para o titulostatic StringalterarVencimento(MCOFTitulo titulo, Timestamp p_DueDate, BigDecimal p_DueAmt) voidatualizarStatusEmail(String status) Atualiza status do envio de emailstatic StringbaixarTitulo(MCOFCBankOccurrence bankOcurrence, MCOFTitulo titulo) static StringcancelaTitulo(StringBuffer msg, String infoChange, MCOFTitulo t) static StringconcederDesconto(MCOFTitulo titulo, BigDecimal desconto) Concede um valor de desconto no titulo bancáriovoidstatic org.jrimum.bopepo.BoletogenBoleto(MCOFTitulo titulo, String trxName) Gera o Boleto(org.jrimum.bopepo.Boleto) Método para tornar modular a geração de Boletos no Sistema.org.jrimum.bopepo.Boletostatic MCOFTitulogenTitulo(MInvoice invoice, MInvoicePaySchedule ips, int COF_C_BankIntegration_ID, int AD_Org_ID, String trxName) Generate Titulostatic MCOFTitulogenTitulo(MOrder order, MOrderPaySchedule ips, int COF_C_BankIntegration_ID, int AD_Org_ID, String trxName) protected static MCOFTitulostatic List<MCOFTitulo>getSelection(String trxName, int AD_PInstance_ID) Get Titles when Called of Info Windowstatic MMailTextgetTemplatePadrao(int adOrgID) Método responsável por retornar a Template Padrão (MMailText) para o título.static MCOFTitulo[]getTitulo(MLBRDocFiscal docFiscal) static MCOFTitulo[]getTitulo(MLBRDocFiscal docFiscal, String trxName) static MCOFTitulo[]getTitulo(MLBRDocFiscal docFiscal, MInvoice invoice, String trxName) Retorna os Titulos Bancários válidos de um documento fiscalstatic MCOFTituloRetorna o Titulo Bancário válidostatic List<MCOFTitulo>getTitulos(MInvoice invoice) Retorna todos os titulos validos de uma fatura e que ja tenha sido impressos (gerado boleto)voidinvalidar(int type, boolean force) Verifica a situação do boleto e invalida caso seja possívelvoidvoidMetodo responsavel por procesar pagamento por PIX do titulovoidsetIsEmailEnviado(boolean isEmailEnviado, String trxName) Atualiza status do envio de email passando TrxVerifica a situação do titulo e retorna uma mensagemMethods inherited from class org.brerp.bancosbrasileiros.model.X_COF_Titulo
get_AccessLevel, getC_Bank, getC_Bank_ID, getC_BankAccount, getC_BankAccount_ID, getC_BPartner, getC_BPartner_ID, getC_BPartner_Location, getC_BPartner_Location_ID, getC_Invoice, getC_Invoice_ID, getC_InvoicePaySchedule, getC_InvoicePaySchedule_ID, getC_Order, getC_Order_ID, getC_OrderPaySchedule, getC_OrderPaySchedule_ID, getcof_BillFoldType, getcof_BillType, getcof_boleto_codigoBarras, getcof_boleto_dataProcess, getcof_boleto_Instrucao1, getcof_boleto_Instrucao2, getcof_boleto_Instrucao3, getcof_boleto_Instrucao4, getcof_boleto_Instrucao5, getcof_boleto_Instrucao6, getcof_boleto_Instrucao7, getcof_boleto_Instrucao8, getcof_boleto_InstrucaoSacado, getcof_boleto_linhaDigitavel, getcof_boleto_localPagamento, getcof_boleto_textoExtra, getcof_BorderoName, getCOF_C_BankIntegration, getCOF_C_BankIntegration_ID, getCOF_C_BankOccurrence, getCOF_C_BankOccurrence_ID, getcof_cedente_Bairro, getcof_cedente_BPartner_ID, getcof_cedente_CEP, getcof_cedente_Cidade, getcof_cedente_Complemento, getcof_cedente_ComplementoCEP, getcof_cedente_contaBancaria, getcof_cedente_contaBancariaDig, getcof_cedente_CPFCNPJ, getcof_cedente_Logradouro, getcof_cedente_Nome, getcof_cedente_Numero, getcof_cedente_Pais, getcof_cedente_Telefone, getcof_cedente_UF, getCOF_Cobranca_PIX, getCOF_Cobranca_PIX_ID, getcof_conta_Carteira, getcof_conta_cBanco, getcof_conta_digAgencia, getcof_conta_digConta, getcof_conta_Modalidade, getcof_conta_numAgencia, getcof_conta_numConta, getcof_conta_Titular, getcof_CustomNumber, getcof_PayScheduleNo, getcof_Processing, getcof_RecordHistory, getcof_sacado_Bairro, getcof_sacado_CEP, getcof_sacado_Cidade, getcof_sacado_Complemento, getcof_sacado_ComplementoCEP, getcof_sacado_contaBancaria, getcof_sacado_CPFCNPJ, getcof_sacado_Localidade, getcof_sacado_Logradouro, getcof_sacado_Nome, getcof_sacado_Numero, getcof_sacado_Pais, getcof_sacado_Telefone, getcof_sacado_UF, getCOF_StatusEmail, getcof_titulo_Aceite, getcof_titulo_canalPagamento, getcof_titulo_ContaBancaria, getcof_titulo_dataDebito, getcof_titulo_dataDesconto, getcof_titulo_DataDocumento, getcof_titulo_dataPagamento, getcof_titulo_DataVencimento, getcof_titulo_DataVencimentoOriginal, getcof_titulo_Deducao, getcof_titulo_Desconto, getcof_titulo_DiasMulta, getcof_titulo_DigNossoNumero, getcof_titulo_formaPagamento, getCOF_Titulo_ID, getcof_titulo_moraMulta, getcof_titulo_multaData, getcof_titulo_multaPercentual, getcof_titulo_nossoNumero, getcof_titulo_numDoc, getcof_titulo_tipoDocumento, getcof_titulo_tipoMoeda, getCOF_Titulo_UU, getcof_titulo_vAcrescimoEfetiv, getcof_titulo_Valor, getcof_titulo_valorAbatimento, getcof_titulo_valorJuros, getcof_titulo_valorTarifas, getcof_titulo_vDescontoEfetivado, getcof_titulo_vMultaEfetivada, getcof_tituloAcrescimo, getCOF_VezesProrrogado, getlbr_BPTypeBR, getLBR_DocFiscal_ID, getlbr_NFeStatus, getOrg_Location, getOrg_Location_ID, getParameterDefault, initPO, isCOF_isPIXGerado, iscof_Processed, iscof_Processed2, iscof_RequiresParameter, isPaid, isProcessed, isValid, setC_Bank_ID, setC_BankAccount_ID, setC_BPartner_ID, setC_BPartner_Location_ID, setC_Invoice_ID, setC_InvoicePaySchedule_ID, setC_Order_ID, setC_OrderPaySchedule_ID, setcof_BillFoldType, setcof_BillType, setcof_boleto_codigoBarras, setcof_boleto_dataProcess, setcof_boleto_Instrucao1, setcof_boleto_Instrucao2, setcof_boleto_Instrucao3, setcof_boleto_Instrucao4, setcof_boleto_Instrucao5, setcof_boleto_Instrucao6, setcof_boleto_Instrucao7, setcof_boleto_Instrucao8, setcof_boleto_InstrucaoSacado, setcof_boleto_linhaDigitavel, setcof_boleto_localPagamento, setcof_boleto_textoExtra, setcof_BorderoName, setCOF_C_BankIntegration_ID, setCOF_C_BankOccurrence_ID, setcof_cedente_Bairro, setcof_cedente_BPartner_ID, setcof_cedente_CEP, setcof_cedente_Cidade, setcof_cedente_Complemento, setcof_cedente_ComplementoCEP, setcof_cedente_contaBancaria, setcof_cedente_contaBancariaDig, setcof_cedente_CPFCNPJ, setcof_cedente_Logradouro, setcof_cedente_Nome, setcof_cedente_Numero, setcof_cedente_Pais, setcof_cedente_Telefone, setcof_cedente_UF, setCOF_Cobranca_PIX_ID, setcof_conta_Carteira, setcof_conta_cBanco, setcof_conta_digAgencia, setcof_conta_digConta, setcof_conta_Modalidade, setcof_conta_numAgencia, setcof_conta_numConta, setcof_conta_Titular, setcof_CustomNumber, setCOF_isPIXGerado, setcof_PayScheduleNo, setcof_Processed, setcof_Processed2, setcof_Processing, setcof_RecordHistory, setcof_RequiresParameter, setcof_sacado_Bairro, setcof_sacado_CEP, setcof_sacado_Cidade, setcof_sacado_Complemento, setcof_sacado_ComplementoCEP, setcof_sacado_contaBancaria, setcof_sacado_CPFCNPJ, setcof_sacado_Localidade, setcof_sacado_Logradouro, setcof_sacado_Nome, setcof_sacado_Numero, setcof_sacado_Pais, setcof_sacado_Telefone, setcof_sacado_UF, setCOF_StatusEmail, setcof_titulo_Aceite, setcof_titulo_canalPagamento, setcof_titulo_ContaBancaria, setcof_titulo_dataDebito, setcof_titulo_dataDesconto, setcof_titulo_DataDocumento, setcof_titulo_dataPagamento, setcof_titulo_DataVencimento, setcof_titulo_DataVencimentoOriginal, setcof_titulo_Deducao, setcof_titulo_Desconto, setcof_titulo_DiasMulta, setcof_titulo_DigNossoNumero, setcof_titulo_formaPagamento, setCOF_Titulo_ID, setcof_titulo_moraMulta, setcof_titulo_multaData, setcof_titulo_multaPercentual, setcof_titulo_nossoNumero, setcof_titulo_numDoc, setcof_titulo_tipoDocumento, setcof_titulo_tipoMoeda, setCOF_Titulo_UU, setcof_titulo_vAcrescimoEfetiv, setcof_titulo_Valor, setcof_titulo_valorAbatimento, setcof_titulo_valorJuros, setcof_titulo_valorTarifas, setcof_titulo_vDescontoEfetivado, setcof_titulo_vMultaEfetivada, setcof_tituloAcrescimo, setCOF_VezesProrrogado, setIsPaid, setIsValid, setlbr_BPTypeBR, setLBR_DocFiscal_ID, setlbr_NFeStatus, setOrg_Location_ID, setParameterDefault, setProcessed, toStringMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.brerp.bancosbrasileiros.model.I_COF_Titulo
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
MCOFTitulo
- Parameters:
ctx-COF_Titulo_ID-trxName-
-
MCOFTitulo
- Parameters:
ctx-rs-trxName-
-
MCOFTitulo
-
MCOFTitulo
-
MCOFTitulo
-
-
Method Details
-
genTitulo
protected static MCOFTitulo genTitulo(PO document, PO ps, int COF_C_BankIntegration_ID, int AD_Org_ID, String trxName) throws Exception - Throws:
Exception
-
genTitulo
public static MCOFTitulo genTitulo(MOrder order, MOrderPaySchedule ips, int COF_C_BankIntegration_ID, int AD_Org_ID, String trxName) throws Exception - Throws:
Exception
-
genTitulo
public static MCOFTitulo genTitulo(MInvoice invoice, MInvoicePaySchedule ips, int COF_C_BankIntegration_ID, int AD_Org_ID, String trxName) throws Exception Generate Titulo- Parameters:
invoice-ips-trx-- Returns:
- Throws:
Exception
-
getTitulo
Retorna o Titulo Bancário válido- Parameters:
invoice-ips-trx-- Returns:
-
getTitulo
-
getTitulo
-
getTitulo
Retorna os Titulos Bancários válidos de um documento fiscal- Parameters:
docFiscal-- Returns:
-
generateBoletos
- Throws:
Exception
-
genBoleto
public static org.jrimum.bopepo.Boleto genBoleto(MCOFTitulo titulo, String trxName) throws Exception Gera o Boleto(org.jrimum.bopepo.Boleto) Método para tornar modular a geração de Boletos no Sistema.- Parameters:
titulo-trxName-- Returns:
- Boleto
- Throws:
Exception
-
invalidarPIX
public void invalidarPIX() -
invalidar
public void invalidar(int type, boolean force) Verifica a situação do boleto e invalida caso seja possível- Parameters:
type- ( 1 - estornar/anular fatura, 2 - cancelamento de NFe, 3 - devolução de NFe, 4 - alteração de custodia, 5 - condição de pagamento, 6 - baixa manualforce-
-
verificaSituacao
Verifica a situação do titulo e retorna uma mensagem- Parameters:
po-- Returns:
-
createNote
-
getBoleto
- Throws:
Exception
-
getSelection
Get Titles when Called of Info Window- Parameters:
trxName-AD_PInstance_ID-- Returns:
-
getTitulos
Retorna todos os titulos validos de uma fatura e que ja tenha sido impressos (gerado boleto)- Parameters:
Invoice-
-
cancelaTitulo
- Parameters:
msg-infoChange-t-- Returns:
-
baixarTitulo
- Parameters:
sb-bankOcurrence-titulo-
-
concederDesconto
Concede um valor de desconto no titulo bancário- Parameters:
titulo- BigDecimal desconto
-
alterarVencimento
- Parameters:
titulo-
-
setIsEmailEnviado
Atualiza status do envio de email passando Trx- Parameters:
isEmailEnviado-trxName-
-
atualizarStatusEmail
Atualiza status do envio de email- Parameters:
status-
-
processarPagamentoPIX
public void processarPagamentoPIX()Metodo responsavel por procesar pagamento por PIX do titulo -
addRecordHistory
Adiciona histórico para o titulo- Parameters:
history-
-
getTemplatePadrao
Método responsável por retornar a Template Padrão (MMailText) para o título.- Parameters:
adOrgID- : Deve ser informada a Organização onde deve ser feito a busca.- Returns:
- Uma instância da
MMailTextcaso seja encontrada.
-