on 2024 Mar 08 8:34 AM
Hello Guys,
I have doubt on getting price of products which have the selected attribute.
For example consider product is 'abc' and it has attribute called type(values: small,medium,large). Suppose I add three 'abc' products. The first product is having attribute type as small. Second have medium and third product have large as attribute value.
Now I need to print the total price of 'abc' product which is having attribute type value as medium and large. Small attribute value in the product should be ignored. Also I need to sum up if there are extra products with medium. Then I need to add those two product total and assign it in a cell of the word template.
Please help me with this issue
Request clarification before answering.
Hello,
I understand that you are attempting to perform custom price aggregation calculations, and the result will be utilized in the quote output document. I would suggest implementing this using custom IronPython scripting. You can create a custom object, such as a custom field or a quote table, to store the calculation result, allowing your Word document template to reference it. The value of the custom object can be calculated and assigned in a custom action set as the pre-action of "Generate Documents". This way, every time a new document is generated, the calculation will be triggered and the user will see the updated result in the generated document.
Best Regards
Fancy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.