
I try to develop " Customized SALES TAX Invoice Report " of SSRS RDP Report .
in this , i need Join to CustinvoiceLine with BankDetails Table(something) ,
so , my question is , what is the exact code , to retrive bank account Information ,Related to custInvoiceLine table in the process report method ..
my current process report code is below
select * from custInvoiceTable where custInvoiceTable.OrderAccount == custAccount
&& custInvoiceTable.InvoiceDate >= _FromDate && custInvoiceTable.InvoiceDate <= _Todate
join custInvoiceLine
where custInvoiceLine.ServiceAccountingCodeTable_IN == ServiceAccountingCodeTable_IN.RecId
join ServiceAccountingCodeTable_IN
;
{
TaxInvoiceTmp.InvoiceId = custInvoiceTable.InvoiceId;
TaxInvoiceTmp.Name = custInvoiceTable.Name;
TaxInvoiceTmp.InvoiceDate = custInvoiceTable.InvoiceDate ;
TaxInvoiceTmp.GSTIN = taxinfo.GSTIN ;
TaxInvoiceTmp.PanNo = TaxInformationCustTable_IN::findByCustTable( RAMA_TaxInvoiceTmp.InvoiceId ).PANNumber;
TaxInvoiceTmp.SAC = ServiceAccountingCodeTable_IN.SAC ;
TaxInvoiceTmp.SacDescription = ServiceAccountingCodeTable_IN.Description ;
// TaxInvoiceTmp.BankName =
// TaxInvoiceTmp.BankAcNo =
// TaxInvoiceTmp.BankBranch =
// TaxInvoiceTmp.RTGS
TaxInvoiceTmp.insert() ;
}