---
url: /flow/guide/scripting-reference/classes/partner/partner.id.md
---

# Partner.Id

## Declaration

`property Id : Integer;`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Partner.Id;
end;
```

## Description

Returns the unique Id value of the active partner within your system. This can change when moving the Trading Partner to another configuration database
