Diplay Method is to show name and Tax code in Standard form

 1)AR>>Journala>>Invoice Journal
 2) write Display method in VendInvoice Journal Table to display that field

public display   TaxAmount  gettaxcode()
{

   TaxTrans         taxtrans;
   select TaxAmount from taxtrans
          where taxTrans.Voucher == this.LedgerVoucher
                && taxTrans.TaxCode == "BED_EX_KA";
   return taxtrans.TaxAmount;

}

3) And Also for Name to diplay

public display  Name getname()
{
    DirPartyTable          dirPartyTable;
    VendTable               vendtable;

        select *from  vendtable

        join  Name from dirPartyTable
        where  dirPartyTable.RecId   == vendtable.Party
        && vendtable.AccountNum == this.InvoiceAccount ;

    return dirPartyTable.Name;
}

4) In form 



Comments

Popular posts from this blog