I don't understand. Do you mean to use it like this?
while Select count(InvoiceAccount) from CustInvoiceJour
join DriverShipTableDet where driverShipTableDet.InvoiceNo == this.InvoiceId
join driverShipTable group by driverShipTable.SeqNo
where drivershipTable.SeqNo == driverShipTableDet.SeqNo
{
return str2Int(this.InvoiceAccount);
}
This throws "Method never returns a value."
Thank You