I can manually set the value to a fixed number (I have tried this example and it works):
Code: Select all
def SalesTaxInfo_Rate_Value(args): info = args.Context order = args.Context.Root #several conditions to evaluate to determine if the default rule needs an over-write args.Value(.07) #example of setting a fixed value
1. Is something like this even possible?
2. Which service(s) (ISalesTax, ISalesTaxEntry, ISalesTaxManager, ISalesTaxInfo) would I need to reference?
3. Is there any sample code that another developer has that can get me going in the right direction?
Thank you in advance for any help!