Method 1: public AmountCur totalAmount() // PurchLine purchLine; AmountCur amountCur = 0; while select crosscompany purchLine index hint PurchLineIdx where purchLine.PurchId == purchtables.PurchId && !purchLine.IsDeleted { // amountCur += purchLine.calcLineAmountExclTax(purchLine.PurchQty ); amountCur += purchLine.calcLineAmount(purchLine.PurchQty + purchLine.ConfirmedTaxAmount ); } return amo...
change company helps to chnage the value of our field on the mark of the entity value suppose you are overding a value in 3005 when you change to 1005 and click button the value changes in 1005 too class LegalEntityRestriction_FYCDeleteExistingEntries { /// <summary> /// /// </summary> /// <returns></returns> public boolean modified() { boolean ret; //ret = super(); LedgerParameters ledgerparameter; ret = super(); if(LegalEntityRestriction_FYCDeleteExistingEntries.valueStr( ) == enum2Str(NoYes::Yes)) ...