Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I suggest just doing the math in the SQL then. Using my example provided above this is as simple as the following.I am using a 3rd party extension that is sql based.
You don't put the code in CB Auto Actions. You keep it in your code field. You then use CB Auto Actions to substitute that code field into a field with storage. You shouldn't really need to do this. The best approach is to format the data how you need in your reporting extension and since that extension is SQL based that really shouldn't be a problem.I don't think I can use the AutoAction>Field Type because the math is a little more than just adding two fields. Really it's adding 1 group of fields and then adding 2% of the result of another group that was previously summed. It works great in PHP code to display it, but seems AutoAction>Field Type wouldn't handle the more complex code that the Code field can handle.
Please Log in or Create an account to join the conversation.