135 |
if organizationBlock.getCurrentRecord().isInserted(): |
if organizationBlock.getCurrentRecord().isInserted(): |
136 |
if not entityUID_CUIT_Block.getCurrentRecord().isInserted(): |
if not entityUID_CUIT_Block.getCurrentRecord().isInserted(): |
137 |
entityUID_CUIT_Block.newRecord() |
entityUID_CUIT_Block.newRecord() |
|
# 1 es CUIT |
|
|
entityUID_CUIT_Block.uid_CUIT_TypeEntry = 1 |
|
138 |
if not entityUID_IB_Block.getCurrentRecord().isInserted(): |
if not entityUID_IB_Block.getCurrentRecord().isInserted(): |
139 |
entityUID_IB_Block.newRecord() |
entityUID_IB_Block.newRecord() |
|
# 2 es Ingresos Brutos |
|
|
entityUID_IB_Block.uid_IB_TypeEntry = 2 |
|
140 |
|
|
141 |
|
# 2 es Ingresos Brutos |
142 |
|
entityUID_IB_Block.uid_IB_TypeEntry = 2 |
143 |
|
# 1 es CUIT |
144 |
|
entityUID_CUIT_Block.uid_CUIT_TypeEntry = 1 |
145 |
|
|
146 |
from gnue.common.GDataObjects import ConnectionError as DBError |
from gnue.common.GDataObjects import ConnectionError as DBError |
147 |
|
|
148 |
try: |
try: |