Jump to content

Trigger formula help


conomark
 Share

Recommended Posts

Hi,

I found on the internet a description/translation of the following trigger:

CompanyTerritoryLoadsHauledFromLifetimeToTerritory(x) -

translation- The number of car loads hauled lifetime FROM the current territory to the territory passed in as a parameter(x).

My question is: What is the "current territory"?

Link to comment
Share on other sites

CompanyTerritoryLoadsHauledFromLifetimeToTerritory(x)

works like this:

The first 'Territory' in the formula (underlined) stands for the one you specify in the small box just above the big trigger conditions box.  You enter the number of the territory into that small box. Lets call it territory A.

The second 'Territory' in the formula (italics) stands for the one you 'pass in as a parameter'. In plain English, that means that, when you write out the formula, you replace the x with the number of the second territory, which we'll call B.

The function will count all loads hauled from A to B.

So if Terr. A is no. 1, and Terr. B is no. 2, your formula reads

CompanyTerritoryLoadsHauledFromLifetimeToTerritory(2)

You'll also need to put '1' into the small box in the 'test against territories'-line.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...