Hi Gunjan,
In the existing extension class , below methods called:
[ExtensionOf(classStr(FreeTextInvoiceDP))]
final class ****FreeTextInvoiceDP_Extension
{
protected void populateFreeTextInvoiceTmp(
CustInvoiceJour _custInvoiceJour,
CustInvoiceTrans _custInvoiceTrans,
TaxSpec _taxSpec,
CustPaymSchedLine _custPaymSchedLine,
CustTrans _prepaymentCustTrans,
TaxTrans _prepaymentTaxTrans)
{
next populateFreeTextInvoiceTmp(
_custInvoiceJour,
_custInvoiceTrans,
_taxSpec,
_custPaymSchedLine,
_prepaymentCustTrans,
_prepaymentTaxTrans);
freeTextInvoiceTmp.TaxCode = _custInvoiceTrans.TaxItemGroup;
freeTextInvoiceTmp.Name = "Invoice text"; ==> This we have hard coded here which is working only for FI*** not for FT***
}
}