<< Click to Display Table of Contents >> Navigation: PaXcel - functions > Sales Analysis > SADetail() |
SADetail( Company, Code, FieldToReturn )
This function will return the master field information for the Sales Analysis/Sales person specified.
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
FieldToReturn: This should be one of the following keywords.
Field to return |
Keyword |
Sales Analysis Description Commission Method Blocked |
Description Commethod Blocked |
This will return the description for sales analysis code 00001
SADetail( "c:\PastelData\_demo", "00001", "Description" )
This will return the commission method for sales analysis code 00001
SADetail( "c:\PastelData\_demo", "00001", "Commethod" )
In this case this will be either Gross Profit or Sales
|