Electronic reporting common used methods

1.    ER with TempTable , We could write in table static method also

 Internal final class NXRDebitNoteDeclarationERData

{

    [ERTableName(tableStr(NXRDebitNoteDeclarationERTableTmp))]

    public static RecordLinkList getData(str _param)

    {

        NXRDebitNoteDeclarationERTableTmp erTable;

        NXRCollateralOrgDistributeTable  distTable;

        RecordLinkList recordLinkList = new RecordLinkList();

        

        int alignedType;


        while select distTable

            where distTable.PrepayIdParent == _param

        {

            erTable.PrepayId = distTable.PrepayId;

            if(!alignedType)

            {

                alignedType = 1;

            }

            else

            {

                alignedType = 0;

            }

            erTable.AlignedType = alignedType;

            erTable.insert();

            recordLinkList.ins(erTable);

        }


        return recordLinkList;

    }


}

create a class type data source and  add it 


Create calculated field again  and done the logic below way 


2.     And Conditions in ER  with Enum(Noyes)














Comments

Popular posts from this blog

Ledger dimensions and financial Dimensions X++

Logistics address, postal address, address phone fax contact information

Prepay posting vendor invoice with amounts