Example #1
0
#!/usr/bin/python
#encoding=utf8

from els.utils import MappingFileGenerator
from els.lang import Lang

L = Lang.get_instance()

wdecide = MappingFileGenerator()
wdecide.add(L.option)
wdecide.add(L.criteria)
wdecide.save('./wdecide/mapping.json')

ldap = MappingFileGenerator()
ldap.add(L.mail)
ldap.add(L.msExchRecipientTypeDetails)
ldap.add(L.cn)
ldap.add(L.sAMAccountName)
ldap.save('./ldap/mapping.json')

venda = MappingFileGenerator()
venda.add(L.loja)
venda.add(L.secao)
venda.add(L.material)
venda.add(L.matid)
venda.add(L.descricao_material)
venda.add(L.descricao_secao)

venda.add(L.venda_bruta)
venda.add(L.quantidade)
venda.add(L.custo)