MCPcopy Create free account

hub / github.com/chapzin/parse-efd-fiscal / functions

Functions383 in github.com/chapzin/parse-efd-fiscal

↓ 97 callersFunctionfield
(index int, name string, typ FieldType, required bool, maxLen int)
pkg/efd/layout/catalog.go:97
↓ 80 callersFunctionConvFloat
Funcao converte string para float caso venha vazio ele retorna zero
tools/SpedConvert.go:21
↓ 62 callersFunctionColunaAdd
(linha *xlsx.Row, string string)
Controllers/InventarioController.go:460
↓ 47 callersFunctionColunaAddFloat
(linha *xlsx.Row, valor float64)
Controllers/InventarioController.go:465
↓ 24 callersFunctionstringToFloat
(str string)
exec/xml_cfe.go:247
↓ 15 callersFunctionConvInt
Funcao de conversao de arquivo string para inteiro caso venha vazio ele retorna zero
tools/SpedConvert.go:12
↓ 14 callersMethodString
()
pkg/efd/types/types.go:86
↓ 11 callersFunctionFloatToStringSped
(valor float64)
tools/SpedConvert.go:33
↓ 10 callersFunctionConvertData
funcao utilizada para data nula
tools/SpedConvert.go:65
↓ 10 callersFunctionGetEnvOrDefault
GetEnvOrDefault retorna o valor da variável de ambiente ou o valor padrão
pkg/env/env.go:21
↓ 10 callersFunctiondiag
(severity diagnostic.Severity, code string, record parser.Record, field string, message string)
pkg/efd/validator/validator.go:145
↓ 10 callersFunctionfixed
(index int, code string)
pkg/efd/layout/catalog.go:93
↓ 8 callersFunctionAdicionaDigitosCodigo
(codigo string, digitos int)
tools/SpedConvert.go:37
↓ 7 callersFunctionConvertDataNull
Funcao que trata data nula
tools/SpedConvert.go:59
↓ 7 callersFunctionFloatToString
(valor float64)
tools/SpedConvert.go:29
↓ 7 callersMethodSubmit
Submit adiciona uma nova tarefa ao pool. Se o contexto já estiver cancelado, retorna imediatamente com o erro do contexto.
pkg/worker/pool.go:73
↓ 6 callersMethodHasErrors
()
pkg/efd/diagnostic/diagnostic.go:44
↓ 6 callersFunctionParse
(r io.Reader, opts Options)
pkg/efd/parser/parser.go:41
↓ 5 callersFunctionColunaAddFloatDif
(linha *xlsx.Row, valor float64)
Controllers/InventarioController.go:469
↓ 5 callersFunctionValidate
(doc *parser.Document, opts Options)
pkg/efd/validator/validator.go:21
↓ 5 callersMethodWait
Wait espera todas as tarefas serem concluídas e retorna os erros encontrados. Se o contexto for cancelado antes da conclusão, retorna o erro do contex
pkg/worker/pool.go:86
↓ 5 callersFunctionallDigits
(value string)
pkg/efd/types/types.go:245
↓ 5 callersFunctionnormalizeCNPJ
(value string)
read/sped.go:121
↓ 4 callersFunctionSerialize
(w io.Writer, doc *parser.Document, opts Options)
pkg/efd/serializer/serializer.go:25
↓ 4 callersFunctioncontrol
(code, name, block string, fields int)
pkg/efd/layout/catalog.go:101
↓ 4 callersFunctionnewRecord
(code string, values ...string)
pkg/efd/serializer/serializer.go:101
↓ 4 callersFunctiononlyDigits
(value string)
pkg/efd/types/types.go:243
↓ 4 callersFunctionparseForTest
(t *testing.T, input string)
pkg/efd/validator/validator_test.go:10
↓ 3 callersFunctionConvertDataXml
Funcao converte data do xml
tools/SpedConvert.go:74
↓ 3 callersFunctionMustDefaultCatalog
()
pkg/efd/layout/catalog.go:62
↓ 3 callersFunctionParseCNPJ
(value string)
pkg/efd/types/types.go:17
↓ 3 callersMethodRecord
(code string)
pkg/efd/layout/catalog.go:48
↓ 3 callersMethodValid
()
pkg/efd/types/types.go:46
↓ 3 callersFunctionbelongsToCNPJ
(campos []string, expectedCNPJ string)
read/sped.go:111
↓ 3 callersFunctiondataSpedMysql
Funcao tratando data recebida do arquivo do sped
tools/SpedConvert.go:47
↓ 3 callersFunctionlatin1ToUTF8
(line []byte)
pkg/efd/parser/parser.go:135
↓ 2 callersMethodCoef
()
pkg/efd/types/types.go:240
↓ 2 callersFunctionContains
Contains verifica se uma string está presente em um slice de strings
tools/SpedConvert.go:83
↓ 2 callersFunctionDefaultCatalog
()
pkg/efd/layout/catalog.go:70
↓ 2 callersMethodFormatted
()
pkg/efd/types/types.go:38
↓ 2 callersMethodISO
()
pkg/efd/types/types.go:171
↓ 2 callersMethodIsError
()
pkg/efd/diagnostic/diagnostic.go:35
↓ 2 callersFunctionLoadConfig
()
config/config.go:39
↓ 2 callersFunctionParse
Parse lê um arquivo EFD de forma streaming e retorna um documento em memória.
pkg/efd/efd.go:45
↓ 2 callersFunctionParseAndValidate
ParseAndValidate lê e valida um arquivo EFD em uma única chamada.
pkg/efd/efd.go:60
↓ 2 callersFunctionParseCFOP
(value string)
pkg/efd/types/types.go:91
↓ 2 callersFunctionParseDataSped
(value string)
pkg/efd/types/types.go:149
↓ 2 callersFunctionParseDecimal
(value string)
pkg/efd/types/types.go:185
↓ 2 callersMethodPopula
(byteValue []byte)
Models/NotaFiscal/NFProc.go:365
↓ 2 callersMethodScale
()
pkg/efd/types/types.go:241
↓ 2 callersFunctionValidate
Validate valida um documento parseado usando as opções informadas.
pkg/efd/efd.go:50
↓ 2 callersFunctiondecodeSpedLine
(line []byte)
read/sped.go:99
↓ 2 callersFunctionnewProcessControl
newProcessControl cria uma nova instância de controle de processamento
read/control.go:27
↓ 2 callersFunctionspedPeriodExists
(db *gorm.DB, ano, mes int)
main.go:244
↓ 2 callersFunctionsugestaoInventarioFinal
(inv Models.Inventario)
Controllers/InventarioController.go:734
↓ 2 callersFunctiontables
()
SpedDB/createMigration.go:13
↓ 1 callersFunctionCleanSpedItems
Remove todos as tabelas dos registros
SpedDB/SpedClean.go:10
↓ 1 callersMethodCountBySeverity
(severity Severity)
pkg/efd/diagnostic/diagnostic.go:53
↓ 1 callersFunctionCreate
(db *gorm.DB)
SpedDB/createMigration.go:48
↓ 1 callersMethodCreateInventoryItem
(item Models.Inventario)
Controllers/repository/inventory_repository.go:77
↓ 1 callersFunctionCreateReg0000
CreateReg0000 cria um novo registro Reg0000
Models/Bloco0/Reg0000.go:87
↓ 1 callersFunctionCreateReg0150
CreateReg0150 cria um novo registro Reg0150
Models/Bloco0/Reg0150.go:122
↓ 1 callersFunctionCreateReg0190
CreateReg0190 cria um novo registro Reg0190
Models/Bloco0/Reg0190.go:87
↓ 1 callersFunctionCreateReg0200
CreateReg0200 cria um novo registro Reg0200
Models/Bloco0/Reg0200.go:96
↓ 1 callersFunctionCreateReg0220
CreateReg0220 cria um novo registro Reg0220
Models/Bloco0/Reg0220.go:84
↓ 1 callersFunctionCreateRegC100
CreateRegC100 cria um novo registro RegC100
Models/BlocoC/RegC100.go:122
↓ 1 callersFunctionCreateRegC170
CreateRegC170 cria um novo registro RegC170
Models/BlocoC/RegC170.go:146
↓ 1 callersFunctionCreateRegC400
CreateRegC400 cria um novo registro RegC400
Models/BlocoC/RegC400.go:76
↓ 1 callersFunctionCreateRegC405
CreateRegC405 cria um novo registro RegC405
Models/BlocoC/RegC405.go:81
↓ 1 callersFunctionCreateRegC420
CreateRegC420 cria um novo registro RegC420
Models/BlocoC/RegC420.go:74
↓ 1 callersFunctionCreateRegC425
CreateRegC425 cria um novo registro RegC425
Models/BlocoC/RegC425.go:86
↓ 1 callersFunctionCreateRegC460
CreateRegC460 cria um novo registro RegC460
Models/BlocoC/RegC460.go:87
↓ 1 callersFunctionCreateRegC465
CreateRegC465 cria um novo registro RegC465
Models/BlocoC/RegC465.go:72
↓ 1 callersFunctionCreateRegC470
CreateRegC470 cria um novo registro RegC470
Models/BlocoC/RegC470.go:94
↓ 1 callersFunctionCreateRegC490
CreateRegC490 cria um novo registro RegC490
Models/BlocoC/RegC490.go:83
↓ 1 callersFunctionCreateRegC800
CreateRegC800 cria um novo registro RegC800
Models/BlocoC/RegC800.go:110
↓ 1 callersFunctionCreateRegC860
CreateRegC860 cria um novo registro RegC860
Models/BlocoC/RegC860.go:85
↓ 1 callersFunctionCreateRegC870
CreateRegC870 cria um novo registro RegC870
Models/BlocoC/RegC870.go:88
↓ 1 callersFunctionCreateRegC890
CreateRegC890 cria um novo registro RegC890
Models/BlocoC/RegC890.go:99
↓ 1 callersFunctionCreateRegH005
Metodo que criar a struct
Models/BlocoH/RegH005.go:53
↓ 1 callersFunctionCreateRegH010
Metodo que cria o registro populado generico
Models/BlocoH/RegH010.go:72
↓ 1 callersFunctionCreateSchemaInventario
funcao cria estrutura do DB
SpedDB/SchemaInventario.go:11
↓ 1 callersFunctionCriarH010InvFinal
(ano int, db *gorm.DB)
Controllers/InventarioController.go:677
↓ 1 callersFunctionCriarH010InvInicial
(ano int, db *gorm.DB)
Controllers/InventarioController.go:621
↓ 1 callersFunctionDeletarItensNotasCanceladas
(db *gorm.DB, dtIni string, dtFin string, wg *sync.WaitGroup)
Controllers/InventarioController.go:64
↓ 1 callersMethodDeleteCancelledInvoiceItems
(dtIni, dtFin string)
Controllers/service/inventory_service.go:69
↓ 1 callersMethodDeleteInvoiceItems
(notaID uint)
Controllers/repository/inventory_repository.go:60
↓ 1 callersMethodDeleteNonSalesItems
()
Controllers/repository/inventory_repository.go:93
↓ 1 callersMethodDeleteSoftDeletedItems
()
Controllers/repository/inventory_repository.go:64
↓ 1 callersMethodDeleteUnitaryConversionFactors
Métodos para Fator de Conversão
Controllers/repository/inventory_repository.go:23
↓ 1 callersFunctionDrop
(db *gorm.DB)
SpedDB/createMigration.go:55
↓ 1 callersFunctionDropSchemaInventario
Funcao dropa estrutura do DB
SpedDB/SchemaInventario.go:17
↓ 1 callersMethodEntrada
()
pkg/efd/types/types.go:104
↓ 1 callersFunctionExcelAdd
(db *gorm.DB, sheet *xlsx.Sheet)
Controllers/InventarioController.go:452
↓ 1 callersFunctionExcelItens
(sheet *xlsx.Sheet, inv Models.Inventario)
Controllers/InventarioController.go:485
↓ 1 callersFunctionExcelMenu
(sheet *xlsx.Sheet)
Controllers/InventarioController.go:553
↓ 1 callersMethodFieldByIndex
(index int)
pkg/efd/layout/catalog.go:53
↓ 1 callersFunctionFormatRecord
(record parser.Record)
pkg/efd/serializer/serializer.go:43
↓ 1 callersMethodGetAllInventoryItems
()
Controllers/repository/inventory_repository.go:81
↓ 1 callersMethodGetAllInvoices
()
Controllers/repository/inventory_repository.go:52
next →1–100 of 383, ranked by callers