Friday, December 31, 2010

eccNo in report through Programmable section

Programmable section->
//BP Deviation Documented
display TaxRegistrationNumberExcise_IN eccNumber()
{
CompanyInfo companyInfo;
;

companyInfo = CompanyInfo::find();
//select companyInfo;

return companyInfo.ECCNumber_IN;

}
---
//BP Deviation documented
display TaxRegistrationNumber_IN tinNo()
{
;

select TIN_IN from custTable
where custTable.AccountNum == salesTable.CustAccount
&& salesTable.SalesId == salesId;

return custTable.TIN_IN;
}

No comments:

Post a Comment

Leave your comments and solutins