Hi Visvash,
while Select count(custAccount) from CustInvoiceJour
join DriverShipTableDet where driverShipTableDet.InvoiceNo == this.InvoiceId
join driverShipTable group by driverShipTable.SeqNo
where drivershipTable.SeqNo == driverShipTableDet.SeqNo
{
return this.custAccount; //The operand is not compatible with the type of the method.
}
It's throwing "The operand is not compatible with the type of the method". custAccount is string data type. Like I mentioned above, the method is supposed to return the count, which is integer.
Thank You.