The supplier can be found by its bank account, while the customer- not.
What is the reason for that?
Proof:
global
function LongInt CUVcRecordInIndex(record CUVc CUr,string indexname)
BEGIN
......
if ((CUr.blockedFlag!=0) or (CUr.VEType==0)) then begin
....
if (indexname=="ActBankAccount") then begin res = 0; end;
if (indexname=="ActIBAN") then begin res = 0; end;
end;