<< Click to Display Table of Contents >> Navigation: PaXcel - functions > Inventory Functions > ICStore() |
ICStore( Company, Store, FieldToReturn )
This function will only return information in pastel version 6 and higher and if you have the multi-store module installed.
This function will return the relevant master field information from the store supplied.
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.
Store: The store code that you require the information to be returned against should be entered in this parameter.
FieldToReturn: The keyword of the master field information to return should be entered here.
Field to return |
Keyword |
Store Name Blocked Postal Address 1 Postal Address 2 Postal Address 3 Postal Address 4 Postal Address 5 Physical Address 1 Physical Address 2 Physical Address 3 Physical Address 4 Physical Address 5 Contact Telephone Number Fax Number Mobile Number Email Address Default Group for Store
|
Name Blocked Postal1 Postal2 Postal3 Postal4 Postal5 Physical1 Physical2 Physical3 Physical4 Physical5 Contact Telephone Fax Mobile Group
|
The following will return the store name for store code CT
ICStore( "c:\PastelData\_demo", "CT", "Name" )
The following will return the store contact telephone for store code JHB
ICStore( "c:\PastelData\_demo", "JHB", "Name" )
|