Skip to content

Flow documentation · legacy product

ActivatePartnerByWhere ​

Declaration ​

function TFloActionManager.ActivatePartnerByWhere(aWhere: string): boolean;

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
Action.ActivatePartnerByWhere('where partnertype=1 and supplierid=''ABC''')
end;

Description ​

Finds and activates a Trading Partner based on the filter provided by aWhere parameter. aWhere is a where clause for a SQL query. You can use any fields from the FLO_TRADINGPARTNERS table in the Flow configuration database to build your where clause.

The fields in the FLO_TRADINGPARTNERS table include:

Also see Trading Partner Attributes