Class TemplateBillManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.bill.server.bean.TemplateBillManager
public class TemplateBillManager
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateBillManager(Connection con, int moduleId, DocumentType documentType) -
Method Summary
Modifier and TypeMethodDescriptiongetTemplatePayBillList(Preferences moduleSetup, int yy, int mm, String contractLabels, String cids, String docTypes, String[] outgoing) Генерация счетов.getTemplatePayBillList(Preferences moduleSetup, int yy, int mm, String contractLabels, String cids, String docTypes, String[] outgoing, boolean checkPast) Генерация счетовvoidgetTemplatePositions(ContractDao contractDao, TemplateBill bill, Calendar date, int contractId, String billCids, ContractDocType contractDocType, DocType docType, Map<Integer, Position> positionMap) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
TemplateBillManager
-
-
Method Details
-
getTemplatePayBillList
public List<TemplateBill> getTemplatePayBillList(Preferences moduleSetup, int yy, int mm, String contractLabels, String cids, String docTypes, String[] outgoing) throws ru.bitel.bgbilling.common.BGException Генерация счетов. Не генерирует счета за будущее.- Parameters:
moduleSetup- -setup модуля Бухгалтерияyy- - годmm- = месяцcontractLabels- - метки договоровcids- - договораdocTypes- - типы документовoutgoing-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
getTemplatePayBillList
public List<TemplateBill> getTemplatePayBillList(Preferences moduleSetup, int yy, int mm, String contractLabels, String cids, String docTypes, String[] outgoing, boolean checkPast) throws ru.bitel.bgbilling.common.BGException Генерация счетов- Parameters:
moduleSetup- -setup модуля Бухгалтерияyy- - годmm- = месяцcontractLabels- - метки договоровcids- - договораdocTypes- - типы документовoutgoing-checkPast- - true: проверять то, что мы не генериурем счет в будущем и если в будущем, то ничего не делать.- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
getTemplatePositions
public void getTemplatePositions(ContractDao contractDao, TemplateBill bill, Calendar date, int contractId, String billCids, ContractDocType contractDocType, DocType docType, Map<Integer, Position> positionMap) throws Exception- Throws:
Exception
-