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