ICPurchase()

<< Click to Display Table of Contents >>

Navigation:  PaXcel  - functions > Inventory Functions >

ICPurchase()

 

ICPurchase( Company, ItemCode, Store, Period)

 

This function will return the stock purchases for the item code, store and period 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.

 

ItemCode: Enter the item code that you wish to return the purchases for.

 

Store: Enter the store code (if applicable) to return the purchases for.

 

Period: This should be one of the of the period keywords shown below.

 

Month x - return the purchases for the month specified

 

Year to Date x - return the total purchases up to and including the period specified.

 

Last Year - will return the total purchases for last year

 

hmtoggle_arrow1        Examples: