Class GenBilling
java.lang.Object
org.brerp.bancosbrasileiros.apps.form.GenBilling
- Direct Known Subclasses:
WGenBilling
Common class for billing generation
- Version:
- $Id: GenBilling.java, v1.0 23/09/2014 17:13:24, muriloht Exp $
- Author:
- muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br), Gabriel Schneider (gabriel.schneider@devcoffee.com.br, https://www.devcoffee.com.br)
-
Field Summary
Modifier and TypeFieldDescriptionstatic CLogger
LoggerOrg IDint
C_BPartner_IDboolean
TdDFormatint
LBR_DocFiscal_IDint
Number of selected rowsboolean
Apenas NFs Autorizadasint
int
int
Window No -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateSelection
(IMiniTable miniTable) Calculate selected rows. - add up selected rowsstatic boolean
Delete folderexportBilling
(int COF_C_BankIntegration_ID, String FilePath) Export BillingList<org.jrimum.bopepo.Boleto>
generateBilling
(int COF_C_BankIntegration_ID) Gera os Boletos - Controle por TransaçãoGet Bank Integration ConfigurationsGet printer list (Only for SWING client)getTituloGeradoBoleto
(org.jrimum.bopepo.Boleto boleto, int integracaoBancaria, int fatura, int programacaoFatura, String trxName) void
loadTableInfo
(KeyNamePair bi, Timestamp dateFrom, Timestamp dateTo, boolean isPrinted, boolean isBillingBlocked, IMiniTable miniTable, Timestamp dueDateFrom, Timestamp dueDateTo) Query and create TableInfovoid
prepareTable
(IMiniTable miniTable) Prepare TableprintBilling
(int COF_C_BankIntegration_ID) Generate PaySelectionvoid
sendEmail
(int COF_BankIntegration_ID, int AD_Org_ID)
-
Field Details
-
m_WindowNo
public int m_WindowNoWindow No -
m_format
Format -
m_noSelected
public int m_noSelectedNumber of selected rows -
m_AD_Org_ID
Org ID -
m_DocType_ID
TdD -
m_C_BPartner_ID
public int m_C_BPartner_IDC_BPartner_ID -
m_LBR_DocFiscal_ID
public int m_LBR_DocFiscal_IDLBR_DocFiscal_ID -
m_OnlyAutNF
public boolean m_OnlyAutNFApenas NFs Autorizadas -
log
Logger -
m_User1_ID
public int m_User1_ID -
m_User2_ID
public int m_User2_ID -
m_CreateCNAB
public boolean m_CreateCNAB -
itensAProcessar
-
-
Constructor Details
-
GenBilling
public GenBilling()
-
-
Method Details
-
getBankIntegrationData
Get Bank Integration Configurations- Returns:
-
getPrinterData
Get printer list (Only for SWING client)- Returns:
-
prepareTable
Prepare Table- Parameters:
miniTable
-
-
loadTableInfo
public void loadTableInfo(KeyNamePair bi, Timestamp dateFrom, Timestamp dateTo, boolean isPrinted, boolean isBillingBlocked, IMiniTable miniTable, Timestamp dueDateFrom, Timestamp dueDateTo) Query and create TableInfo -
calculateSelection
Calculate selected rows. - add up selected rows- Parameters:
miniTable
-- Returns:
-
exportBilling
Export Billing- Parameters:
miniTable
-COF_C_BankIntegration_ID
-FilePath
-- Returns:
- Throws:
IOException
Exception
-
printBilling
Generate PaySelection- Throws:
Exception
-
generateBilling
public List<org.jrimum.bopepo.Boleto> generateBilling(int COF_C_BankIntegration_ID) throws Exception Gera os Boletos - Controle por Transação- Parameters:
miniTable
-COF_C_BankIntegration_ID
-- Returns:
- Throws:
Exception
-
deleteDir
Delete folder- Parameters:
dir
-- Returns:
-
getTituloGeradoBoleto
public MCOFTitulo getTituloGeradoBoleto(org.jrimum.bopepo.Boleto boleto, int integracaoBancaria, int fatura, int programacaoFatura, String trxName) -
sendEmail
- Throws:
Exception
-