cancel
Showing results for 
Search instead for 
Did you mean: 

How to use aggregated value of a Z Condition Type automatically update into a Z Amount Field.

abulhasnat
Explorer
0 Kudos

Hello Community,

I have a Z condition type and I would like to know how to aggregate value in the header level which should be update automatically in the header of a rebate Z condition type.  However our aggregation has been achieved in the header level in standard way, unfortunately presently we aren't able to automatic update in the Header rebate condition type Zcustom. Currently it's not updated in the amount field.

Thank you. 

Accepted Solutions (0)

Answers (1)

Answers (1)

Izabellelopes
Associate
Associate

Hi Abul,

Do you want to have a field amount (kbetr/ConditionRateRatio) for ZPM0 as not zero in the order? If I can see it correctly, you are already using an own Custom Logic implementation. Try to use a statement like ConditionRateValue = ConditionAmount in this implementation.

Thank you.

Kind Regards,
Iza

abulhasnat
Explorer
0 Kudos

.

abulhasnat
Explorer
0 Kudos
Hi Iza, Thanks for your comments. We will get back to you.
abulhasnat
Explorer
0 Kudos

Hi Iza,

Do you want to have a field amount (kbetr/ConditionRateRatio) for ZPM0 as not zero in the order?

I would say that not for all sales order. Statement is true only for when ZPR1 value found in the header. ZPR1 value will found for promotional sales order. 

Thanks 
Abul Hasnat

abulhasnat
Explorer
0 Kudos
Hi Iza,
abulhasnat
Explorer
0 Kudos
Hi Iza, As per your suggestion, we have introduced, ZPR1 which accumulates all line item amounts at the header level Our next challenge is to find some ways thru the implementation code, or configuration to move this aggregated header condition value of ZPR1 into Condition Amount of ZPMO as shown below: Can you guide us whether it's possible to move the header condition value of ZPR1 to Conditon Amount of ZPMO thru implementation code or thru some configuration.