---
url: /statelake/scripting-reference/data-types/enumerations/tflopartnertype.md
---

# TFloPartnerType

Identifies the type of trading partner, and whether they are a supplier, customer, or something else.

This is used in the class **Partner.PartnerType**.

Declaration: TFloPartnerType = keyword;

```pascal
procedure OnMapEvent(var Value:Variant);
begin
 if Partner.PartnerType = fptCustomer then
    Value := Partner.CustomerId
 else
    Value := Partner.SupplierId;
end;
```

## Keyword

fptCustomer

fptOther

fptSupplier
