Interaction Class

public class _UnitReservationListPageInteraction extends ListPageInteraction
{

}

public void selectionChanged()
{
    UnitReservation        _unitReservation = this.listPage().activeRecord(queryDataSourceStr(KPMG_UnitReservationHeader, UnitReservation_1));

    super();
    if( _unitReservation.FlatStatus == KPMG_UnitFlatStatus::Cancelled)
    {
        this.listPage().actionPaneControlEnabled(formControlStr(KPMG_UnitReservation_ListPage, Cancel), false);
        this.listPage().actionPaneControlEnabled(formControlStr(KPMG_UnitReservation_ListPage, Transfer), false);

    }
 }

Comments

Popular posts from this blog

Create RFQ through X++

Base enum values in Dynamics 365

Project Id through X++ code