<< Click to Display Table of Contents >> Navigation: PaXcel - functions > Sales Analysis > SATargetPCT() |
SATargetPct( Company, Code, Number )
This function will return the Target amount percentage for the specified analysis code and number.
The arguments are as follows:
Company: This is the path to your Pastel data directory. For example:
c:\PastelData\_demo would enable you to retrieve information from the Pastel Partner demo company.
Code: Enter the salesperson or sales analysis code to return the information for
Number: This must be a number between 1 and 5
This will return then first target percentage amount for sales analysis code 00001
SATarget( "c:\PastelData\_demo", "00001", 1 )
This will return then third target percentage amount for sales analysis code 00001
SATarget("c:\PastelData\_demo", "00001", 3 )
|