Hiall, Nosuchapproach thissolution.Pleasecan you help?
FirstI havean arrayof commissions.
SecondI have adiscount value "% Dto1"appliedatinvoicelines,whichI must compare tothefileds "PorMayor"and"PorMenor" tothe end, applythe "Comisión" field. I do it inthescript?betterin the Document?