Skip to Content

how to get the lowest value and middle value using below program? If anyone knows please help me?

import AP.Common.GDT as apCommonGDT;

businessobject Highvalue {

element ID : ID;

element Name : LANGUAGEINDEPENDENT_MEDIUM_Name;

element Amount : Amount;

node ProductRule[0,n]{

element PID : ProductID;

element PName : LANGUAGEINDEPENDENT_MEDIUM_Name;

element PAmount : Amount; }

}

/////AfterModify

import ABSL;

if(this.ToRoot.IsSet()){

if(this.PAmount.content > this.ToRoot.Amount.content){

this.ToRoot.Amount.content = this.PAmount.content;

}

}

//the above code gives the greater value in output field.

how to get mid value and lower value

if anyone knows please help me

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers