conomark Posted February 13, 2004 Share Posted February 13, 2004 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"? Quote Link to comment Share on other sites More sharing options...
Gwizz Posted February 13, 2004 Share Posted February 13, 2004 If I'm remembering correctly.Use the "territory ID" trigger first"and"Then your trigger. Quote Link to comment Share on other sites More sharing options...
Lama Posted February 17, 2004 Share Posted February 17, 2004 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 readsCompanyTerritoryLoadsHauledFromLifetimeToTerritory(2)You'll also need to put '1' into the small box in the 'test against territories'-line. Quote Link to comment Share on other sites More sharing options...
conomark Posted February 20, 2004 Author Share Posted February 20, 2004 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.