Methods: Period

ChangePeriod

Use this method to change the current period.

If you change the current period while other users have any sessions open in SunSystems, those sessions continue to use the previous current period. As each new session starts, the new accounting period is used. You may get unexpected results, and are advised to only change the period when no users are logged in to that module.

Note: The period has to be specified in the format 'pppyyyy', where 'ppp' is the period, for example, '002' and 'yyyy' is the year, for example, '2006'.

Query

Driver Type: DJI

Use this method to obtain the current Financial, Sales, Purchase and Inventory period data from SunSystems.

Nota: A filter should not be applied to this method; doing so will not change the data it returns.
Nota: This is not a standard Query method, so the export driver properties do not apply to it, and will be ignored.