ergio/argentine_localization — Issue #13: Bps exentos en IIBB - Percepciones
Author: mzuniga
Created: 2012-03-04 17:20:38+00:00
State: open

Al intentar cargar un producto en una Orden que tenga un Bp exento en IIBB falla:

===========> LAR_Validator.retrieveConfig: SELECT X.Rate/100 AS Rate , R.LCO_WithholdingRule_ID , C.LCO_WithholdingType_ID , X.C_Tax_ID , F.IsCalcFromPayment , F.PaymentThresholdMin , F.C_DocType_ID FROM C_BPartner B JOIN LCO_WithholdingRule R ON R.LCO_BP_ISIC_ID = B.LCO_ISIC_ID AND R.LCO_BP_TaxPayerType_ID = B.LCO_TaxPayerType_ID JOIN LCO_WithholdingRuleConf F ON F.LCO_WithholdingType_ID = R.LCO_WithholdingType_ID JOIN LCO_WithholdingCalc C ON C.LCO_WithholdingCalc_ID = R.LCO_WithholdingCalc_ID JOIN LCO_WithholdingType T ON T.LCO_WithholdingType_ID = R.LCO_WithholdingType_ID JOIN C_Tax X on X.C_Tax_ID = C.C_Tax_ID WHERE B.C_BPartner_ID=? AND T.IsSOTrx=? [11]
org.adempiere.exceptions.AdempiereException: Withholding configuration not found

===========> MOrderLine.saveError: Error - LCO_WithholdingType_ID is mandatory. [11]