Class FnsFileGenerator
java.lang.Object
ru.bitel.bgbilling.plugins.edo.server.bean.FnsFileGenerator
- All Implemented Interfaces:
 EdoBillFileGenerator
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BillDocprotected ParameterMapprotected ScriptUtilsprotected Document - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract ru.bitel.bgbilling.plugins.edo.server.utils.EdoFnsXmlGeneratorvoidinit(Setup setup, Connection con, int billModuleId, ParameterMap billModuleSetup, ParameterMap documentSetup, BillDoc doc) protected Stringprotected StringВзять значение по переданному коду параметра; макросы откуда пытаться взять: pid:666 - брать из параметра договора; bill_attr:inn - из реквизита модуля бухгалтерия; 666 - константа как есть.protected Stringprotected StringВерсПрог()protected Stringprotected Stringprotected ru.bitel.bgbilling.plugins.edo.server.utils.EdoFnsXmlGenerator.SТекстИнфТип(String id, String val) protected ru.bitel.bgbilling.plugins.edo.server.utils.EdoFnsXmlGenerator.SMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.bitel.bgbilling.plugins.edo.server.bean.EdoBillFileGenerator
getFileName 
- 
Field Details
- 
doc
 - 
xml
 - 
scriptUtils
 - 
documentSetup
 
 - 
 - 
Constructor Details
- 
FnsFileGenerator
public FnsFileGenerator() 
 - 
 - 
Method Details
- 
init
public void init(Setup setup, Connection con, int billModuleId, ParameterMap billModuleSetup, ParameterMap documentSetup, BillDoc doc) throws ru.bitel.bgbilling.common.BGException - Specified by:
 initin interfaceEdoBillFileGenerator- Parameters:
 setup- сетап сервераcon- коннекшенbillModuleId- mid конкретного экземпляра модуля bill откуда выгрузкаbillModuleSetup- сетап модуля billdocumentSetup- под-сетап для этого генератора из конфига документа+подписантаdoc- BillDoc счёта/счётфактуры соответствующего- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getDocument
public abstract ru.bitel.bgbilling.plugins.edo.server.utils.EdoFnsXmlGenerator getDocument() throws ru.bitel.bgbilling.common.BGException- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getFileContent
- Specified by:
 getFileContentin interfaceEdoBillFileGenerator- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
value
protected String value(String nameValue, boolean required) throws ru.bitel.bgbilling.common.BGException Взять значение по переданному коду параметра; макросы откуда пытаться взять: pid:666 - брать из параметра договора; bill_attr:inn - из реквизита модуля бухгалтерия; 666 - константа как есть.- Throws:
 ru.bitel.bgbilling.common.BGException- какой-то косяк
 - 
value
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
value_raw
protected String value_raw(String nameValue, boolean required) throws ru.bitel.bgbilling.plugins.edo.server.utils.MissingDocParamException - Throws:
 ru.bitel.bgbilling.plugins.edo.server.utils.MissingDocParamException
 - 
ФИОТип
 - 
ДатаТип
 - 
ВремяТип
 - 
ТекстИнфТип
 - 
ВерсПрог
 
 -