Skip to Content
0

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

Nov 23, 2016 at 07:07 AM

69

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers