|
17 | 17 | __author__ = "Mariano Reingart <reingart@gmail.com>" |
18 | 18 | __copyright__ = "Copyright (C) 2013-2022 Mariano Reingart" |
19 | 19 | __license__ = "GPL 3.0" |
20 | | -__version__ = "1.35e" |
| 20 | +__version__ = "1.35f" |
21 | 21 |
|
22 | 22 | LICENCIA = """ |
23 | 23 | wslpg.py: Interfaz para generar Código de Operación Electrónica para |
|
340 | 340 | ('fecha', 10, A), # no usado WSLPGv1.8 |
341 | 341 | ('nro_carta_porte_a_utilizar', 13, N), # obligatorio para retiro |
342 | 342 | ('cee_carta_porte_a_utilizar', 10, N), # no usado WSLPGv1.8 |
| 343 | + ('nro_ctg', 12, N), # actualización 2.14 |
343 | 344 | # para cgAutorizarPreexistente (WSLPGv1.6): |
344 | 345 | ('tipo_certificado_deposito_preexistente', 1, N), # "R": Retiro "T": Tra. |
345 | 346 | ('nro_certificado_deposito_preexistente', 12, N), |
@@ -1714,13 +1715,15 @@ def AgregarCertificacionRetiroTransferencia(self, |
1714 | 1715 | fecha=None, |
1715 | 1716 | nro_carta_porte_a_utilizar=None, |
1716 | 1717 | cee_carta_porte_a_utilizar=None, |
| 1718 | + nro_ctg=None, |
1717 | 1719 | **kwargs): |
1718 | 1720 | self.certificacion['retiroTransferencia'] = dict( |
1719 | 1721 | nroActDepositario=nro_act_depositario, |
1720 | 1722 | cuitReceptor=cuit_receptor or None, # opcional |
1721 | 1723 | fecha=fecha, |
1722 | 1724 | nroCartaPorteAUtilizar=nro_carta_porte_a_utilizar or None, |
1723 | 1725 | ceeCartaPorteAUtilizar=cee_carta_porte_a_utilizar or None, |
| 1726 | + nroCTG=nro_ctg or None, |
1724 | 1727 | certificadoDeposito=[], # <!--0 or more repetitions:--> |
1725 | 1728 | ) |
1726 | 1729 | return True |
@@ -2015,6 +2018,7 @@ def AnalizarAutorizarCertificadoResp(self, ret): |
2015 | 2018 | self.params_out['nro_act_depositario'] = rt.get('nroActDepositario') |
2016 | 2019 | self.params_out['cuit_receptor'] = rt.get('cuitReceptor') |
2017 | 2020 | self.params_out['nro_carta_porte_a_utilizar'] = rt.get('nroCartaPorteAUtilizar') |
| 2021 | + self.params_out['nro_ctg'] = rt.get('nroCTG') |
2018 | 2022 | # sub estructuras: |
2019 | 2023 | self.params_out['certificados'] = [] |
2020 | 2024 | cert = rt.get("certificadoDeposito") |
@@ -4273,6 +4277,7 @@ def leer_archivo(nombre_archivo): |
4273 | 4277 | fecha="2014-11-26", |
4274 | 4278 | nro_carta_porte_a_utilizar="530305323", |
4275 | 4279 | cee_carta_porte_a_utilizar="123456789012", |
| 4280 | + nro_ctg="123456789013", |
4276 | 4281 | ) |
4277 | 4282 | dic.update(rt) |
4278 | 4283 | cert = dict( |
|
0 commit comments