Monday, July 16, 2018

Banner 9 List show At last record fix for "you can not create record here"

Banner 9 List show At last record fix for "you can not create record here"


@ActionTrigger(action="KEY-NXTREC", function=KeyFunction.NEXT_RECORD)
public void glbslct_NextRecord()
{
     


GAdapter gElement = (GAdapter)this.getFormModel().getGT().getRowAdapter(true);

if (gElement !=null){



nextRecord();
getTask().getGoqrpls().gCheckFailure();
if ( gElement .getCode().isNull() )
{



previousRecord();
getTask().getGoqrpls().gCheckFailure();
infoMessage(GNls.Fget(toStr("G-0008"), toStr("FORM"), toStr("At last record.")));
}
}
}




/* @ActionTrigger(action="WHEN-NEW-RECORD-INSTANCE", function=KeyFunction.RECORD_CHANGE)
@After
public void xx_recordChange()
{


   
 Adapter element = (FtvacctAdapter)this.getFormModel().getxxx().getRowAdapter(true);
if (element == null) return;



if (BlockServices.isInLastRecord())
{

/

if ( getBlockCurrentRecord(getCursorBlock()).notEquals(1) )
{



infoMessage(GNls.Fget(toStr("-0010"), toStr("FORM"), toStr("At last record.")));
previousRecord();
BlockServices.lastRecord();
}
}

            //errorMessage(GNls.Fget(toStr("-0011"), toStr("FORM"), toStr("Unable to retrieve Commit Type.")));

}
*/

No comments:

Post a Comment

AWS how to delete VPC when it has error with Network interface , Gateway decencies

   how to delete VPC when it has error with Network interface , Gateway decencies  in AWS 1. Check if it is running on EC2 instance then Sto...