Class TemplateBillManager
java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.TemplateBillManager
- 
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(ContractManager contractManager, TemplateBill bill, Calendar date, int contractId, String billCids, ContractDocType contractDocType, DocType docType, Map<Integer, Position> positionMap)  
- 
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(ContractManager contractManager, TemplateBill bill, Calendar date, int contractId, String billCids, ContractDocType contractDocType, DocType docType, Map<Integer, Position> positionMap)  
 -