[#Field : EIACCRATE] SET AS : If $Ledgername contains "Cash Discount" and (#EIValueSubTotal >100 and #EIValueSubTotal <= 500 ) then -1 else @d2 d2 : If $Ledgername contains "Cash Discount" and (#EIValueSubTotal >501 and #EIValueSubTotal <= 1000 ) then -2 else @d3 d3 : If $Ledgername contains "Cash Discount" and (#EIValueSubTotal >1001) then -3 else $$Value
[#Field: EI ValueSubTotal] Inactive:Not $$IsSales:##SVVoucherType [#Field:EIAccRate] Set as: if ($$IsSales:##SVVoucherType and #EIAccDesc="Cash Discount" and #EIValueSubTotal > 1 and #EIValueSubTotal < 5000 ) Then<-5 Else $$Value Set Always:$$IsSales:##SVVoucherType ;or ;;[#Field : EIACCRATE] ;;SET AS : If $Ledgername contains "Cash Discount" and (#EIValueSubTotal >1 and #EIValueSubTotal <= 5000 ) then <-6 else $$Value ;;Set Always:$$IsSales:##SVVoucherType ;I want maximum or less then cash discount 5% or 6%, that control. ;Any Admin sir help Please.