public String aSellerString;
public Contact aSeller;
private Contact selectedSeller;
public String aBuyerString;
public Contact aBuyer;
private Contact selectedBuyer;
// __________________________________________________________________________________________________________________
public NSArray<Contact> candidateSeller() {
return Contact.suggestions(ec, aSellerString);
}
// __________________________________________________________________________________________________________________
public NSArray<Contact> candidateBuyer() {
return Contact.suggestions(ec, aBuyerString);
}
// __________________________________________________________________________________________________________________
public NSArray<Contact> candidateBiller() {
return Contact.suggestions(ec, aBillerString);
}
// __________________________________________________________________________________________________________________
public NSArray<Spec> candidateSpec() {
return Spec.suggestions(ec, aSpecString);
}
// __________________________________________________________________________________________________________________
public Contact getSelectedSeller() {
return selectedSeller;
}
public void setSelectedSeller(Contact selectedItem) {
sal.setSoldByRelationship(selectedItem);
selectedSeller = selectedItem;
}
// __________________________________________________________________________________________________________________
public Contact getSelectedBuyer() {
return selectedBuyer;
}
public void setSelectedBuyer(Contact selectedItem) {
sal.setSoldToRelationship(selectedItem);
selectedBuyer = selectedItem;
}
// __________________________________________________________________________________________________________________