Академический Документы
Профессиональный Документы
Культура Документы
SAGE ACCPAC
System Manager
User Guide
2006SageAccpacInternational,Inc.Allrightsreserved.
SageSoftware,SageSoftwarelogos,andallSageAccpacproductandservicenamesareregistered
trademarksortrademarksofSageAccpacInternational,Inc.,oritsaffiliatedentities.Allother
trademarksarethepropertyoftheirrespectiveowners.
SageAccpacInternational,Inc.
Publisher
Nopartofthisdocumentationmaybecopied,photocopied,reproduced,translated,microfilmed,
orotherwiseduplicatedonanymediumwithoutwrittenconsentofSageAccpacInternational,Inc.
UseofthesoftwareprogramsdescribedhereinandthisdocumentationissubjecttotheSage
SoftwareLicenseAgreementenclosedinthesoftwarepackage.
Sage Software
End User License Agreement for Indicated
Evaluation, Demonstration or Retail Software
THIS END USER LICENSE AGREEMENT APPLIES TO THESE SAGE ACCPAC SOFTWARE PRODUCTS:
z
Sage Accpac 100 ERP z
Sage Pro 100 ERP z
ACCPAC VisionPoint
z
Sage Accpac 200 ERP z
Sage Accpac Exchange z
ACCPAC Plus
z
Sage Accpac 500 ERP z
Sage Accpac WMS z
BPI Accounting II
z
Sage Accpac Options z
Sage Accpac ePOS
IMPORTANT READ CAREFULLY BEFORE YOU INSTALL OR USE THIS SOFTWARE: This End User License Agreement
(EULA) is a legal agreement between You (You and Your includes a person and/or an individual entity) and Sage Accpac
International, Inc. (Sage Accpac) concerning the specified evaluation, demonstration and/or retail software products(s) (hereinafter
respectively referred to as Evaluation Product, Demonstration Product and Retail Product; and collectively referred to as
Software). The Software includes all component parts, the associated media, any printed materials, any updates, and any online
or electronic documentation, as applicable. By accessing, installing, copying or otherwise using the Software, You agree to be bound
by the terms of this EULA. If You do not agree to the terms of this EULA, Sage Accpac is unwilling to license the Software to You. In
such event, You may not access, use or copy the Software, and You should promptly contact Sage Accpac for instructions on
returning the Software. WRITTEN ASSENT IS NOT A PREREQUISITE TO THE VALIDITY OR ENFORCEABILITY OF THIS EULA.
___________________________________________________________________________________________________________________________________
1. License.
a. License Grant.
(i) Retail Product. If You licensed a Retail Product, subject to the payment of all applicable license fees, and the terms
and conditions of this EULA, Sage Accpac hereby grants to You a limited, non-sublicensable, non-exclusive, non-transferable right to
install and run one copy of the specified version of the Software and the accompanying documentation, solely for Your individual use.
This EULA authorizes You to make one copy of the Retail Product solely for backup or archival purposes, provided that the copy You
make contains all of the proprietary notices set forth in or on the original version of the Software.
(ii) Demonstration Product. If You licensed a Demonstration Product, subject to the payment of all applicable license
fees, and the terms and conditions of this EULA, Sage Accpac hereby grants to You a limited, non-sublicensable, non-exclusive, non-
transferable and revocable right to install and run copies of the Demonstration Product and the accompanying documentation, solely
on computer(s) owned or controlled exclusively by You, for Your individual use and for demonstration, marketing, promotional, end
user support, training and/or development purposes, each to the extent permitted and/or required under the applicable Sage Accpac
Solution Provider, Certified Consultant, Development Partner, Professional Accountant Recommender, Online Referral Partner,
Hosting Partner, Recognized Training Center, Distribution Agreement or other applicable agreements between You and Sage Accpac
(collectively the Other Sage Accpac Agreement). Use of the Demonstration Product is limited to not more than the number of
concurrent users and/or seats as specified in the Other Sage Accpac Agreement, multi-user license, product packaging or
accompanying documentation. This EULA authorizes You to make one copy of the Demonstration Product solely for backup or
archival purposes, provided that the copy You make contains all of the proprietary notices set forth in or on the original version of the
Software. You may have additional rights as may be set forth in the applicable Other Sage Accpac Agreement.
(iii) Evaluation Products. If You licensed an Evaluation Product, subject to the terms and conditions of this EULA, Sage
Accpac hereby grants to You a limited, non-sublicensable, non-exclusive, non-transferable and revocable right to install and run one
copy of the Evaluation Product and the accompanying documentation, solely for Your individual use for evaluation purposes.
(iv) All Software. Upon receipt of the appropriate Software registration information, Sage Accpac will provide You an
alphanumeric key (the Activation Code or PAC Code) to enable You to use the Software pursuant to the terms of this EULA.
Documentation shall include, but not be limited to, any printed materials, online or electronic data provided by or obtained from Sage
Accpac with regard to this Software (Documentation). The Software and Documentation are licensed, not sold. Even though
copies of the Software may be provided on media of different formats, copies of the Software on different media formats do not
constitute multiple licenses to the Software. If the Software is licensed as a suite or bundle with more than one specified Software
product, this EULA applies to all such specified Software products, subject to any restrictions or usage terms specified on the
applicable product packaging or accompanying documentation that applies to any of such Software products individually.
b. Single-User. If this Software is licensed as a single user product, You may use only one copy of the Software, by not
more than one user at a time, on a total of one computer or workstation, or personal digital assistant, or pager, or smart phone, or
one such other electronic device for which the Software was designed (Client Device), unless otherwise set forth herein. The
component parts of the Software may not be used individually or jointly in full or in part on more than one Client Device, unless
otherwise set forth herein. The Software is in use on a computer when it is loaded into the temporary memory (i.e., random-access
memory or RAM) of that Client Device.
c. Multi-User. If the Software is licensed with multi-user or networked license terms, You may use the Software on one
server computer, or a greater number as specified in the applicable multi-user license, product packaging or accompanying
documentation, within a multi-user or networked environment for connecting, directly or indirectly, to not more than the maximum
number of Client Devices, concurrent users and/or seats, as specified in the applicable multi-user license, product packaging or
accompanying documentation. Use of software, hardware or services that bypass any Software license restrictions and/or reduce the
number of Client Devices, concurrent users and/or seats, as may be applicable, accessing or utilizing the Software (e.g.,
multiplexing, pooling, or third party add on software or hardware) expressly does not reduce the number of licenses required (i.e.,
the required number of licenses would equal the number of distinct inputs to the multiplexing or pooling software or hardware front
end). If the number of Client Devices, concurrent users and/or seats that can potentially connect to the Software exceeds or has the
potential to exceed the number of licenses You have obtained, then You must have a reasonable self-enforcing automatic
mechanism in place to ensure that Your use of the Software does not exceed the use limits specified for the license You have
obtained.
2. Term. Regardless of the location of the Software, You are responsible for strict compliance with any and all of the terms and
conditions of this EULA. This EULA will terminate automatically if You fail to comply with any of the limitations or other requirements
described herein, and such termination shall be in addition to and not in lieu of any criminal, civil or other remedies available to Sage
Accpac. When this EULA terminates, You must immediately cease using the Software and destroy all copies of the Software and the
Documentation. You may terminate this EULA at any point by destroying all copies of the Software and the Documentation.
a. Retail Product. If You licensed a Retail Product, this EULA is effective unless and until You or Sage Accpac terminates
the EULA earlier, in accordance with the terms set forth herein.
b. Demonstration Product. If You licensed a Demonstration Product, this EULA is effective unless and until You or Sage
Accpac terminates the EULA earlier, in accordance with the terms set forth herein or the terms set forth in Your Other Sage Accpac
Agreement or upon the earlier termination or expiration of Your Other Sage Accpac Agreement.
c. Evaluation Product. If You licensed an Evaluation Product, this EULA is effective for a period commencing on the earliest
date this Evaluation Software is downloaded, installed or first run and thereafter continuing for the period specified in the product
packaging or accompanying documentation, unless sooner terminated by You or Sage Accpac in accordance with the terms set forth
herein, but in no event shall such term exceed one hundred and eighty (180) days.
3. Updates. Sage Accpac may, at its sole discretion, make bug fixes, updates and/or service packs available. Sage Accpacs
maintenance service, if applicable and offered, is available for Retail Product at an additional cost to You, as Licensee, under a
separate written agreement. Sage Accpacs maintenance service is not available for Evaluation Product.
4. Ownership Rights.
a. Ownership of Software. The Software and Documentation are protected by United States patent, copyright laws and
other intellectual property laws, and international treaty provisions. Sage Accpac and its third party licensors, if any, retain all title to
and, except as expressly and unambiguously licensed herein, all rights and interest in (a) the Software, including, but not limited to, all
copies, versions, customizations, compilations and derivative works thereof (by whomever produced) and all related Documentation;
(b) the Sage Accpac trademarks, service marks, trade names, icons and logos; (c) any and all copyright rights, patent rights, trade
secret rights and other intellectual property and proprietary rights throughout the world in the foregoing; and (d) all Confidential
Information (as defined in Section 13 below). You acknowledge that Your possession, installation, or use of the Software does not
transfer to You any ownership, title, or registrable interest of any kind to the intellectual property in the Software, and that You will not
acquire any rights to the Software except as expressly set forth in this EULA. You agree that all backup, archival, or any other type of
copies of the Software and Documentation will contain the same proprietary notices that appear on and in the Software and
Documentation.
b. Submissions. Should You decide to submit any materials to Sage Accpac via electronic mail, through or to Sage Accpac
website(s), or otherwise, whether as feedback, data, questions, comments, ideas, concepts, techniques, suggestions or the like, You
agree that such submissions are unrestricted and shall be deemed non-confidential upon submission. You grant to Sage Accpac and
its assigns a non-exclusive, royalty-free, worldwide, perpetual, irrevocable license, with the right to sublicense, to use, copy, transmit,
distribute, create derivative works of, commercialize, display and perform such submissions.
5. Restrictions. You may not rent, lease, sublicense, loan, sell, distribute, market or commercialize any portion of the Software or
its components. You may only install and use the Software (a) on hardware which is under Your exclusive control and, in the case of
hardware performing any server functions, located at premises where You normally conduct day-to-day business operations; (b) on
server hardware located at premises under the exclusive or primary control of an authorized Sage Accpac Hosting Partner or its
agent; or (c) on a server not owned by You if You will be the only party with access to the Software on such server. You may not
permit any parent, affiliate, subsidiary or any other third parties to benefit from the use or functionality of the Software, either directly
or via a facility management, timesharing, service bureau or any other arrangement; provided, however, that You may use the
Software, as provided herein, to process the data of an affiliate or subsidiary of which You own more than fifty percent (50%);
provided, however, You may not exceed the number of datasets specified on the applicable product packaging or accompanying
documentation. You may not use the Software as part of a facility management, timesharing, or service bureau arrangement. You
may not transfer any or all of the rights granted to You under this EULA. To the maximum extent this restriction is permitted under
applicable law, You may not rename files of, modify, translate, localize, decompile, disassemble, decrypt, reverse engineer, attempt
to derive source code from, remove any proprietary notices from, or create derivative works based upon the Software, in whole or in
part. You may not duplicate or copy any portion of the Software or Documentation, unless otherwise set forth herein. You may not
remove any proprietary notices or labels on the Software, including, but not limited to, the Sage Accpac and product names wherever
they may appear. All rights not expressly set forth hereunder are reserved by Sage Accpac. Sage Accpac reserves the right to
periodically conduct audits upon advance written notice to verify compliance with the terms of this EULA.
6. Warranty and Disclaimer.
a. Limited Warranty. Sage Accpac warrants that for ninety (90) days from the date of original purchase the media on which
the Software is contained will be free from defects in materials and workmanship.
b. Customer Remedies. Sage Accpacs entire liability and Your exclusive remedy shall be replacement of the defective
media. To receive replacement of defective media, You must receive a return authorization number from Sage Accpac and return the
defective media to Sage Accpac at Your expense with a copy of Your receipt. This limited warranty is void if the defect has resulted
from accident, abuse, or misapplication. Any replacement media will be warranted for the remainder of the original warranty period.
This remedy is not available to the extent it is prohibited under United States export control laws and regulations.
c. Warranty Disclaimer. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, AND EXCEPT FOR THE
LIMITED WARRANTY SET FORTH HEREIN, THE SOFTWARE (AND ACCOMPANYING DOCUMENTATION) IS PROVIDED ON
AN AS IS BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. WITHOUT LIMITING THE FOREGOING
PROVISIONS, YOU ASSUME SOLE RESPONSIBILITY FOR SELECTING THE SOFTWARE TO ACHIEVE YOUR INTENDED
RESULTS, AND SOLE RESPONSIBILITY FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED FROM THE
SOFTWARE. WITHOUT LIMITING THE FOREGOING PROVISIONS, SAGE ACCPAC MAKES NO WARRANTY THAT THE
SOFTWARE WILL BE ERROR-FREE, VIRUS FREE, OR FREE FROM INTERRUPTIONS OR OTHER FAILURES OR THAT THE
SOFTWARE WILL SATISFY YOUR SPECIFIC REQUIREMENTS. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE
LAW, SAGE ACCPAC DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY,
INCLUDING BUT NOT LIMITED TO ANY (IF ANY) IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, OF
FITNESS FOR A PARTICULAR PURPOSE, OF LACK OF VIRUSES, OF LACK OF ACCURACY OR COMPLETENESS OF
RESPONSES, OF RESULTS, AND LACK OF NEGLIGENCE OR LACK OF WORKMANLIKE EFFORT, ALL WITH REGARD TO
THE SOFTWARE AND ASSOCIATED DOCUMENTATION. THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET
ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION, OR NON-INFRINGEMENT WITH REGARD TO
THE SOFTWARE. THE ENTIRE RISK OF THE QUALITY OF OR ARISING OUT OF USE OR PERFORMANCE OF THE
SOFTWARE, IF ANY, REMAINS SOLELY WITH YOU. SOME STATES AND JURISDICTIONS DO NOT ALLOW LIMITATIONS
ON IMPLIED WARRANTIES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. THE FOREGOING PROVISIONS
SHALL BE ENFORCEABLE TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
d. Indemnification. You agree to defend, indemnify and hold harmless Sage Accpac and its directors, officers, employees,
affiliates, sublicensees, and agents from and against all claims, defense costs (including reasonable expert and attorneys fees),
judgments and other expenses arising out of or on account of any negligent act, omission, or willful misconduct by You or on Your
behalf in (i) the installation or use of the Software or (ii) your compliance or failure to comply with this EULA.
e. Data. YOU ACKNOWLEDGE THAT ANY DATA ENTRY, CONVERSION OR STORAGE IS SUBJECT TO THE
LIKELIHOOD OF HUMAN AND MACHINE ERRORS, MALICIOUS MANIPULATION, OMISSIONS, DELAYS, AND LOSSES,
INCLUDING, BUT NOT LIMITED TO, INADVERTENT LOSS OF DATA OR DAMAGE TO MEDIA THAT MAY RESULT IN LOSS
OR DAMAGE TO YOU AND/OR YOUR PROPERTY, AND/OR YOUR DETRIMENTAL RELIANCE ON MALICIOUSLY
MANIPULATED DATA. SAGE ACCPAC SHALL NOT BE LIABLE FOR ANY SUCH ERRORS, OMISSIONS, DELAYS, OR
LOSSES. YOU ARE RESPONSIBLE FOR ADOPTING REASONABLE MEASURES TO LIMIT THE IMPACT OF SUCH
PROBLEMS, INCLUDING BACKING UP DATA, ADOPTING PROCEDURES TO ENSURE THE ACCURACY OF INPUT DATA,
EXAMINING AND CONFIRMING RESULTS PRIOR TO USE, ADOPTING PROCEDURES TO IDENTIFY AND CORRECT
ERRORS AND OMISSIONS, REPLACING LOST OR DAMAGED MEDIA, AND RECONSTRUCTING DATA. YOU ARE ALSO
RESPONSIBLE FOR COMPLYING WITH ALL LOCAL, STATE, AND FEDERAL LAWS PERTAINING TO THE USE AND
DISCLOSURE OF ANY DATA. IF YOU LICENSED AN EVALUATION PRODUCT, YOU ACKNOWLEDGE AND UNDERSTAND (I)
THAT THE EVALUATION PRODUCT MAY BE USED FOR EVALUATION PURPOSES ONLY, (II) THAT THE EVALUATION
PRODUCT SHALL BE OPERABLE ONLY FOR A LIMITED TIME AND (III) THAT, UPON EXPIRATION OF THE EVALUATION
PERIOD, ANY DATA OR OTHER INFORMATION USED WITH, PROCESSED BY AND/OR STORED IN CONJUNCTION WITH
THE EVALUATION PRODUCT MAY BE IRRETRIEVABLE, UNRECOVERABLE AND/OR OTHERWISE UNUSABLE.
f. Authorized Sage Accpac Solution Providers and Certified Consultants. ANY AUTHORIZED SAGE ACCPAC
SOLUTION PROVIDER, CERTIFIED CONSULTANT, RESELLER, INSTALLER OR CONSULTANT IS NOT AFFILIATED WITH
SAGE ACCPAC IN ANY CAPACITY OTHER THAN AS A RESELLER, INSTALLER OR CONSULTANT OF SAGE ACCPACS
PRODUCTS AND HAS NO AUTHORITY TO BIND SAGE ACCPAC OR MODIFY ANY LICENSE OR WARRANTY. SAGE
ACCPAC MAKES NO REPRESENTATIONS, WARRANTY, ENDORSEMENT OR GUARANTEE WITH RESPECT TO THE
SKILLS OR QUALIFICATIONS OF ANY AUTHORIZED SAGE ACCPAC SOLUTION PROVIDER, CERTIFIED CONSULTANT,
RESELLER, INSTALLER OR CONSULTANT AND YOU ARE ENCOURAGED TO INDEPENDENTLY INVESTIGATE THE SKILLS
AND QUALIFICATIONS OF ANY AUTHORIZED SAGE ACCPAC SOLUTION PROVIDER, CERTIFIED CONSULTANT,
RESELLER, INSTALLER OR CONSULTANT WITH WHOM YOU ASSOCIATE.
7. Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT,
CONTRACT, OR OTHERWISE, SHALL SAGE ACCPAC BE LIABLE TO YOU OR TO ANY OTHER PERSON OR ENTITY FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER WHATSOEVER
(INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, LOSS OF GOODWILL, LOSS OF CONFIDENTIAL
OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION,
FOR PERSONAL INJURY, LOSS OF PRIVACY, FOR FAILURE TO MEET ANY DUTY INCLUDING A DUTY OF GOOD FAITH OR
OF REASONABLE CARE, FOR NEGLIGENCE (WHETHER ACTIVE OR PASSIVE), AND FOR ANY OTHER PECUNIARY OR
OTHER LOSS WHATSOEVER) ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OR INABILITY TO USE THE
SOFTWARE, OR OTHERWISE UNDER OR IN CONNECTION WITH ANY PROVISION OF THIS EULA, EVEN IN THE EVENT OF
FAULT, TORT (INCLUDING NEGLIGENCE, AND GROSS NEGLIGENCE), STRICT LIABILITY, BREACH OF CONTRACT, OR
BREACH OF WARRANTY BY SAGE ACCPAC, AND EVEN IF SAGE ACCPAC HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES. IN NO EVENT WILL SAGE ACCPAC BE LIABLE FOR ANY DAMAGES IN EXCESS OF THE LIST PRICE
SAGE ACCPAC CHARGES FOR A LICENSE TO THE SOFTWARE. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO
LIABILITY FOR DEATH OR PERSONAL INJURY TO THE EXTENT THAT APPLICABLE LAW PROHIBITS SUCH LIMITATION.
FURTHERMORE, SOME STATES AND JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL
OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION AND EXCLUSION MAY NOT APPLY TO YOU. THE FOREGOING
PROVISIONS SHALL BE ENFORCEABLE TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
8. Entire Agreement. This EULA expressly supersedes and completely replaces any and all prior end user license agreements.
Sage Accpac shall not be bound by or liable to You for any pre-existing or contemporaneous written or oral representations or
warranties, made by anyone, with respect to the Software Product, including any authorized Solution Provider, Certified Consultant,
distributor or reseller or their respective agents, employees, or representatives, nor shall You be deemed a third party beneficiary of
any obligations of Sage Accpac to any such Solution Provider, Certified Consultant, distributor or reseller.
9. Severability. If any provision of this EULA is held to be unenforceable, the enforceability of the remaining provisions shall in no
way be affected or impaired thereby.
10. United States Government. The Software and accompanying Documentation are deemed to be commercial computer
software and commercial computer software documentation, respectively, pursuant to DFAR Section 227.7202 and FAR Section
12.212, as applicable. Any use, modification, reproduction, release, performance, display or disclosure of the Software and
accompanying Documentation by the United States Government shall be governed solely by the terms of this EULA and shall be
prohibited except to the extent expressly permitted by the terms of this EULA.
11. Export Controls. You acknowledge that the Software may be subject to export controls imposed by U.S. laws and regulations.
During the term of this EULA, You agree to comply with the U.S. Foreign Corrupt Practices Act and with all export laws and
restrictions and regulations of the United States Department of Commerce, U.S. Department of the Treasury or other United States or
foreign agency or authority, and not to knowingly export, re-export, download, or allow the export, re-export or downloading of the
Software or Documentation and any underlying information or technology in violation of any such restrictions, laws or regulations. By
accessing, installing, downloading or using the Software You are agreeing to the foregoing and You are certifying that You are not
located in, under the control of, or a national or resident of any country to which the export of the Software is prohibited.
EXPORT OF THE SOFTWARE MAY BE SUBJECT TO COMPLIANCE WITH THE RULES AND REGULATIONS PROMULGATED
FROM TIME TO TIME BY THE BUREAU OF INDUSTRY AND SECURITY, UNITED STATES DEPARTMENT OF COMMERCE,
WHICH RESTRICT THE EXPORT AND RE-EXPORT OF CERTAIN PRODUCTS AND TECHNICAL DATA. YOU ACKNOWLEDGE
AND AGREE THAT IF THE EXPORT OF THE SOFTWARE IS CONTROLLED UNDER SUCH RULES AND REGULATIONS, THEN
YOU SHALL NOT CAUSE THE SOFTWARE TO BE EXPORTED OR RE-EXPORTED, DIRECTLY OR INDIRECTLY, (A) WITHOUT
ALL EXPORT OR RE-EXPORT LICENSES AND UNITED STATES OR OTHER GOVERNMENTAL APPROVALS REQUIRED BY
ANY APPLICABLE LAWS, OR (B) IN VIOLATION OF ANY APPLICABLE PROHIBITION AGAINST THE EXPORT OR RE-EXPORT
OF ANY PART OF THE SOFTWARE. SOME COUNTRIES HAVE RESTRICTIONS ON THE USE OF ENCRYPTION WITHIN
THEIR BORDERS, OR THE IMPORT OR EXPORT OF ENCRYPTION EVEN IF FOR ONLY TEMPORARY PERSONAL OR
BUSINESS USE. YOU ACKNOWLEDGE THAT THE IMPLEMENTATION AND ENFORCEMENT OF THESE LAWS IS NOT
ALWAYS CONSISTENT AS TO SPECIFIC COUNTRIES. YOU ACKNOWLEDGE THAT IT IS YOUR ULTIMATE RESPONSIBILITY
TO COMPLY WITH ANY AND ALL GOVERNMENT EXPORT AND OTHER APPLICABLE LAWS AND THAT SAGE ACCPAC HAS
NO FURTHER RESPONSIBILITY AFTER THE INITIAL LICENSE TO YOU WITHIN THE ORIGINAL COUNTRY OF LICENSE.
12. High Risk Activities. The Software is not fault-tolerant and is not designed or intended for use in hazardous environments
requiring fail-safe performance, including without limitation, in the operation of nuclear facilities, aircraft navigation or communication
systems, air traffic control, weapons systems, direct life-support machines, or any other application in which the failure of the Software
could lead directly to death, personal injury, or severe physical or property damage (collectively, High Risk Activities). Sage Accpac
expressly disclaims any express or implied warranty of fitness for High Risk Activities.
13. Confidentiality. You agree that the Software, including, but not limited to, all source and object code components, screen shots
and displays, graphical user interfaces, algorithms, formulae, data structures, scripts, application programming interfaces and
protocols, and the Documentation (collectively the Confidential Information) are trade secrets of Sage Accpac and are owned by
Sage Accpac or, where applicable, its third-party licensors. You agree to retain all Confidential Information in strict confidence at
least with the same amount of diligence that You exercise in preserving the secrecy of Your most-valuable information, but in no
event less than reasonable diligence. You agree to: (i) only disclose Confidential Information to Your employees and agents to the
extent required to use the Software under the terms of this EULA and not to disclose or disseminate the Confidential Information to
any third party without the prior written consent of Sage Accpac, (ii) use the Confidential Information solely for Your benefit as
provided for herein and not to allow any third party to benefit from the Confidential Information, and (iii) bind Your employees and
agents, by terms no less restrictive than those set forth herein, to maintain the confidentiality of such Confidential Information, and not
use or disclose such information except as permitted under this EULA. Notwithstanding the disclosure of any Confidential Information
for any reason, such Confidential Information shall continue to be owned by Sage Accpac or its licensors. Nothing contained herein
shall be deemed to prevent You from disclosing or disseminating Your data, in any format or any report, to whomever You so choose.
Notwithstanding anything else to the contrary in this Section 13, and only with respect to Demonstration Product, You are permitted to
use the Demonstration Product to demonstrate and promote the functionality and benefits of the Product.
14. Miscellaneous. This EULA is exclusively governed by the laws of the United States and the State of California, without
reference to conflicts of law principles. In the event of a dispute or legal action between the parties, they agree to waive any
objections to personal jurisdiction, and agree to service of process and exclusive venue in the Federal District Court for Northern
California or the California Superior Court of Alameda County. The application of the United Nations Convention of Contracts for the
International Sale of Goods is expressly excluded. This EULA sets forth all of Your rights and is the entire agreement between the
parties. This EULA supersedes any other communications with respect to the Software and/or Documentation. This EULA may not
be modified except by a written addendum issued by a duly authorized representative of Sage Accpac. No provision hereof shall be
deemed waived unless such waiver shall be in writing and signed by a duly authorized representative of Sage Accpac. You hereby
acknowledge a breach of this EULA would cause irreparable harm and significant injury to Sage Accpac that may be difficult to
ascertain and that a remedy at law would be inadequate. You agree that Sage Accpac shall have the right to seek and obtain
immediate injunctive relief to enforce the obligations under this EULA in addition to any other rights and remedies it may have. If any
provision of this EULA is held invalid, the remainder of this EULA shall continue in full force and effect. The controlling language of
this EULA is English. If You have received a translation into another language, it has been provided for Your convenience only.
15. Sage Accpac Customer Contact. If You have any questions concerning these terms and conditions, or if You would like to
contact Sage Accpac for any other reason, please call (925) 461-2625, or write to us at: Sage Accpac International, Inc., 6700 Koll
Center Parkway, Third Floor, Pleasanton, California 94566, USA. You may also find us on the Web at http://www.accpac.com or
http://www.accpaconline.com.
Contents
User Guide v
AccpacDBLink ...............................................................1424
AccpacFiscalCalendar ........................................................1431
AccpacMultiuser .............................................................1437
AccpacOrganization ..........................................................1443
AccpacPrintSetup ............................................................1444
AccpacProperty ..............................................................1445
AccpacReport ................................................................1448
AccpacSession ...............................................................1454
AccpacView .................................................................1483
AccpacViewField.............................................................1496
AccpacViewKey............................................................ 14101
Collections ................................................................ 14102
AccpacActiveApp (Collection) ............................................... 14102
AccpacErrors (Collection) ................................................... 14103
AccpacOrganizations (Collection) ............................................ 14107
AccpacViewCompositeNames (Collection) ................................... 14110
AccpacViewFieldPresentsStrings (Collection) ................................. 14111
AccpacViewFields (Collection) .............................................. 14113
AccpacViewKeys (Collection) ............................................... 14114
User Guide ix
Index
Chapter 4, Using the Finder, explains how to use the Finder for
faster, more efficient data lookup in Sage Accpac ERP.
User Guide 11
Administrator Guide
The System Manager Administrator Guide introduces the System
Manager, and gives instructions for installing and setting up Sage
Accpac ERP programs.
User Guide 13
Chapter 2
Starting Sage Accpac ERP
Sage Accpac
Starting
Signing On to Sage Accpac ERP on the Desktop ................................... 22
Signing On to Sage Accpac ERP from a Web Browser .............................. 25
Closing the Company Database from your Browser ............................ 27
System Manager Services ....................................................... 28
Starting an Application ......................................................... 28
Opening Sage Accpac ERP in the Sage Desktop ................................... 29
Moving Around on the Sage Desktop........................................ 210
Using the Tasks Pane ...................................................... 211
Using the My Tasks Pane ................................................... 214
Moving and Deleting Tasks and Groups in the My Tasks Pane ............. 216
Using the Content Pane .................................................... 216
Changing the Current Home Page ....................................... 217
Adding More Than One Web Site ....................................... 218
Changing Companies .......................................................... 219
Changing Companies on the Desktop ....................................... 220
Changing Companies in a Web Browser ..................................... 220
Changing Passwords .......................................................... 221
Where To Now? ............................................................... 221
User Guide 2i
Chapter 2
Starting Sage Accpac ERP
Sage Accpac
Starting
This chapter gives instructions for signing on to Sage Accpac ERP
and starting applications on the company desktop or from a Web
browser, explains how to change your password at sign-on, and how
to switch companies without leaving Sage Accpac ERP.
Windows terms We assume that you are already familiar with Windows terms such
as icon, application, window, click, double-click, select, choose,
menu, command, insertion point, and dialog box. If you are
relatively new to Windows, you may wish to review your Microsoft
Windows Users Guide before you begin.
Opening Sage You can open and use your Sage Accpac ERP company database
Accpac ERP from
from a Web browser. Please see the section, Signing On to Sage
a Web browser
Accpac ERP from a Web Browser, later in this chapter.
Help If you need help while you use Sage Accpac ERP, do one of the
following:
User Guide 21
Company
Sign-on Desktop
Start
1. Start Windows.
The user ID and company displayed are from your last work
session. The session date is the current DOS date, unless you had
previously entered a future date in that case, the future date is
displayed.
There are three possible display modes for the Open Company
dialog box. The display depends on how users were set up in the
Users form: with Sage Accpac ERP authentication only, with
Windows authentication only, or with Both.
Sage Accpac
Starting
ERP Users form for your user ID, the Open Company dialog box
will display the Windows Authentication option, but it will be
disabled, as illustrated below. (Note that, on the Sage Accpac
ERP Web desktop, the Windows Authentication option will
always be enabled.)
Opening a
company with
Windows
Authentication
option disabled
If Sage Accpac ERP authentication was chosen for your user ID,
the Open Company dialog box will display the Windows
Authentication option enabled but unchecked, as shown next:
Windows
Authentication
option not
selected
Windows
Authentication
option selected,
Domain field
displayed
User Guide 23
The date is displayed in the status bar at the bottom of the Sage
Accpac ERP company desktop.
If the session date you enter is not valid (for example, the date
occurs during a closed fiscal period for the company), a message
asks whether you want to continue.
Enter password in
Password field
Sage Accpac
and a password. Please see your administrator for these.
Starting
The first time that you type the Sage Accpac ERP server URL into the
address bar of the Internet Explorer, you will receive messages to
update operating system files. On subsequent visits to the site, you
will not need to perform these installations unless there are newer
versions of applications on the Sage Accpac ERP server.
2. Type the URL for your Sage Accpac server in the Address bar.
The first time you open Sage Accpac ERP in a browser, a screen
similar to the following appears:
Download Sage
Accpac Web
Session Manager
3. Click Yes.
User Guide 25
If this is also the first time you have attempted to access a Sage
Accpac server, you will receive a message similar to the
following :
Accessing a Sage
Accpac server
4. Click Yes.
5. Click Next.
7. Enter your User ID, your password, and the domain name, then
click OK. The following screen appears:
Sage Accpac
Starting
9. Enter your user ID and password, select the company database,
enter the session date (or leave the default), then click OK.
(Select the Windows Authentication option if you are signing on
using your Windows ID.)
User Guide 27
Common Services Common Services manage data that is shared by all the integrated
accounting applications for your company. The Common Services
folder contains the following icons:
Company Profile.
Fiscal Calendar.
Scheduling.
Currency.
Optional Fields.
Starting an Application
Activated accounting applications appear on the Sage Accpac ERP
company desktop. Each application is located in its own folder, with
icons for the various forms needed by that application located in the
right pane.
To open a form, you double-click its icon or select the icon using the
navigation buttons, and then press Enter.
The example below shows the company desktop, with folders in the
Sage Accpac
Starting
left pane, and Common Services icons in the right pane.
Company desktop
The next screen shot shows the desktop as viewed from a Web
browser:
Signon
User Guide 29
2. Enter your User ID, select your company, then click OK.
Sage Desktop
Tasks pane
My Tasks pane
Contents pane
To reposition panes:
1. Click the title bar of the pane, then drag it to the new location.
Sage Accpac
Drag pane to new
Starting
location
b. To line panes up side by side, move the second one until the
tip of the mouse pointer touches the edge of the first pane.
The next section discusses how to use Sage Accpac ERP applications
on the Sage Desktop.
Sage on the Web. Click this link to display pages from the Sage
Software Website. The pages include:
Each of these pages opens in its own tab in the Content pane, not
in your usual Web browser.
Get Started. Opens the Sage Desktop online help file. You can
view the Sage Accpac ERP Getting Started help pages from this
file also.
Getting started
with online Help
Tasks pane
Sage Accpac
Starting
Your company name appears here
Click the plus sign beside each folder to display Sage Accpac ERP
accounting items.
Tasks pane,
displaying Sage
Accpac ERP items
Sage Accpac ERP items open just as they did on the traditional
desktop.
Scheduling.
2. Enter a name for your new group (for example, My User), then
click OK.
My Tasks pane
Now you add items from the Tasks pane to the new group.
There are two methods you can use to add items to groups;
either drag the item from the Tasks pane directly to the group
you created or right-click the item, then take the following steps:
Add to My Tasks
dialog box
Sage Accpac
Starting
b. Accept the defaults (unless you want to place this item in a
different group than the default), then click OK.
Drag individual If you drag items to the My Task pane from company folders,
items
you must drag each task individually to the new group; you
cannot drag folders.
You can move and delete items and tasks in the My Tasks pane.
Sage Accpac
News and Announcements. View current news about Sage
Starting
Accpac ERP.
Tips and Techniques. Read quick tips about using Sage Accpac
ERP.
If you select the Web Page type, browse to the folder where
the Web page is located, highlight the page, then click Open.
Click OK to return to the desktop.
If you select the Web Link type, enter the URL in the address
field, click OK, select View Home Page After You Click
OK, then click OK to return to the desktop.
The Web site you selected as a home page appears in another tab
on the Content pane, with the URL of the Web site as the tabs
label, as shown below:
Tab label
You can add Web sites to the Content pane as explained above, but
you can also add Web sites to the My Tasks pane.
3. Click the Select button, then enter the URL in the address field
and click OK:
4. In the Add To My Tasks dialog box, change the name of the task
if you wish, and add it to an existing group, or create a new
group for it.
Changing Companies
5. Click OK to return to the My Tasks pane, where you will see the
Web site included as a task in the group.
6. Click on the task (the Web site name you entered in step 4) to
Sage Accpac
Starting
open the Web site. A new tab appears in the Content pane,
labeled with the sites URL, and the Web site appears in the
pane, as shown below:
You can add links to more than one Web site in this manner, with
each Web site creating another tab in the Content pane when it is
opened for the first time.
Closing Web sites Click the X in the top right corner of the Content pane to close the
currently-open Web site and remove its tab. (Clicking the X removes
the Web site from the Content pane; it does not delete the Web site
from your My Tasks group.)
Browser note Web sites you open from the Sage Desktop appear in the Content
pane they do not open in your usual browser.
Changing Companies
You can change companies while you have Sage Accpac ERP open
whether on the traditional desktop, or from your Web browser.
Please see the following sections for instructions.
Changing Companies
1. Close each open window for the current company, then choose
Open Company from the File menu.
If you decide not to close the current company, click the Cancel
button before selecting a new company; in that way, the current
company remains open.
Select another
company
3. Click OK.
1. Click the Sign Off tab, then click the Sign On tab.
Changing Passwords
Changing Passwords
You can change your user password when you sign on to Sage
Sage Accpac
Accpac ERP.
Starting
1. Click the Change Password button in the Open Company dialog
box.
Where To Now?
For basic information about Sage Accpac ERP, read Chapter 3 and
Chapter 4.
Chapter 3
Learning the Basics
Learning
Learning the
Moving Around in Sage Accpac ERP ......................................... 33
Basics
Basics
Displaying Data ............................................................ 34
Using the Calculator ............................................................ 35
the
Calculator Chart ............................................................ 35
Entering Dates Using the Drop-Down Calendar ................................... 36
Getting Help ................................................................... 37
Using Sage Accpac ERP Menu Commands ........................................ 37
File Menu ..................................................................... 37
Object Menu ................................................................... 37
View Menu .................................................................... 38
Macro Menu ................................................................... 39
Help Menu .................................................................... 39
Help Topics ............................................................... 310
Whats This? .............................................................. 310
Sage Accpac ERP on the Web ............................................... 310
System Information ........................................................ 310
About Sage Accpac ERP .................................................... 311
Online Documentation ..................................................... 315
User Guide 3i
Chapter 3
Learning the Basics
This chapter describes basic techniques for using Sage Accpac ERP,
including how to change your icon display, selecting user options,
and using basic commands in records and the calculator.
Learning the
Switching folders When a plus sign (+) appears to the left of a folder name on the Sage
Basics
Accpac ERP desktop, you can double-click the plus sign or the folder
to display a list of subfolders, then double-click the icon in the right
pane that you want to open.
Print destination To select or change your print destination, choose Print Destination
from the File menu, or double-click the print destination icon in the
right corner of the status bar on the Sage Accpac ERP desktop. (See
also Chapter 10, Printing.)
Printing from Click Print from the File menu in the form you opened on the Sage
browser
Accpac ERP Web desktop.
Columns You can rearrange and hide columns, change column widths, and
split lists of data in two in windows that are wider than the screen.
For instructions about rearranging columns, see Appendix B, Using
a Mouse or Keyboard, in this guide.
Moving within Press the Alt key on your keyboard at the same time as you press the
forms
key corresponding to the underlined letter in a tabs name to move to
that tab.
Using desktop See later sections in this chapter that discuss the commands in each
menus
of the desktop menus (File, Object, View, Macro, and Help menus).
User Guide 31
View Description
Icons in the right-hand pane in
Large Icons rows, names below each icon.
The display is saved as a Registry file; each time you start Sage
Accpac ERP, the items are displayed using your previous selection.
Use the following shortcut keys, icons, and buttons when you work
with Sage Accpac ERP forms. Note that each key, icon, or button
described does not appear on every form.
Key/button Action
Learning the
Basics
Alt+H Display the Help menu.
Alt+S
Save changes made to current/new record.
Ctrl / Page Down Move to the last item in the Finder list.
Ctrl/Shift/Tab Move out of a grid or list to the button or field directly above the
grid or list.
Ctrl/Tab Move out of a grid or list to the first button or field following the
grid or list.
Delete or Alt+D
Delete the displayed record or row.
User Guide 33
Key/button Action
Displaying Data
Icon/
Key Action Button
Arrow keys Move to the first, last, next, or previous record (see
also Ctrl/Page Up and Ctrl/Page Down in the table (Navigation buttons)
above).
Learning the
field. If you start typing now, the digits you enter are added to
Basics
the end of the displayed number. To clear the displayed number,
click CE.
Calculator Chart
Action Button Key
Add + +
Subtract
Multiply x
Divide /
Find the percentage % %
Calculate the result = =
Change the sign
Erase one digit at a time Back B or Backspace
Clear the displayed number CE E
Clear the current calculation CA C
Insert the displayed number at your Paste P
current position
Add the displayed number to M+ A
memory
Subtract the displayed number from M S
memory
User Guide 35
Calendar 1. Click the small calendar icon located beside the date field to
icon
display the calendar.
2. Click a date (or press the arrow keys on your keyboard to move
from day to day in the displayed month and then press the Enter
key). The selected date appears in the date field, and the
drop-down calendar closes.
Note that you can type a date in the field, in the format
month/day/year, without using the drop-down calendar, but if you
try to tab in the date field, you will simply move to the next field in
the dialog box.
Getting Help
Getting Help
You can display online help about a form, field, or message you see
on your screen by pressing the F1 key or clicking the Help button (if
the button is displayed). From the Web desktop, click the Help tab to
open general help about downloading common controls, or press F1
in an open form.
Learning the
Basics
The following sections explain the commands included in Sage
Accpac ERP desktop menus.
File Menu
Open Company: open another company without exiting Sage
Accpac ERP.
Object Menu
Use this menu to add or rearrange folders or items on the company
desktop, and update information for them. Note that you can only
Cut or Delete items that you added to the desktop.
User Guide 37
View Menu
Note that new folders, macros, reports, and programs added from
the desktop are not available when you view Sage Accpac ERP in a
browser.
Copy: copy the selected item so you can paste it into another
folder.
View Menu
Toolbar: display and hide the Toolbar, which includes buttons
for some of the most common commands in Sage Accpac ERP.
Large Icons: display items in the right pane of the Sage Accpac
ERP desktop as large icons with names below.
Macro Menu
Macro Menu
Start Recording: start recording a new macro.
Learning the
Edit: edit a macro you have recorded or write a new macro.
Basics
Options: change the default macro folder for Sage Accpac ERP.
Help Menu
The Help menu includes the following commands:
Help topics.
Whats this?
System Information.
Licenses.
LanPak Users.
IAP Users.
Timecard Users.
Online Documentation.
User Guide 39
Help Menu
Help Topics
The Help Topics command displays Sage Accpac ERP Help file
contents. You can click the Contents tab of the Help to find
information about forms and procedures, or click the Index tab for
information about a specific topic. The glossary tab displays
accounting information.
Whats This?
Click this command for point-and-click access to Help about a
menu item or toolbar button.
System Information
Click this command for information about your installed Sage
Accpac ERP system and programs, including:
The drives and folders where programs and shared data are
stored.
Help Menu
Learning the
Basics
The information displayed includes:
Copyright notice.
Help Menu
View the End-User Click this button on the About Sage Accpac ERP screen to view the
License Agreement
Product License Agreement.
Button
Note that you can click the Print button to print the agreement.
System Information Click this button on the About Sage Accpac ERP screen to view the
Button
version of the System Manager that you are running, information
about the drives and folders where programs and shared data are
stored, the version number of each program and service associated
with Sage Accpac ERP, and whether the program or service is active
for the current database. If you then click the Modules button, the
name, date, size, and location of each program module currently
loaded under Windows will be displayed.
Help Menu
Licenses Click the Licenses button on the About Sage Accpac ERP screen to
open the following dialog box:
Learning the
Basics
The Licenses dialog box displays the following information:
LanPak Users. Opens the LanPak Users dialog box that displays
the current user, the maximum number of LanPak users
allowed, and how many LanPak users are currently signed on.
Help Menu
IAP Users. Opens the Integration Access Pack Users dialog box
that displays the name of the current user, the maximum
number of IAP users allowed, and how many IAP users are
currently signed on.
Help Menu
Online Documentation
Learning the
Click this Help Menu item to open readmes, user guides, update
Basics
notices, and getting started guides for the Sage Accpac ERP
applications that have been installed.
Chapter 4
Using the Finder
The Finder ..................................................................... 41
Viewing Data in the Finder ...................................................... 43
Restricting the Choice of Records in the Finder .................................... 44
Changing Color in the Finder .................................................... 45
Setting Up Criteria for Selecting Records ......................................... 46
Clearing Criteria by Restoring Defaults .......................................... 410
Setting Properties ............................................................. 411
Using the
Finder
User Guide 4i
Chapter 4
Using the Finder
This chapter introduces you to the Sage Accpac ERP Finder and
explains how to use the Finder to search for data.
The Finder
Finder The Finder is a tool for looking up account numbers and other coded
Using the
information in Sage Accpac ERP data entry screens, such as general
Finder
ledger account numbers, customer and vendor numbers, inventory
item numbers, currency rates, and currency codes.
Click the Finder To open a Finder, click the Finder button or press F5. A list of
button or press F5
records is displayed; you select one, the Finder closes, and the
selected record is inserted into the original data entry field.
User Guide 41
The Finder
Select a record.
Double-click the record. You can use the vertical scroll bar to
view records further down the list.
Or
Press Tab to move the cursor into the list, use the arrow keys
to highlight a record, then click the Select button or press
Enter.
Specify which field you want to use to search for the record.
The Finder saves You do not have to set Finder options each time you use the
all your settings
Finder. For example, if you always search for customers by the
Customer Name field, the Finder will save the Find By
Customer Name setting, so you can click the Finder button, type
the customer name, and then press Enter to display the record.
Using the
Finder
Move columns around, change the widths of columns, and hide
a column you do not want to see. You can also split the window
horizontally so that you can see different data in the two
windows at the same time, as described in Appendix B, Using a
Mouse or Keyboard.
The Columns option (in the Settings menu) lets you display any
or all fields found in the form. There is a default selection or you
can choose from a list.
The Finder respects security rights. If a user does not have rights
to view information, it will not be displayed.
Note. You can export the resulting list. Simply click the File
menu and choose Export. (For instructions on exporting, see
Chapter 12 Importing and Exporting Data.)
User Guide 43
Using criteria You can use criteria for a single record search, or you can save the
criteria until you clear it.
If you save criteria, you can define different criteria for each field
with a Finder button. (Note that the settings are saved only for a
single User ID.)
Follow the steps in the next section, Setting Up Criteria for Selecting
Records to learn how to set criteria.
Note that if you set criteria in the Finder, the records that appear
when you use the navigation buttons (First, Last, Next, Previous)
reflect the criteria set in the Finder.
The Finder saves Note, also, that if you save criteria in the Finder, and do not clear the
criteria
criteria later, the Finder will continue to display a subset of records
until you clear the criteria.
Using the
Finder
2. Choose an item from the Field list (the choices will vary
depending on the form you have open).
User Guide 45
4. Click a color with your mouse, or click in the color range section,
then click OK.
To set up criteria:
1. Open the Currency Codes dialog box, then click the Finder icon
beside the Currency Code field.
2. Click the Set Criteria button, to open the Set Criteria dialog box.
You will see a series of rows and columns (called cells), which
are labeled to the left of the table.
Set Criteria:
Currency Codes
Using the
which to apply selection criteria.
Finder
4. Click Add. The Currency Code label moves to the cell labeled
Field.
Select a symbol 6. Click the down arrow to open a list of mathematical symbols
(called relational operators), then select the one you need.
User Guide 47
Only the symbols that make sense for your data are displayed;
any that do not apply are dimmed.
Value Description
= Equal
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
!= Not equal to
LIKE For example, $
In this case, assume you want the Finder to list all currency
codes that start with the letter C or A. To enter the first value,
type C, then click OK.
Adding a second 8. To add the second alternative for the currency code,
value (Or)
double-click the Or cell (the cell below the Criteria cell).
9. Again, select LIKE from the list of symbols, then type A in the
field, and click OK.
Specifying another 10. To set up criteria for another field, choose another field from the
field (AND)
Column drop-down list (for example, Symbol) and click Add.
11. Double-click the Criteria cell under the Symbol column, select
the equals sign (=), type $ (dollar sign) in the field, and then click
OK.
This means a search for all currencies with a code that starts with
C and that use the $ symbol or all codes that start with A, and do
or do not use the $ symbol.
12. Click Save, then click OK to return to the Currency Codes dialog
box.
Using the
Finder
The Finder displays only the records selected according to the
criteria; that is, the currency code AUD, and the $ symbol.
The following explains the buttons in the Set Criteria dialog box:
Add. After selecting a field from the drop-down list beside the
Column label, click the Add button to move your selection to the
column header.
User Guide 49
Show Filter. Click the Show Filter button to display all the
criteria you have chosen.
Once you select a record from the Finder to work with, the data
entry form appears, displaying your selection. For example, the
following screen shot displays the Currency Codes form after the
code AUD had been selected in the Finder:
Setting Properties
Object menu
Using the
Finder
2. Select the Finder Criteria option, and clear the options you dont
need to restore.
3. Click OK.
All Finder criteria that were set up and saved for Currency
Codes are cleared.
Setting Properties
You can set up Sage Accpac ERP to display the Finder directly when
you choose certain items (for example, Tax Authorities, Optional
Tables, and G/L Accounts).
Setting Properties
3. To display the Finder as soon as you click the icon, select the
Start Finder First option.
1. To be able to have the same form open more than once in a work
session, select the Start Multiple Copies option in the Properties
dialog box.
If you select this option, a new form opens each time you
double-click the icon.
Chapter 5
Customizing Your Desktop
Creating a New Folder .......................................................... 51
Adding a Macro to a Folder ..................................................... 53
Adding a Report to a Folder ..................................................... 55
Adding a Non-Sage Accpac ERP Macro to a Folder ................................ 56
Copying Items to Another Folder ................................................ 59
Deleting a Folder ............................................................... 59
Changing Properties ........................................................... 510
Changing Preferences.......................................................... 511
Restoring Defaults ............................................................. 511
Your Desktop
Customizing
User Guide 5i
Chapter 5
Customizing Your Desktop
This chapter describes how to customize your company desktop by
creating new folders containing the Sage Accpac ERP programs,
macros, reports, and other DOS or Windows programs you use on a
day-to-day basis.
Adding the items you use regularly to your own folder allows you to
be more efficient. You will not be switching from one window to
another to find items.
If security is turned You can create new folders and add or copy items to them if you are
on
authorized to customize the company desktop. Ask your system
administrator for details.
Browser You cannot customize the desktop from a Web browser; however,
desktop customizations that were set up in the Sage Accpac ERP
desktop will display and run in a Web browser.
Your Desktop
Customizing
Creating a New Folder
You can create new folders to contain the applications that you use
frequently. The folder can contain program icons, macros, or reports.
You can create as many folders as you wish.
User Guide 51
New folder
Change Icon
a. Select an icon from the display, or, if you have other icon
files available, choose the Browse button in the Change Icon
dialog box to display a list of files and directories. Select a
filename from the list, click OK, then select an icon and click
OK again.
4. Select the All Users option so this new object will appear on the
Sage Accpac ERP desktops of all the users who open the
database. (Once the object has been added to the desktop, you
cannot change the All Users option.)
5. Click Finish. The new folder appears on the Sage Accpac ERP
desktop.
You can now add or copy items to the folder, as described in the
following sections.
New macro
Your Desktop
Customizing
a. Select an icon from the display, or, if you have other icon
files available, choose the Browse button in the Change Icon
dialog box to display a list of files and directories. Select a
filename from the list, click OK, then select an icon and click
OK again.
5. Select the All Users option so this new object will appear on the
Sage Accpac ERP desktops of all the users who open the
database.
Note. Once the object has been added to the desktop, you
cannot change the All Users option.
User Guide 53
7. Enter the name of the macro file, including the path and
extension, or click the Browse button to select from the default
macro directory.
9. To allow users to use this macro on the Sage Accpac ERP Web
desktop, select the option Display On Web Desktop, then enter
the URL of the Sage Accpac ERP Web desktop location, or accept
the default path.
10. Click Finish. The macro is added to the highlighted folder on the
Sage Accpac ERP desktop.
See Chapter 13, Using Macros, for more information about using
the macro feature in Sage Accpac ERP.
Enter a unique
report name
Your Desktop
Customizing
3. In the Title field, type a name for the report.
a. Select an icon from the display, or, if you have other icon
files available, choose the Browse button in the Change Icon
dialog box to display a list of files and directories. Select a
filename from the list, click OK, then select an icon and click
OK again.
5. Select the All Users option so this new object will appear on the
Sage Accpac ERP desktops of all the users who open the
User Guide 55
database. (Once the object has been added to the desktop, you
cannot change the All Users option.)
2. Choose New from the Object menu, then select Program from
the list.
Enter a unique
folder name
a. Select an icon from the display, or, if you have other icon
files available, choose the Browse button in the Change Icon
dialog box to display a list of files and directories. Select a
filename from the list, click OK, then select an icon and click
OK again.
Your Desktop
Customizing
Select this option so this new icon will appear on the Sage
Accpac ERP desktops of all the users who open the database.
(Once the icon has been added to the desktop, you cannot
change the All Users option.)
6. Click Next.
User Guide 57
Select paths
When you double-click the icon you created, the program that you
specified in the Command line opens, then the macro created for that
other program runs. For example, you could add an icon for the
GIFI.xls sample macro, then double-click it on the Sage Accpac ERP
desktop. Excel opens, and the GIFI.xls macro runs, creating a report
of GIFI codes.
Your Desktop
Customizing
Deleting a Folder
You can delete folders that you created, or copies that you made.
However, you cannot delete items installed by Sage Accpac ERP.
If a folder is not If you try to delete a folder that still contains items (for example,
empty
macros, other folders, or reports), a message warns you that the
folder is not empty. If you delete the folder anyway, the items in the
folder will be deleted also.
To delete a folder:
User Guide 59
Changing Properties
Delete 2. Press Delete from your keyboard, or choose Delete from the
Object menu.
Changing Properties
You can change the following information (called properties) for
folders and items on your company desktop:
You cannot change the All Users option in an object that you created,
whether you selected the All Users option or not.
To change properties:
2. From the Object menu, choose Properties (or click the right
mouse button once, then choose Properties from the list).
3. Make the changes you need, click Apply, then click OK to return
to the company desktop.
Changing Preferences
Start Finder First. If you select this option, the Finder opens each
time you choose the item. (See the instructions under Starting
the Finder First, in Chapter 4, Using the Finder.)
All Users. Select the All Users option so this object will appear on
the Sage Accpac ERP desktops of all the users who open the
database. (Once the object has been added to the desktop, you
cannot change the All Users option.)
Changing Preferences
The Preferences dialog box allows you to choose a print option.
Your Desktop
Customizing
Restoring Defaults
You can use the Restore Defaults command to restore program
defaults for the selected items. Select Restore Defaults from the
Object menu on the Sage Accpac ERP desktop.
Print Settings if you select this option, the printer and print
options selected for the item are cleared.
Restoring Defaults
All Other Settings if you select this option, any settings you
changed for the item are cleared. For example, if you changed
the column widths in a data entry form, the original column
widths are now displayed.
To restore defaults:
Restore defaults
3. Select the options you want restored, clear the others, and then
click OK.
Chapter 6
Editing the Company Profile
Updating the Company Profile .................................................. 61
Tips ....................................................................... 61
How to Use ................................................................ 62
Company Profile
Editing the
User Guide 6i
Chapter 6
Editing the Company Profile
This chapter describes the changes you can make to the company
profile after it has been created.
Creating the The company profile is created when Sage Accpac data files are
company profile
activated. Instructions for creating the company profile are given
under Creating the Company Profile, in Chapter 5 of the System
Manager Administrator Guide.
Tips
Company Profile
Editing the
User Guide 61
What you can For detailed information about each of the entries you can change in
change
the company profile, see Creating the Company Profile, in
Chapter 5 of the System Manager Administrator Guide.
Fields that cannot In the company profile, you cannot change the following fields:
be changed
Database ID.
Functional currency.
Changing fiscal If you change the number of fiscal periods, or the quarter with four
periods not
periods for a 13-period ledger, you will not be able to meaningfully
recommended
compare amounts between calendar years that have different fiscal
periods. Your previously printed reports will not be consistent with
future reported data.
How to Use
The Company Profile window has two tabs: Address and Options.
Address tab
Options tab
Editing Select the information to change, make changes, then click Save.
Multicurrency If the multicurrency option was selected for the company database,
you can change the default rate type, but not the functional
currency.
Euro option If the multicurrency option was not chosen when the company
database was set up, you can choose multicurrency later; and if EUR
was chosen as the functional currency, you can choose the Euro
option and a reporting currency.
Locked Fiscal You can specify whether to display a Warning, an Error message, or
Period
Nothing when entering transactions in a locked fiscal period.
Inactive G/L This option lets you specify whether to display a Warning, an Error
Account
message, or Nothing when entering a general ledger account
Company Profile
Non-existent G/L This option lets you specify whether to display a Warning, an Error
Account
message, or Nothing when entering a general ledger account
number that has not been set up in General Ledger.
User Guide 63
Chapter 7
Using the Fiscal Calendar
Setting Up the Fiscal Calendar ................................................... 71
Maintaining the Fiscal Calendar ................................................. 72
Tips ....................................................................... 72
How to Use ................................................................ 73
User Guide 7i
Chapter 7
Using the Fiscal Calendar
This chapter describes the fiscal calendar that Sage Accpac ERP
creates for your company and which you maintain. The fiscal
calendar is shared by all the data in your companys accounting
database.
Start of fiscal The starting month and current fiscal year are derived from the
calendar
fiscal year starting date that the system administrator entered
when first signing on to the company. This process is described
in Signing On to a New Company, in Chapter 5 of the System
Manager Administrator Guide.
Number of fiscal The number of fiscal periods and the quarter with four periods
periods
(if a 13-period ledger) are taken from the company profile
created by the system administrator. If a 12-period ledger was
selected, the default dates are calendar months, beginning on the
first day of the starting month. For a 13-period ledger, the
default dates are divided into four-week periods, beginning on
the first day of the starting month.
User Guide 71
Tips
Adjustment period The adjustment period is the period to which adjustments, such as
depreciation of equipment, bad debts, and income tax, can be posted
at year-end. The date of the adjustment period is always the last day
of the last fiscal period. For example, if the fiscal year ends on March
31, the adjustment period is one day in length March 31.
Closing period The closing period is the period to which revenue and expense
accounts are closed at year-end. The date of the closing period is the
same as the date of the adjustment period the last day of the last
fiscal period.
Active versus A fiscal year is Active until you change its status to Inactive. You can
Inactive
post to an active year, but not to an inactive one.
Locked versus A fiscal period is Unlocked until you change its status to Locked.
Unlocked
You can post to an unlocked period, but not to a locked one.
How to Use
The Fiscal
Calendar
1. Clear the Active box for the current fiscal year, then click Save.
Edit period lengths If you need to edit the period lengths to match the dates used by
your company, remember that the ending date for a period must
be one day earlier than the starting date for the next period in all
but the last period.
User Guide 73
Entering Currency
Information
Chapter 8
Entering Currency Information
Currency Information .......................................................... 82
Maintaining Currency Codes .................................................... 82
How to Add, Delete, or Edit Currencies....................................... 83
Maintaining Currency Rate Types ............................................... 86
Before Using ............................................................... 86
How to Use ................................................................ 86
Entering Currency Rates and Tables.............................................. 87
Before Using ............................................................... 87
Using Currency Rates ....................................................... 88
Creating Currency Tables ................................................... 89
Viewing Euro Conversion Rates ................................................ 813
User Guide 8i
Entering Currency
Information
Chapter 8
Entering Currency Information
This chapter describes the currency information you need for
multicurrency accounting.
When you create a new company database, you can select any of the
currencies provided with the System Manager as the companys
functional currency or you can define a new code if your code
isnt in the list.
If you have more than one company database using the same system
database, each company database can have a different functional
currency.
Define rate types If you are using multicurrency accounting, you must define currency
rate types and tables for all the currencies you use.
User Guide 81
Currency Information
Currency Information
Currency is a system-wide common service the currency
information is used by all company databases sharing the same
system database. Sage Accpac ERP currency information consists of:
Currency codes.
Currency rate types.
Currency rates and tables.
Euro conversion rates.
Standard currency Standard international currency codes and common currency rate
codes included
types are included with Sage Accpac ERP.
Add new currency If your company uses a currency or a rate type that was not
information
provided with the System Manager, you must add the currency code
or rate type.
Security If security is turned on for your system database, you can only
maintain, import, and export currency information if you have been
assigned to an authorized user group. Ask your system
administrator for details.
Entering Currency
Information
Maintaining Currency Codes
If you use any currencies that were not provided with the System
Manager, you need to add them before you start entering
transactions. (See How to Add, Delete, or Edit Currencies, later in
this chapter.)
Euro option If you maintain your books in the currency of a participating country
of the European Monetary Union, you must choose EUR (the
international code for euro currency) as your functional currency
code.
Reporting currency To produce reports in both euro and your national currency, you
select both the Multicurrency and euro options on the Options page
of the Company Profile, then enter your national currency in the
Reporting Currency field.
Currency Codes
Verify installed Click the Finder icon beside the Currency Code field, or press F5 to
information
display a list of all the currencies that were installed with System
Manager.
User Guide 83
To add a currency:
New Code 1. Select the New Code icon beside the Currency Code field.
Symbol not on If the currency symbol you need is not on your keyboard, choose
keyboard
Character Map from Windows Accessories, then select the
character you want to insert, or press the keystrokes shown for
the character. For example, to enter the symbol for Japanese yen
( ), hold down the Alt key and press 1, 5, then 7 on your
numeric keypad.
Negative display Note that Leading - means that the minus sign is placed before
format
the amount, and Trailing - means that the minus sign is placed
after the amount.
Entering Currency
Information
Maintaining Currency Codes
To edit a currency:
1. Select the currency to edit from the Currency Codes Finder, then
tab from field to field as you make your changes.
To delete a currency:
Before deleting a currency, make sure the currency is not being used
by another company. If you delete a currency used in your company
database, or in another company database that uses the same system
database, or if you start an application for a company database that
used the deleted currency, the company's currency information will
be damaged.
2. Select the currency you wish to delete by entering its code in the
Currency Code field, or by selecting the code using the Finder.
3. Click Delete.
5. Click Close to exit from the Currency Codes dialog box. The next
time you open Currency Codes, the currency you deleted will
not appear in the Finder list.
User Guide 85
Rate types defined Rate types convert source currencies to their functional-currency-
equivalent amounts (for example, you may use different forward
rates for the spot and the 1-month, 3-month, 6-month, and 12-month
future periods).
Before Using
Make a list of all the currency rate types you use and their
descriptions. If you use any rate types that are not included with
Sage Accpac ERP, you need to add them before you start entering
transactions. You also may need to edit information for the installed
rate types if they differ from your own.
How to Use
Currency Rate
Types
Add a rate type For each rate type you want to add, type a unique two-character
code and a description, then click Add.
Upper case type Lowercase rate type letters are automatically converted to
uppercase.
Edit a rate type Select the rate type to change, make your changes, then click the
Save button to save the changes.
Entering Currency
Information
Entering Currency Rates and Tables
Delete a rate type A warning appears when you select a rate type to delete. Make sure
the rate type you wish to delete is not used by another company. If
you delete a rate type used by another company and start an
application for that company, currency information will be
damaged.
To delete a rate type, select its code, then click the Delete button. The
next time you open the Currency Rate Types dialog box, the deleted
rate type will not appear in the Finder list.
Each company When you add a new company that uses multicurrency accounting,
selects a default
you can select any of the rate types you have defined as the
rate type
companys default rate type. If you have created multiple company
databases, each database can have a different default rate type.
Before Using
Define your currency codes and rate types, and decide on the Date
Matching and Rate Operation methods you want to use. Also, note
the following:
You cannot After entering a rate, you can change the rate and the spread,
change the rate
but not the date. If you have entered a rate with an incorrect
date
date, select the incorrect line from the display area and delete it,
then re-enter the rate with the correct date.
User Guide 87
Enter all the rates You can enter as many dates and rates as you want for each
you need
currency and each rate type. When you are entering transactions
or revaluing currencies for dates on which no rate is entered, the
rate displayed is the rate that most closely fits the date-matching
requirements used with the currency table. You can accept the
rate or type another in place of the rate you selected.
Clear rates often You can clear currency rates as often as you wish. You may
decide never to clear rates unless you are running out of disk
space or the performance of your applications has been affected.
Currency Rates
Select a currency 2. Select a currency table using the Currency Tables Finder. (To
table
create a currency table, see Creating Currency Tables.)
Currency Tables
Finder
Entering Currency
Information
Entering Currency Rates and Tables
Currency Rates
dialog box
Add a new rate 3. If necessary, change the source currency, the rate date, the rate,
and the spread.
4. Click Save.
Delete rates To delete rates, highlight the line that has the rate you want to
delete, then click the Delete button.
User Guide 89
New icon 2. Select the New icon beside the Currency Table field.
Creating currency
tables
3. Using the Finder, select the To Currency for the new currency
table. (This can be the functional currency or another currency.)
Date matching 6. Select Earlier, Exact, or Later in the Date Matching column. (The
Date Matching method determines the source-currency rate
when no rate has been entered for the date of the transaction or
revaluation.)
Earlier Earlier. The rate displayed will be the rate entered for the most
recent date before the date of a transaction. If there is no rate
entered on an earlier date, you must select from a list of all other
rates entered for the currency. Once you have selected a rate,
you can later change it. If no rates have been entered at all, the
application displays a warning message and you must enter
rates before you can enter the detail.
Entering Currency
Information
Entering Currency Rates and Tables
Exact Exact. The rate displayed will be the rate entered for the same
date as the date of a transaction. If no rate was entered on that
date, you must select from a list of all the rates entered for the
currency. Once you have selected a rate, you can change it, if
necessary.
Later Later. The rate displayed will be the rate entered for the first
date after the date of a transaction. If a later rate has not been
entered, you must select from a list of all the rates entered for the
currency. Once you have selected a rate, you can change it, if
necessary.
Rate operation 7. Select either Multiply or Divide in the Rate Operation column.
(The Rate Operation method determines how the
source-currency amount of a transaction will be converted to its
functional-currency equivalent.)
Source of rates 8. Enter the reference source from which you will obtain currency
rates, for example, New York Times.
From currency 9. To select a currency, click the Finder in the From Currency table
heading. (This is the currency of the originating entry.)
Rate date 10. Click the Calendar icon to change the date. (This is the date for
which you are entering a rate.)
If you chose Later, the rate entered on the first date after
the transaction is the rate used.
Rate 11. Double-click your cursor in the Rate column to change the rate.
(This is the rate used when converting amounts entered in the
source currency to the functional currency.)
Entering Currency
Information
Viewing Euro Conversion Rates
Spread 12. Enter a figure in the Spread field. (This is the maximum amount
that the rate entered for a transaction can differ from the rate
entered in the currency table, before a warning message
appears.)
To view a conversion rate for a currency, and to see the date when
the conversion rate was set:
The Description, Rate, and Effective Date fields will display the
information for that code.
Chapter 9
Setting Up Optional Fields
Optional Fields
Setting Up
Setting Up Optional Fields in Common Services ................................... 92
Using Optional Tables With Older Sage Accpac Applications ....................... 94
Before Adding Optional Tables .............................................. 95
Adding, Editing, and Deleting Optional Tables ................................ 96
After Adding Optional Tables ............................................... 97
User Guide 9i
Chapter 9
Setting Up Optional Fields
Optional Fields
Setting Up
This chapter describes how to create optional fields. If you have
third-party products that use optional tables or are using version 5.2
or earlier of Sage Accpac ERP products, this chapter explains how to
add optional tables to validate information entered in optional fields
in your accounting applications.
License product You must license the Transaction Analysis and Optional Field
Creator before the 30-day grace period ends or the optional fields in
your accounting programs will not be available. For example, if you
open a batch that is already posted, and the 30-day license has
expired, you won't be able to view the optional fields in the batch,
or, if you want to print a transaction listing (which shows posted
data), you will not be able to select by optional field.
Optional fields You use the Optional Fields Conversion utility to allow old optional
conversion
fields to be used in updated programs. If you have optional fields in
your previous program that you do not want converted, you must
turn them off before running the conversion utility. Please see the
Transaction Analysis and Optional Field Creator Installation Guide for
instructions.
User Guide 91
You create optional fields using the Optional Fields setup form
in Common Services.
You add the optional fields to the Optional Fields setup form in
each application, then assign them to transactions.
There are no limits to the number of optional fields you can create.
However, note that an excessive number of optional fields will slow
down your system.
3. Select a type from the drop-down list in the Type field (Text,
Amount, Number, Integer, Yes/No, Date, Time), as described
next:
Text. When you choose Text as the Type, you must also
enter a length (from 1 to 60 characters), and then enter the
text required, with a description, in the Values grid.
Optional Fields
Setting Up
Number. When you choose Number as the Type, you must
also enter a value in the Decimals field (from 0 to 9), and
then enter a value and a description in the Values grid.
Date. When you choose Date as the Type, you enter a date
in month/day/year format and a description in the Values
grid.
Time. When you choose Time as the Type, you enter the
value in an hour/minute/second format and a description in
the Values grid.
You can select the Validate option for Text, Amount, Date,
Number, Integer and Time types. It is not available for the
Yes/No type.
If you do not select the Validate option, a user can enter one
of the defined values, or enter any other value for that
optional field (including a blank).
User Guide 93
5. In the Values grid, enter the value and a description that applies
to the Type you chose. (The Values grid does not appear for the
Yes/No type.)
Note that you can enter as many values as you wish for each
type.
The value you enter depends upon the Type you chose. For
example, if you chose Time as the type, then the value field
allows you to enter the hour, minute, and second; and for an
optional Date field, you enter a date in month/day/year
format.
Note that you cannot modify the optional field type, length, and
decimal places, nor the validation option and the allow blank
option after saving.
vendor, and invoice records, so, for example, you can add a
membership ID field or specify a warranty type on an invoice.
Optional Fields
When you set up optional fields in each application, you can choose
Setting Up
to link an optional table to an optional field. If you link an optional
table to an optional field, Sage Accpac:
Validates all entries in the field. (That is, an entry in the field is
accepted only if it matches an entry in the table.)
Validate user If you want the system to validate the data that users enter in an
entries
optional field, you must create an optional table and add all the
valid data for that field to the table.
Decide which field Decide which tables will contain the valid data for the optional
links to which table
fields. You can use the same table in more than one application.
User Guide 95
2. Type a unique code for the table in the Optional Table field.
Optional table codes are the codes that are valid to enter in a
field which uses this table. The number of characters is
determined by the length of the field in the application.
Optional Fields
Press the Insert key to add each additional code.
Setting Up
Click Close to finish.
3. To delete the table, click the Delete button, then click Close.
Or
To edit the table, make your changes and then click Close.
The user can see all the valid codes for an optional field by
choosing the Finder in that field.
User Guide 97
Chapter 10
Printing
Selecting Your Print Destination ................................................ 101
Selecting Your Printer and Print Options ........................................ 104
Selecting a Printer and Print Options for a Specific Report ..................... 106
Selecting a Printer and Print Options at the Time of Printing ................... 107
Printing
Standard Reports and Business Forms ........................................... 107
Administrative Services Reports ................................................ 108
Assign UI Profiles ......................................................... 108
Customization Directories .................................................. 108
Restart Maintenance ....................................................... 108
Security Groups ........................................................... 108
UI Profile Maintenance Report .............................................. 109
User Authorizations Report ................................................ 109
Users Report .............................................................. 109
Common Services Reports ..................................................... 109
Company Profile .......................................................... 109
Fiscal Calendar ............................................................ 109
Currency Codes ..........................................................1010
Currency Rates ...........................................................1010
Currency Rate Types ......................................................1010
Euro Conversion Rates ....................................................1010
Schedules ................................................................1010
Optional Fields ...........................................................1010
Optional Fields Conversion Listing .........................................1011
Bank and Tax Reports ........................................................1011
Chapter 10
Printing
This chapter explains print destination, printer, and print options
and provides an overview of Sage Accpac ERP reports and forms.
Security When security is turned on for your database system, you can
change the print destination only when you are assigned to a user
Printing
group that has been assigned printing authorization.
Web-based For Web-based clients who click the Print button, note that the
printing
Preview screen appears first. You can print from Preview (click the
printer icon), and you can e-mail (for example, you can email A/R
statements and invoices).
Printer sends the print job to a printer that you choose either
at the time of the print job or had chosen as the default printer.
General Ledger The destination you select applies to reports and forms printed
financial
using the Print Financial Statements icon in the Financial Reporter
statements
folder of General Ledger. It does not apply to reports printed using
the G/L Statement Designer.
Preferences You can set an option to receive a message each time you print that
allows you to confirm the destination printer and the page size and
orientation. The option is set in the Preferences dialog box.
Preferences is found in the View menu.
Confirm on Print
If you do not select this option, your print jobs automatically use the
default settings.
Print settings When you select the print destination, you also specify whether you
want to use the page size and orientation (portrait or landscape) that
have been predefined for each report.
Laser printer The defaults are set up for printing to a laser printer. Most Sage
Accpac reports fit on 8" by 11" paper, although you can also choose
to print on paper of A4 size. Setup reports are generally in portrait
orientation, while transaction listings, posting journals, and analysis
reports are printed in landscape orientation.
Print Destination
dialog box
Printing
2. Select a destination from the list. An icon appears in the right
corner of the Sage Accpac desktop status bar, showing your
selection. (Double-click the icon to change the destination.)
Page setup
Standard printer
setup
Printing
7. Select a printer from drop-down list beside the Name field.
8. Click OK (you return to Page Setup, where you can also change
the print destination), then click OK again. The print setup
information is saved for the company desktop. If you then open
a folder and choose the Print command (assuming you selected
the Confirm On Print option in the Preferences dialog box), the
Print dialog box will say Using print setup for: Company
Desktop.
This print setup remains in effect until you clear the setting (and
revert to the company desktop print settings).
When you click OK, the print setup information is saved for the
item. If you then choose the Print command from the File menu
or click the Print button, the Print dialog box will display Using
print setup for: Object (itemname) (assuming you selected the
Confirm On Print option in the Preferences dialog box). This
print setup remains in effect until you clear the setting and
revert to the company desktop print settings.
4. Click OK.
Printing
3. To select another printer or change the options for this printed
item only, click the Setup button to open the Print Setup dialog
box, make your choices, then click OK.
The first line of the Print dialog box changes to Using Print
setup for: This report only. After you have printed the report,
the setup returns to its previous value.
Customized You can also create special-purpose forms or reports for your own
business, and you can customize standard forms supplied with Sage
Accpac (such as customer statements, invoices, checks, credit notes,
mailing labels, and form letters) for your own use.
Assign UI Profiles
The Assign UI Profiles report lists User ID, the Company ID, and the
Profile ID.
Customization Directories
The Customization Directories report lists user IDs, company names,
and the folder where the customized reports are saved.
Restart Maintenance
The Restart Maintenance report lists the company database ID, the
user ID, program, and filenames of incorrectly-imported records.
Security Groups
The Security Groups report lists the program ID and version, the
Group ID and description, and the resource codes that have been
assigned to all activated programs.
Printing
Users Report
This report lists user IDs, Sage Accpac user names, account type
(User or Timecard) the language preference, authentication method,
Windows domain, and Windows user name.
Company Profile
This report displays all the choices that were made when you set up
the Company Profile.
Fiscal Calendar
This report shows the fiscal year, and, if the year chosen is the active
fiscal year, the number of fiscal periods, whether adjustment and
closing periods are locked or unlocked; and lists the period start, end
and status (that is, locked or unlocked).
Currency Codes
The Currency Codes report lists currency codes, descriptions,
symbols and positions, number of decimal places, thousands
separator, decimal separator, and the negative format.
Currency Rates
This report lists functional currency, rate type, source currency, rate
date, rate, spread, date matching, and rate operator.
Schedules
This report lists schedule codes and descriptions, users who will
receive reminders, user IDs, the number of days ahead that schedule
reminders should be sent out, start and end dates of reminders, and
schedule frequency and their recurring periods.
Optional Fields
This report lists all optional fields information, including names,
descriptions, whether to validate or not, as well as the values
included in each optional field.
Printing
Chapter 11
Checking Data Integrity and
Making Backups
Checking Data Integrity ........................................................ 112
Correcting Data Integrity Errors ............................................ 113
Backing Up Data Before Fixing Errors.................................... 113
Restoring Backup Data ................................................. 114
Backing Up Data .............................................................. 115
Sample Backup Schedule ................................................... 116
Data Integrity
and Backups
Chapter 11
Checking Data Integrity and
Making Backups
This chapter gives instructions for checking the integrity of your
Sage Accpac ERP accounting data and for making backups.
Checking data integrity and backing up data are essential steps.
Data Integrity
and Backups
Security If your database system requires security access and you are not the
ADMIN user, you must be assigned to a security group that is
authorized to check data integrity.
Check integrity We recommend that you always check data integrity before backing
before backing up
up your data.
Schedule integrity If you enter a large number of transactions daily, you may want to
checking
start the data integrity check when your business closes for the day.
In that way, you avoid the problem of the integrity checker being
locked out of certain files that are in use at other workstations.
Run first without We recommend that you run the integrity check once without the
fixing errors
Fix option. If errors are reported, back up the data before running
the integrity check again to fix the errors. If the errors cannot be
fixed, then you must restore the data from backup.
Data dependency Order. Select the order in which to check the applications, if, for
example, the integrity of the data in one application depends on
the integrity of the data in another application. To change the
order of the applications to be checked, select one application at
a time and then choose the + or - button to move the application
down or up the list to the desired position.
Fix Minor Errors 2. Choose the option, Fix Minor Errors, if you want errors to be
fixed during the check.
Application 3. For each accounting application that you include, click the
Options button
Application Options button to choose or clear options to be
checked or fixed. For example, for Bank Services, you can choose
bank code ranges, and check or fix the following
Orphan Records.
Restart Recovery.
Start the check 4. To begin checking data integrity, click the Check button.
Data Integrity
and Backups
To correct data integrity errors, you must:
Back up the data that contains the errors and store the backup in
a safe place. Do not overwrite an earlier backup.
Run the integrity checker, selecting the Fix Minor Errors option.
2. Back up your site data and the data for the company that has
integrity errors.
Find your data Typically, Shared Data, company, and system data directories are
directories
subdirectories of Sage Accpac or another base directory where Sage
Accpac is installed.
If your current data is damaged and you need to restore data from
an earlier backup, you should first back up the current damaged
data (do not overwrite a previous backup). You will need to give
these damaged files to a technician if you cannot find a backup
containing accurate data.
After backing up the damaged data, delete all the files in the
directories that you are restoring data to. This will prevent any
remaining damaged files from interfering with restored files.
If you restore backup data to correct data integrity errors, you must
restore correct data to the data directories, then re-enter the
transactions that were entered after the last backup was made.
Backing Up Data
Back up the Delete all the files in the directory. Make sure you back up
directory
the directory before deleting the files.
Data Integrity
and Backups
service). Delete any restart records that exist for the company
whose data you restored.
Backing Up Data
No matter how large or small your transaction volume, making
regular backups is important. If your data ever becomes damaged,
you will need to use your backup to restore correct data.
Backing Up Data
Back up to tape, If you have a large accounting system, you should back up your data
disk, or server
to tape, to another hard disk, or, if you are on a network, to another
server. If you back up to a hard disk or server, you may want to
make a copy on tape at regular intervals, such as weekly, and store
the tape offsite. See Sample Backup Schedule, later in this section.
Schedule for Backup utilities, such as those that back up to tape, typically include
backup
a backup scheduler. For example, you may decide to back up your
companys accounting data daily (the files in your company
directory, which is a subdirectory of . . .\DATA), and then do a
complete backup of all files once a week.
If you are an experienced user, you may wish to back up only those
files which have changed. However, we do not recommend this
approach, since restoring data from these backups is more error-
prone.
Do not erase latest Do not overwrite your latest backup, in case any problem occurs
backup
during the backup procedure, or in case the data being backed up
becomes damaged.
Before you begin Before you back up your data, we recommend that you always
check the data integrity and correct any errors found.
Backing Up Data
Week 2 Daily. Reuse last weeks daily tapes. Back up Mondays data
onto the Monday tape, and so on.
Weeks 3 to 5 Repeat the daily backup and the Friday offsite backup. (Week 5
is possible when there are 5 Fridays in a month.)
Month end Back up the last day of the month onto a new tape and label it,
(for example, June 30, 2001 Month End). Store the backup offsite.
Next month Repeat the same system, starting with week 1. Reuse the Friday
offsite tapes from weeks 1 through 5 of the previous month. At
month end, back up onto a new tape and store the backup
offsite.
Year end Make two copies of the data and store the copies offsite.
Data Integrity
and Backups
Next year Repeat the same system, starting with week 1. Reuse the
monthly offsite tapes from months 1 through 12 of the previous
year.
Chapter 12
Importing and Exporting Data
Data Records ................................................................. 122
Title Records .............................................................. 122
Printing Field Names ...................................................... 122
Using Sample Data ............................................................ 122
Importing Data into Sage Accpac ERP ........................................... 123
Exporting Data From Sage Accpac ERP .......................................... 125
Exporting to an ODBC Database ............................................ 128
Importing an ODBC Database..........................................1214
Exporting in XML Format .................................................1216
Importing an XML File ................................................1217
Using Scripts ................................................................1219
Setting Criteria When Exporting Data ..........................................1220
Viewing Exported Files .......................................................1223
Viewing Data Exported to Excel............................................1223
Viewing Data Exported to a CSV File .......................................1223
Importing and
Viewing Files Exported to Access ..........................................1224
Exporting
Viewing Data Exported to XML ............................................1225
Chapter 12
Importing and Exporting Data
This chapter gives step-by-step instructions for importing data into
Sage Accpac ERP and exporting data to other programs from Sage
Accpac ERP.
File formats You can import or export data in the following file formats:
Excel 2000
Single CSV File
CSV File
Access
Excel 5.0
DBase 5.0
ODBC
XML
Importing and
You can perform the following functions:
Exporting
Save and load scripts. See Using Scripts, on page 12-19.
Note that the default entry in the Type field in Import and Export
dialog boxes will always be the most recently-used Type.
Data Records
Data Records
Files Files are collections of records, each of which consists of fields of
information and title lines.
Single-record data Some data contains only one type of record. Currency codes are an
example of single-record data in Sage Accpac ERP.
Multiple records Other data contains more than one type of record (for example,
Currency Rates has currency rates and table records).
Title Records
Definition Title records specify the names of fields in records, and appear at the
top of a file. If a file has multiple-record types, each type will have
its own title record. For example, multiple records will appear in
more than one worksheet for Excel and multiple CSV files, and in
multiple tables in Access databases. (For more information, see
Viewing Exported Files, on page 12-23.)
Experiment with the Sage Accpac ERP sample data or a copy of your
ledger before importing data to a live database, then back up your
data before importing or exporting data.
Note that importing does not erase data in the original file.
1. Open the Sage Accpac ERP form for the data you want to
import. (In our example, we opened Currency Rates.)
Import
Importing and
Exporting
Depending on the Type you select, the label of the field beneath
the Type field will change, as shown in the following table:
Type Label
Excel 2000 File
Single CSV File File
CSV File Path
Access Database
Type Label
Excel 5.0 File
dBase 5.0 Path
ODBC Connection
XML File
For instructions about importing ODBC and XML files, see the
sections, Importing an ODBC Database, and Importing an
XML File, later in this chapter.
Import message
Importing and
Exporting
See the section, Using Scripts, to create scripts that will save you
time when importing.
To export data:
1. Open the form or dialog box for the data you want to export. (In
our example, we opened the Currency Rates form.)
Export
3. Choose a Type (CSV, Excel 5.0, Excel 2000, dBase 5.0, ODBC,
XML, or Access) from the drop-down list in the Type field.
When youve chosen a file, database, etc. to export to, the Export
dialog box looks like this:
Export
Click the plus sign beside each item if there are fields that you
do not want exported, as shown next:
Importing and
Exporting
Note that the items with a star beside the checkmark are key
fields and must be exported.
To change the criteria for exported data, click the Set Criteria
button before clicking OK. For instructions about setting criteria,
see the section Setting Criteria, on page 12-20.
See the section, Using Scripts, to create scripts that will save you
time when exporting.
1. In the Sage Accpac ERP form that you wish to export data from,
click Export in the File menu.
New button
3. Click the Machine Data Source tab, then click the New button.
Importing and
Exporting
4. Select a data source type, then click Next. (For our example, we
selected User Data Source.)
5. Select a server from the list. (For our example, we selected SQL
Server.)
8. Enter a name and description for the data source, then, from the
drop-down list in the Server field, choose a server to connect to.
Importing and
Exporting
10. Click the down arrow to choose the name of your empty SQL
database (which you created in step 1) from the list.
11. Accept the other defaults, then click Next to open the following
screen:
13. Test the configuration by clicking the Test Data Source button,
then click OK to close the test screen. (Optional)
You return to the Select Data Source screen, with the new Data
Source you created displayed in the list in the Machine Data
Source tab.
Importing and
Exporting
16. Enter a Login ID and Password and click OK.
17. Click OK to begin the export. You will receive a message similar
to the following:
18. Click Close in the message. You will be returned to the Export
screen.
Please see the section, Viewing Exported Files, later in this chapter.
1. In the Sage Accpac ERP form that you wish to import data to (for
example, G/L Accounts), click Import in the File menu.
2. Select the type of import, for example, in G/L Accounts, you can
choose:
3. Click OK.
6. Click the Machine Data Source tab, then select the data source
from the displayed list.
7. Click OK.
Importing and
Exporting
8. Enter your Login ID and Password, then click OK.
You return to the Import dialog box. It now looks similar to the
following:
10. Click Close to return to the Import dialog box, then click OK to
return to the original form.
1. In the Sage Accpac ERP form that you wish to export data from,
click Export in the File menu.
2. Select XML from the drop-down list in the Type field, then click
the Browse button to choose a location.
You return to the Export dialog box, with the filename and path
appearing in the File field:
You can view files you have exported by clicking the filename in the
Windows Explorer. Please see the section Viewing Exported Files,
later in this chapter.
1. Click Import in the File menu in the Sage Accpac ERP form that
you wish to import data to.
Importing and
Exporting
The Import dialog box opens, as shown next:
2. Choose XML from the drop-down list in the Type field, then
click the Browse button to open the following dialog box:
3. Select the folder containing the file you are importing, and then
highlight the file.
4. Click Open.
Using Scripts
6. Click Close to exit the message and return to the original form.
Using Scripts
If you frequently use the same settings when importing or exporting
records, you can save time by creating a script containing these
settings.
To save a script:
2. Select a file that you often use for importing or exporting, select
an action, (for an import, you can change the values if needed).
(Do not click OK to import or export the file yet.)
Importing and
3. Click the Save Scripts button. The Open dialog box appears.
Exporting
4. Select a directory, enter a file name for the script, and then click
Open.
3. Select a script file, then click Open. You return to the dialog box,
where the values in the script appear in the grid.
To set criteria:
Set Criteria
Select a field
4. Select a field from the list. (Our example uses Table Description.)
5. Click the Add button. The label appears as the heading in the
column next to the Field label, as shown below:
6. Double-click the first cell in the same column (next to the Criteria
label).
Choose a value
7. Click the down arrow to select a value from the list. These values
include:
Value Comment
Importing and
= Equal
Exporting
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
!= Not equal to
LIKE The same as, for example, $
8. Click OK. Your choice appears in the second line. Note that our
example includes an entry in the line next to the Or label, as
shown below:
To cancel all criteria, click the Cancel button. The Set Criteria
dialog box will close.
9. Click OK in the Set Criteria dialog box to accept the criteria and
return to the Export dialog box.
10. You can now click OK in the Export dialog box to perform the
export.
Importing and
Viewing Data Exported to a CSV File
Exporting
1. Open Notepad.
Create database Note that you must create an Access database before exporting data
first
from Sage Accpac ERP.
1. Open Access and create a new database file, then close Access,
writing down the filename. (The extension will be MDB.)
A new Access
database
An Access
database with
data exported
from Sage Accpac
ERP
Importing and
Exporting
If you wish to modify the XML data file, you need to install an XML
editor utility.
Chapter 13
Using Macros
What is a Macro? .............................................................. 131
Setting Security Levels for Macros .............................................. 132
Creating Macros .............................................................. 134
Recording a Macro ........................................................ 134
Before Recording a Macro .............................................. 135
After Recording a Macro ............................................... 136
Before You Start Writing a Visual Basic Macro ................................... 136
Sage Accpac ERP Application Components .................................. 136
Macro Commands Bypass the User Interface ............................. 138
View Objects and Database Commands ...................................... 138
Composite Views ...................................................... 139
Revision Lists ......................................................... 139
View Classes .........................................................1310
Commands for Reading and Updating View Classes .........................1311
View Class: FLAT ....................................................1312
View Class: BATCH ..................................................1313
View Class: ORDERED, DETAIL, SEQUENCED ........................1314
View Class: SUPER ...................................................1315
Filter Expressions in Browse ...............................................1315
xxRPT.INI for Report Information ..........................................1318
Running a Macro .............................................................1319
Using Macros
Chapter 13
Using Macros
This chapter provides an overview of Visual Basic macros, explains
what macros can do, and gives instructions for recording and
running macros.
Browser You cannot record or edit macros when you have Sage Accpac ERP
open in a Web browser, but you can run macros from the browser.
You must record and edit them on the Sage Accpac ERP desktop.
Macro security If macro security is set to High, you can only run macros that have
been digitally signed. Note that if you edit a signed macro on a
machine that does not have the third-party digital certificate, the
macro will become unsigned.
Sample macros Included with a Sage Accpac ERP installation are sample macros
that can be used in General Ledger, Inventory Control, Order Entry,
and Purchase Orders.
What is a Macro?
A macro is a file you create that contains a series of commands and
functions to automate a process. Macros help you complete your
Using Macros
VBA macros You can create Visual Basic macros that you run from VBA-enabled
applications (that is, applications that support Visual Basic macros,
such as Microsoft Word or Excel) to access Sage Accpac ERP data.
These macros are written in the Visual Basic programming
language, and use Sage Accpac ERP objects.
For example, you could run a Visual Basic macro from Microsoft
Excel to load the currency rates from the Internet to your
spreadsheet, and then update the Sage Accpac ERP currency rate
database. See Adding a Non-Sage Accpac ERP Macro to a Folder,
in Chapter 5 of this guide.
4. Click OK to leave the Security form, then click Close to exit from
Macro Options.
No certificate Note that if a macro is edited on a machine that does not have the
certificate stored, the macro will become unsigned.
Creating Macros
Creating Macros
Macros can be created using the following methods:
Recording the series of actions the macro will perform. See the
next section, Recording a Macro.
Complex macros We recommend that you always start a complex macro by making a
manual record of the tasks in it.
Visual Basic To write a Visual Basic macro, you should have a good knowledge
macros
of Visual Basic. To enable a Visual Basic macro to read and write
data through existing Sage Accpac ERP view objects, see Chapter 14,
Writing Visual Basic Macros.
Use a copy of your Remember that when you create a macro that updates your
accounting data
database, you should always work with a copy of your accounting
data or a copy of the sample data, until the macro is fully tested.
Recording a Macro
When you record macros, all application information that the macro
needs is automatically included in the appropriate order.
Tips
Creating Macros
If security is turned If security is turned on for your system, you can record macros only
on
if you are assigned to a user group which is authorized to maintain
macros. Ask your system administrator for details.
To record a macro:
1. From the Macro menu on the Sage Accpac ERP desktop, choose
Start Recording. The following dialog box opens:
Start Recording
a.
or run is displayed by default.)
Record entries for key fields in the records and for any
fields that you change and save.
5. When you have finished, click Stop Recording from the Macro
menu. The Visual Basic Project dialog box opens.
6. Edit the macro if needed, then select Close And Return To Sage
Accpac ERP from the File menu.
You should run the macro to make sure it does what you were
expecting. Before you do so, read the instructions in the section,
Running a Macro. To make changes to the macro, follow the
instructions under the section, Editing a Macro.
User interface The user interface controls the users interaction with Sage
Accpac ERP applications on the company desktop. The user
interface does not directly read or write to the database. In Sage
Accpac ERP documentation, we refer to user interfaces as forms,
windows, or dialog boxes.
Views Views contain most of the accounting logic of Sage Accpac ERP
applications. Views are DLLs (dynamic-link libraries) that read,
write and process data, and make the results available to user
interface programs, import or export programs, macros, and other
functions.
Views are positioned between the user interface and the database.
They isolate the user interface from database access and contain all
database procedures and updates.
Using Macros
Reports Reports bypass views and read the database directly. Reports do not
need the processing logic that views provide.
Macro commands work only with views and reports. The commands
do not go through the user interface.
If you write a However, if you are writing a macro, it is up to you to supply the
macro
view objects and database commands. You need to know that
different types of view objects perform different tasks. In many
cases, they are used with different record structures and
consequently, use different sets of macro commands to perform
database updates.
U.I. Info To view information about user interface controls and the views
associated with each user interface, use the U.I. Info utility. (See the
section Getting U.I. and View Information with U.I. Info, on page
13-26.)
Composite Views
GLBATCH.batch
GLBATCH.header
GLBATCH.detail
The parts of a composite view are treated the same way as other
view objects. However, as a user, you must keep in mind that the
total record is made up of more than one view, and that you must
update each view (three in the case of General Ledger batches) to
update a complete data record.
Revision Lists
You can think of a revision list as a temporary file that contains user
changes to the database before the database itself is updated. For
example, when the user adds, deletes, or edits transactions in a
batch, the program will make these changes to records in a revision
list instead of updating the database. When all editing is complete
and the final revision list is posted, the database is updated.
View Classes
Flat View. A flat view is a view that is not used with other views to
create a complete record structure. A flat view provides access to
individual, independent records. A flat view can have:
Set View. A set view is the same as a flat view except that it uses an
ordered revision list. You must call a Post function at the end of any
series of updates, deletions, or insertions to commit the changes to
the database.
Browse and Fetch calls to a header view operate only on the current
batch. Browse and Fetch calls to the detail view operate only on the
current header.
During detail editing, the macro can cancel all changes made since
the last header update because detail changes are kept in a revision
list.
Super View. This class of views carries out a procedure that does not
involve data entry or editing. Generally, these views perform one
task, such as posting, year-end processing, or integrity checking.
Use Macro Record The following tables explain the sequence of database commands or
to make sure you
objects used in different types of views. If you use Macro Record to
use the right
commands develop your macro, these commands are automatically added to
your macro when it is recorded. Using Macros
Before you perform any of these tasks, open the view object.
Using Macros
where:
condition ::= field-name relational-operator operand
Boolean-operator ::= AND | OR
Using Macros
Example of G/L In the above example, ACCTTYPE and QTYSW (the quantities
account master
switch) are fields in the General Ledger account master file. The
fields
filter selects account master records based on the contents of three
fields in the record: Account Type, Quantities Switch, and Account
Description.
The expression will select all accounts that contain the word sale
in their description; and will also select all income statement
accounts that store quantities.
Use two quotation For this reason, if you are comparing a string that includes spaces,
marks around a
you must enclose the string with spaces in a double set of quotation
string containing
spaces marks.
For example:
"ACCTTYPE = I AND (QTYSW = 1 OR
ACCTDESC LIKE ""%Cost of%"")"
Relational Operators
All relational operators work with all field types except for switches
(like QTYSW), where only the = and != operators apply.
LIKE The LIKE operator is similar to the = operator, except the second
operand can contain the wildcards % and _.
[ASORGLIST]
heading=6007
crystal=asorgs
type=datapipe
orientation=portrait
paper size=1
datapipe query="a4wodp.dll=a4wodp.dll"
datapipe path=..\
[ASSEC]
heading=6001
crystal=as2000
orientation=portrait
paper size=1
optparams=2
2=PATH SYSTEM
3=EXT FILEEXT
Running a Macro
[ASAUTH]
heading=6002
crystal=as1000
orientation=portrait
paper size=1
optparams=2
2=PATH SYSTEM
3=EXT FILEEXT
The name (heading) that will appear in the title bar of the report
window. For example, 6000 is Users.
The report entry may also specify the type, name, and path of
database interface used for the report.
Running a Macro
Work with a copy If you are creating a macro that updates your database, test the
of your data
macro first with a copy of your accounting data.
Digitally signed You can digitally sign your macros and then set a High macro
macros
Using Macros
security level so that only digitally signed macros will run. (See the
earlier section, Setting Security Levels for Macros.)
You can run a Visual Basic macro to access Sage Accpac ERP data
from a VBA-enabled application (such as Microsoft Word or Excel),
or you can run macros created in Sage Accpac ERP, to be run from a
Sage Accpac ERP application.
Running a Macro
Reference ACCPAC COM API Object 1.0. (In the Visual Basic
Editor, choose the Tools menu and then References. Select the
option ACCPAC COM API Object 1.0.)
If you are running VBA from Sage Accpac ERP, this selection
is automatic.
If you are running VBA from Sage Accpac ERP, this is done
automatically.
Steps to run a The following instructions describe how to run a macro. We have
macro
used the Euro Rounding Difference macro as a sample. (This macro
lets you specify the general ledger account to which rounding
differences will be debited or credited, and then creates adjustment
entries for the EMU currencies that had transactions with rounding
differences.)
Running a Macro
5. Click Open.
6. Perform any required steps (in our sample, we enter the general
ledger account to which the rounding differences will be debited
or credited).
2. Perform any required steps (in our sample, we enter the general
ledger account to which the rounding differences will be debited
or credited).
Running a Macro
Microsoft Windows If your macro fails to download to your computer when running
2003 note
Sage Accpac ERP on the Web, ask your Administrator if the AVB
extension has been added as a MIME type.
1. Highlight the program folder where the macro will be used. (For
example, highlight Accounts Receivable to add an icon for an
Accounts Receivable procedure.)
4. Select the All Users option to allow every user of this database to
run this macro.
5. Click Next.
6. Click Browse in the Macro File field. The folder where your Sage
Accpac ERP macros are stored will appear. Make sure that VBA
macros is chosen in the Files of Type field.
8. Click Open.
Running a Macro
9. Select the Display on Web Desktop option if you want the macro
icon to be available from the Sage Accpac ERP Web desktop.
Macro icon on
desktop
1. Highlight the program folder where the macro will be used. (For
example, highlight Accounts Receivable to add an icon for an
Accounts Receivable procedure that will be run from Excel.)
4. Select the All Users option to allow every user of this database to
run this macro.
5. Click Next.
Running a Macro
7. In the Arguments field, enter the location and the name of the
macro file. Use quotation marks around the entry (for example,
C:\Program Files\Sage Accpac\Runtime\GIFI.xls).
9. Click Finish.
An icon appears on your Sage Accpac ERP desktop for the macro.
Icon to open
macro in Excel
When you double-click the icon, the program you specified in the
Command field opens (for example, Excel), then the macro you
specified in the Arguments field runs.
Editing a Macro
Editing a Macro
You may want to enhance your macros functionality. You can do
this by selecting Macro/Edit in the Sage Accpac ERP desktop.
Edit a macro as you would a Visual Basic program. For example, you
can add forms on which you insert standard controls, such as
buttons or edit boxes, or add ActiveX controls, such as a UI object.
To edit a macro:
Online information While using the Visual Basic Editor, you can retrieve online
about Sage
information about the Sage Accpac ERP objects used in Visual
Using Macros
Accpac objects
Basic macros, as outlined next:
For full instructions on using the Visual Basic Editor, refer to your
Visual Basic Editor manual.
You will need the ID for the user interface for which you want
information. To get an ID, go to Object/Properties.
We will take the following steps to get the ID for the Banks UI:
1. Right-click the Banks icon on the Sage Accpac ERP desktop, and
choose Properties.
Banks ID
2. Record the ID number (you need it for the U.I Info utility), then
click Cancel to exit the Banks Properties dialog box.
1. To start the U.I. Info utility, choose U.I. Info from the Sage
Accpac Tools menu in the Windows Start list.
For our example, we will open the BK folder in the right pane,
then look for BK1001 in the folder list (the ID we found in the
previous steps).
Using Macros
When you choose Get Info, the columns fill with data, as shown
below:
Using Macros
Chapter 14
Writing Visual Basic Macros
Digitally Signing Macros ....................................................... 141
What is the Sage Accpac Object Model? ......................................... 143
Using Sage Accpac Objects ..................................................... 144
The Object Hierarchy ...................................................... 144
Using the Objects in a Program ............................................. 145
Sage Accpac Objects by Function ............................................ 146
Error Handling................................................................ 147
Terminology Used in This Chapter .............................................. 147
Examples of Visual Basic Macros that Use Sage Accpac Objects .................... 148
The Sage Accpac Objects ......................................................1414
AccpacApplication ...........................................................1415
AccpacCompany .............................................................1416
AccpacCurrency .............................................................1419
AccpacCurrencyRate .........................................................1421
AccpacCurrencyTable ........................................................1422
AccpacDBLink ...............................................................1424
AccpacFiscalCalendar ........................................................1431
AccpacMultiuser .............................................................1437
AccpacOrganization ..........................................................1443
AccpacPrintSetup ............................................................1444
AccpacProperty ..............................................................1445
AccpacReport ................................................................1448
AccpacSession ...............................................................1454
AccpacView .................................................................1483
AccpacViewField.............................................................1496
AccpacViewKey............................................................ 14101
Writing VBA
Macros
Chapter 14
Writing Visual Basic Macros
This chapter introduces you to the Sage Accpac object model that
you can use when writing Visual Basic macros that access Sage
Accpac ERP databases. Visual Basic macros can be run in Sage
Accpac ERP or from other VBA-enabled applications (that is,
applications such as Microsoft Office that support Visual Basic).
You should also have read Before You Start Writing a Visual Basic
Macro, in Chapter 13 for background information on topics such as
views and filters.
Macro security You can digitally sign Sage Accpac macros. See the next section for
information.
1. Get your certificate from the third party provider (for example,
Verisign or Thawte).
7. In the Visual Basic for Applications Editor, select Tools from the
menu bar, then select the Digital Signature command.
9. After signing your macro, save it, exit and then re-edit to verify
that the signature is still there.
Set security level You can set security levels for your macros. To run only those that
have been digitally signed, set the level to High. See Chapter 4,
Setting Up Databases in the System Manager Administrator Guide
for instructions on setting security levels.
No certificate Note that if a macro is edited on a machine which does not have the
certificate stored, the macro will become unsigned.
Embedded UI If your macro contains an embedded Sage Accpac UI, see the Sage
Accpac SDK Programming Guide for instructions on digitally signing
your Sage Accpac UI control.
Open the UI before The embedded UI has to be downloaded on the Sage Accpac
running a macro in
Web desktop before you run the macro. For example, if you
which it has been
embedded have a macro that is designed to import customers, you must
first open the Customers UI and only then run the macro. If a UI
has not been downloaded, the macro cannot run.
search for all *.exd files and delete them, as the files are recreated
the next time a macro is run.)
Because the Sage Accpac Object Model was designed especially for
use with Visual Basic, this chapter focuses on how to use the objects
in Visual Basic programs only.
Objects Collections
AccpacView AccpacActiveApp
AccpacApplication AccpacErrors
AccpacCompany AccpacOrganizations
AccpacCurrency AccpacViewCompositeNames
AccpacCurrencyRate AccpacViewFieldPresentsStrings
AccpacCurrencyTable AccpacViewFields
AccpacDBLink AccpacViewKeys
AccpacFiscalCalendar
AccpacMultiuser
AccpacOrganization
AccpacPrintSetup
AccpacProperty
AccpacReport
AccpacSession
AccpacViewField
AccpacViewKey
Where:
Error Handling
Error Handling
You should include the On Error statement in the Visual Basic
program. The On Error statement evaluates the error codes, and
performs the error routine that you specify in the Visual Basic
program.
You can use the AccpacErrors collection object in the error routine to
further evaluate errors. For an example of error handling, see the
section Examples of Visual Basic Macros that Use Sage Accpac
Objects, later in this chapter.
Properties. Values that you can set and send to an object, or values
that you can retrieve from an object. Properties may also return
objects. For example, the Errors property of the AccpacSession object
returns the AccpacErrors object.
Constant. The name you assign to a value that does not change
during program execution.
The macro defines and creates the AccpacReport object, and uses it
to print the report, using the following settings:
Example 2 The following macro adds the currency code NZD to the Sage
Accpac ERP database:
Sub MainSub()
Sage Accpac Macro file: D:\a4w\MACROS\curnzd.avb
Recorded at: Wed Oct 09 09:16:28 2010
CSCURCODES1Fields("CURID").Value = "NZD"
Currency Code
CSCURCODES1Fields("CURNAME").PutWithoutVerification "New
Zealand Dollar" Description
CSCURCODES1Fields("SYMBOL").PutWithoutVerification "$"
Symbol
CSCURCODES1Fields("DECIMALS").PutWithoutVerification "2"
Decimal Places
CSCURCODES1Fields("NEGDISP").PutWithoutVerification "3"
Negative Display
CSCURCODES1.Insert
Exit Sub
ACCPACErrorHandler:
Dim lCount As Long
Dim lIndex As Long
If lCount = 0 Then
MsgBox Err.Description
Else
For lIndex = 0 To lCount - 1
MsgBox Errors.Item(lIndex)
Next
Errors.Clear
End If
Resume Next
End If
End Sub
Calls the AccpacView object, opens the view CS0003 using the
mDBLinkSysRW AccpacDBLink object, and assigns the
AccpacView object to CSCURCODES1.
Writing VBA
Macros
1. From the Macro menu on the Sage Accpac desktop, click Run.
2. Choose VBA Macro from the Files of Type field (if this is not the
default).
As the spreadsheet with the latest rates loads into Excel, you will
see a message on the Excel status bar that the macro is retrieving
currency rates, and when retrieval is finished, another message
shows that a currency rate report is being printed (to Print
Preview).
The updated rates are now ready for use by Sage Accpac
applications.
glFinder.ViewID = "GL0001"
glFinder.Session = AccpacCS3100UICtrl1.UISession
glFinder.ReturnFieldIDs = Array(3)
AccpacCS3100UICtrl1.UIAppControls("fecCSCCD_Curname").Va
lue = glFinder.ReturnFieldValues
End Sub
Private Sub dscurr_OnRecordChanged(ByVal eReason As
tagEventReason, ByVal pField As
AccpacDataSrc.IAccpacDSField, ByVal pMultipleFields As
AccpacDataSrc.IAccpacDSFields)
If eReason = RSN_INIT Then
AccpacCS3100UICtrl1.UIAppControls("fecCSCCD_Curname").Va
lue = "New Default Value"
End If
End Sub
Writing VBA
Macros
AccpacCS3100UICtrl1.UIAppControls("fecCSCCD_Curname").Se
tFocus
pStatus = STATUS_CANCEL
End If
End If
End If
End Sub
How to read The following points explain how this chapter organizes each object
object descriptions
description:
AccpacApplication
AccpacApplication
(All properties are read-only) Provides details about an activated
application for a company. This object cannot be created directly by
an application, but must be obtained from an AccpacActiveApp
collection.
AccpacApplication Properties
DataLevel. The applications data level. An applications data level
must be incremented whenever a new version of an application
requires that its data be converted. The data level may be the same
for different versions of an application if the version change did not
require data conversion.
Writing VBA
Macros
AccpacCompany
AccpacCompany
(All properties are read-only) Provides company profile information for
the company you specified when you opened a session (see the
Open method of the AccpacSession object). This object is obtained
from the GetCompany method of an AccpacDBLink object and
provides information about the company to which the database link
is connected.
AccpacCompany
AccpacCompany Properties
For more details on the following properties, see the section
Creating the Company Profile, in Chapter 5 of the System Manager
Administrator Guide. These properties are set in the Company Profile
UI (in Common Services).
AccpacCompany
AccpacCurrency
AccpacCurrency
(All properties are read-only) Provides currency information for the
currency code that you pass to the GetCurrency method of the
AccpacSession object. For example, if you pass USD to the
GetCurrency method, the properties and methods of the
AccpacCurrency object (listed below) are for the USD currency
code.
AccpacCurrency Methods
IsBlockCombinationWith
Purpose Returns whether the current AccpacCurrency objects currency
belongs to the same currency block as the specified currency code,
on or before the specified date.
IsBlockMaster
Purpose Returns whether the current AccpacCurrency objects currency is a
block master currency on or before the given date.
Writing VBA
Macros
AccpacCurrency
IsBlockMember
Return Value Returns whether or not the currency is a member of a block currency
on or before Date.
AccpacCurrrency Properties
For more details on the following properties, see Maintaining
Currency Codes in Chapter 8 of this manual.
AccpacCurrencyRate
AccpacCurrencyRate
(All properties are read-only) Provides currency rate information as set
up in the Currency Rates UI (in Common Services). This object is
obtained from the GetCurrencyRate method of an AccpacSession
object.
AccpacCurrencyTable
AccpacCurrencyRate Properties
For more details on the following properties, see Entering Currency
Rates, in Chapter 8 of this manual.
DateMatch. Indicates the rate to use (if several rates exist for
different dates), relative to the transaction date. Returns one of the
following values:
Spread. The difference that the rate entered can vary from the rate
stored in the currency table, without generating a warning message.
AccpacCurrencyTable
(All properties are read-only) Provides information about how to use
exchange rates for the currency codes stored in the system. The
AccpacCurrencyTable object represents a currency table set up in the
AccpacCurrencyTable
AccpacCurrencyTable Properties
For more details on the following properties, see Maintaining
Currency Rates and Tables in Chapter 8 of this manual.
DateMatch. Indicates the rate to use (if several rates exist for
different dates), relative to the transaction date (that is, the date
matching method to be used with the currency table). Returns one of
the following values:
SourceOfRates. The source from which the rates are quoted, such as
a newspaper, a website, etc.
Writing VBA
Macros
AccpacDBLink
AccpacDBLink
(All properties are read-only) Represents a connection (link) to a Sage
Accpac ERP database. A database connection is created through the
OpenDBLink method of an AccpacSession object. Multiple
AccpacDBLink objects created on the same database represent
multiple connections opened to the database.
AccpacDBLink Methods
Close
Purpose Closes the database link.
Parameters None
CreateViewTables
Purpose Instructs the specified view to create the tables that it accesses on the
current database link.
AccpacDBLink
Remarks This method loads the specified view on the current database link
and calls viewCreate() to create the tables that the view needs.
DropViewTables
Purpose Instructs the specified view to drop all the tables that it accesses on
the current database connection.
Remarks This method loads the specified view and calls viewDrop() to drop
the tables that it accesses.
GetActiveApp
Parameters None
GetCompany
AccpacDBLink
Parameters None
GetFiscalCalendar
Purpose Returns an AccpacFiscalCalendar object that provides access to the
fiscal calendar of the current company.
Parameters None
GetProcessServerSetup
Return Value Returns the AccpacProcessServerSetup object for the specified view.
OpenView
Purpose Opens a view on the current database link. The view to open is
AccpacDBLink
Return Value Returns a status code of the view open operation. If the view is
opened successfully, the return value is 0.
OpenViewExt
Purpose Opens a view on the current database link, using the Process Server
settings specified in the AccpacProcessServerSetup object.
Return Value Returns a status code of the view open operation. If the view is
opened successfully, the function returns 0. If the Process Server
does not respond, the function fails with return code
VC_OPEN_FAILED_PSCONNECT.
AccpacDBLink
OpenViewInstance
Purpose Opens a view on the current database link, with the optional
arguments giving enhanced control over the views behavior.
Return Value Returns a status code of the view open operation. If the view is
successfully opened, the function returns 0.
AccpacDBLink
ParamGet
Purpose Gets the values of the specified field IDs from the first record of the
specified view.
Parameters ViewID: [in] the Roto ID for the view whose field values (for the first
record) are to be returned.
FieldIDs: [in] an array of field IDs (array of Longs).
Return Value Returns a Variant which is an array of Variants containing the values
of the requested fields in the views first record. The values are
returned in the same order as the requested field IDs as they appear
in the FieldIDs array.
Remarks Unlike the BlkGet method of the DataSource control, this method
will access the views values rather than cached values.
SecCheck
Purpose Performs a security check for the current user on the specified
security resource ID.
Return Value Returns whether or not the current user has access rights to the
specified security resource.
TransactionBegin
AccpacDBLink
Parameters pTransLevel: [out] the transaction level after the transaction begins.
Return Value Returns a status code from the database layer. If the operation was
successful, the function returns 0. If the operation failed, it returns an
error code defined in DBS.H.
TransactionCommit
Return Value Returns a status code from the database layer. If the operation was
successful, the function returns 0. If the operation failed, it returns an
error code defined in DBS.H.
TransactionGetLevel
Purpose Gets the current transaction level.
Return Value Returns a status code from the database layer. If the operation was
successful, the function returns 0. If the operation failed, it returns an
error code defined in DBS.H.
TransactionRollback
Purpose Rolls back the current transaction.
AccpacFiscalCalendar
Parameters pTransLevel: [out] the transaction level after the current transaction
is rolled back.
Return Value Returns a status code from the database layer. If the operation was
successful, the function returns 0. If the operation failed, it returns an
error code defined in DBS.H.
AccpacDBLink Properties
Flags. The read/write access mode of the database link, set when the
AccpacDBLink object is created by calling the OpenDBLink method
of an AccpacSession object.
AccpacFiscalCalendar
Provides access to the fiscal calendar set up in the Fiscal Calendar UI
(in Common Services). This object is obtained from the
GetFiscalCalendar method of an AccpacDBLink object and
represents the fiscal calendar of the company to which the database
link is connected.
AccpacFiscalCalendar Methods
DatesFromPeriod
Purpose Calculates the period start and end dates, given a period number, a
period type, a period length and a base date.
AccpacFiscalCalendar
PeriodType As tagPeriodType,
PeriodLength As Integer,
BaseDate As Date,
StartDate As Date,
EndDate As Date) As Boolean
Return Value Returns whether or not the start and end dates were successfully
determined.
Examples Bimonthly:
PeriodType = PERTYPE_MONTHLY, PeriodLength = 2
Biweekly (with Sunday = day 1):
PeriodType = PERTYPE_WEEKLY, PeriodLength = 14
DateToPeriod
Purpose Calculates the period number, given a date, a period type, a period
length and a base date.
AccpacFiscalCalendar
Return Value Returns whether or not the period number was successfully
determined.
Examples Bimonthly:
PeriodType = PERTYPE_MONTHLY, PeriodLength = 2
Biweekly (with Sunday = day 1):
PeriodType = PERTYPE_WEEKLY, PeriodLength = 14
GetFirstYear
Purpose Retrieves information on the first fiscal year set up in the companys
fiscal calendar.
Return Value Returns whether or not the first fiscal year is found in the fiscal
calendar.
GetLastYear
Purpose Retrieves information of the last fiscal year set up in the companys
fiscal calendar.
AccpacFiscalCalendar
[FiscalPeriods As Integer],
[Qtr4Period As Integer],
[Active As Boolean]) As Boolean
Return Value Returns whether or not the last fiscal year is found in the fiscal
calendar.
GetPeriod
Purpose Retrieves the fiscal year and period to which the given date belongs.
Returns whether the given date is a valid date defined in the fiscal
calendar.
Return Value Returns whether or not the specified date falls in a fiscal period
defined in the fiscal calendar.
GetPeriodDates
Purpose Retrieves the start and end dates of the given fiscal year and period.
Returns whether the given fiscal year and period are defined in the
companys fiscal calendar.
AccpacFiscalCalendar
Return Value Returns whether or not the specified fiscal year and period are
defined in the fiscal calendar.
GetQuarter
Purpose Retrieves the fiscal quarter that the given fiscal period belongs to in
the given fiscal year.
Return Value Returns whether or not the specified fiscal year and period are
defined in the fiscal calendar.
GetQuarterDates
Purpose Retrieves the start and end dates of the specified quarter in the given
fiscal year.
AccpacFiscalCalendar
Year As String,
Quarter As Integer,
[StartDate As Date],
[EndDate As Date]) As Boolean
Return Value Returns whether or not the specified fiscal year and quarter are
defined in the fiscal calendar.
GetYear
Purpose Retrieves information about the given fiscal year.
Return Value Returns whether or not the specified fiscal year is defined in the
fiscal calendar.
GetYearDates
Purpose Retrieves the start and end dates of the given fiscal year.
AccpacMultiuser
[StartDate As Date],
[EndDate As Date]) As Boolean
Return Value Returns whether or not the specified fiscal year is defined in the
fiscal calendar.
AccpacMultiuser
Provides facilities to control multi-user access to Sage Accpac. This
object is obtained from the GetMultiuser method of an
AccpacSession object.
LockApp
AccpacMultiuser
Call LockApp only when the applications data isnt currently locked
by a previous call to LockApp. To upgrade (from shared to
exclusive) or downgrade (from exclusive to shared) a programs
existing lock on the applications data, use RegradeApp. To unlock
the applications data, use UnlockApp.
LockOrg
Purpose Locks an organizations database shared or exclusive.
AccpacMultiuser
LockRsc
RegradeApp
AccpacMultiuser
RegradeOrg
Parameters OrgID: [in] the organization ID of the database whose lock is being
upgraded or downgraded.
Upgrade: [in] whether the programs lock on the organizations
database should be upgraded (TRUE) or downgraded (FALSE).
AccpacMultiuser
Test
Purpose Tests if the specified resource is locked, and if its locked, indicates
whether the lock is exclusive or shared. If the resource is locked,
Exclusive indicates whether the existing lock is exclusive or shared.
UnlockApp
AccpacMultiuser
UnlockOrg
Purpose Unlocks an organizations database that was locked by a previous
call to LockOrg.
UnlockRsc
Purpose Unlocks a resource that was locked by a previous call to LockRsc.
AccpacOrganization
AccpacOrganization
(All properties are read-only) Provides details of a Sage Accpac ERP
database set up in Database Setup. This object is obtained from an
AccpacOrganizations collection.
AccpacOrganization Methods
GetOrgInfo
AccpacOrganization Properties
DatabaseID. The database ID of the current organization.
AccpacPrintSetup
AccpacPrintSetup
Provides printer setup information when Sage Accpac ERP is run
from the local machine. This object is obtained from the
GetPrintSetup method of an AccpacSession object.
AccpacPrintSetup Methods
Query
Purpose Shows the local printer setup dialog.
Return Value Returns whether or not any printer setup information has changed.
Remarks If Query returns TRUE, the Save method should be called to save the
changes (for the current user).
Save
Purpose Saves the local printer setup information for the current user.
Parameters None
AccpacProperty
Remarks The Save method is usually called after Query (which shows the
printer setup dialog) returns TRUE, indicating that printer setup
information has changed.
AccpacProperty
Provides access to application properties stored in System Manager.
With an AccpacProperty object, UIs, macros, and other components
can store runtime properties in System Manager. These properties
are available in later sessions and are machine-independent.
Sage Accpac ERP properties are stored on a per-user basis and each
property is identified by the combination of:
PropClear
Parameters None
Return Value Returns 0 upon success and a non-zero error code upon failure.
Writing VBA
Macros
AccpacProperty
PropGet
Purpose Retrieves the property value based on the values set in this
AccpacProperty objects keyword, menuID and objectID. The
property value can be retrieved as a String or as an array of Bytes.
Return Value Returns 0 upon success and a non-zero error code upon failure.
PropGetEx
Purpose Retrieves the Sage Accpac ERP property corresponding to the
specified objectID, menuID and keyword (as opposed to the
AccpacProperty objects own objectID, menuID, and keyword). The
property value can be retrieved as a String or as an array of Bytes.
AccpacProperty
Return Value Returns 0 upon success and a non-zero error code upon failure.
PropPut
Purpose Saves the property value to the property file.
Return Value Returns 0 upon success and a non-zero error code upon failure.
Remarks The property value passed into this function must be a String or an
array of Bytes. The size of the property value is the length of the
string or the number of elements in the array of Bytes.
AccpacProperty Properties
AppID. The application ID of the property.
AccpacReport
AccpacReport
Provides methods to generate a Sage Accpac ERP report.
AccpacReport Methods
CompleteProcessServerSettings
Purpose Takes the AccpacProcessServerSetup object for the report and uses it
to complete the report configuration. Call this after the
AccpacProcessServerSetup object has been configured and before
printing.
AccpacReport
Parameters None
Return Value Returns 0 upon success and a non-zero error code upon failure.
Confirm
Purpose Sets up the print settings for the report and loads the saved print
settings, if any, for the current report. Optionally, based on the
ShowDialog parameter, a print settings/confirmation dialog is
displayed. This dialog allows the user to change print settings.
AccpacReport
Return Value Returns whether or not the user chose to proceed with printing the
report.
GetProcessServerSetup
Parameters None
PrinterSetup
Purpose Configures the print settings for the report according to the settings
in the supplied AccpacPrintSetup object.
AccpacReport
Remarks In most cases, a report can make use of the current users default
print settings, or change some common print settings by setting its
properties (that is, Destination, NumOfCopies).
PrintReport
Parameters None
Return Value The function returns whether or not a Web Report is generated. If
the return value is TRUE, a Web Report is generated and
applications should obtain the URL of the generated report through
the WebReportURL property and display the report accordingly. If
the return value is FALSE, the session is in-process to the caller, and
the report has been printed to the specified destination.
Remarks For reports that include parameters, make sure that SetParam calls
have been made before calling PrintReport.
ReInit
AccpacReport
Remarks Use this method to use the same report object to print multiple
instances of a report, each with different report parameters.
SaveWebReportToLocal
Return Value Returns the path to the local file (including the filename).
SetParam
AccpacReport Properties
Collate. Whether or not to collate the report..
AccpacReport
Name. (Read-only) The name of the report. The reports name is set
when the report is created by calling the ReportSelect method of an
AccpacSession object.
AccpacSession
AccpacSession
Enables you to open or close a session, and to establish database
connections. The AccpacSession object also provides information
about currency, applications, and errors that occurred during the
session.
All other objects in COM API (that is, the Sage Accpac Object Model)
are created either directly or indirectly by the AccpacSession object.
This object is the root object that is, you must create and open the
AccpacSession object before you can access any of the other Sage
Accpac objects. The following Visual Basic code illustrates how to
create and open the AccpacSession object:
Dim Session As AccpacCOMAPI.AccpacSession
Set Session = CreateObject(ACCPAC.Session)
AccpacSession Methods
CheckHomeCurrency
Purpose Checks if the home currency defined in the company profile of the
logged in company exists in the companys currency codes table.
Parameters None
Return Value Returns whether or not the home currency defined for the company
exists in the currency codes table.
AccpacSession
CheckReminders
Purpose Checks if there are active reminders for the currently logged in user.
Parameters None
Return Value Returns whether or not where are active reminders for the current
user.
CheckRestartRecs
CheckSessionDate
Purpose Checks if the session date is a valid date defined in the companys
fiscal calendar, and whether the fiscal period in which the session
date belongs is active.
Parameters DateInFiscal: [out] whether the session date is a date defined in the
fiscal calendar.
PeriodActive: [out] if DateInFiscal is TRUE, this parameter indicates
whether the fiscal period that the session date belongs to is active.
AccpacSession
CheckSessionDate2
Purpose Checks if the session date is a valid date defined in the companys
fiscal calendar, whether the fiscal period in which the session date
belongs is active and open (not locked), and whether a warning
should be displayed if the period is locked.
Parameters DateInFiscal: [out] whether the session date is a date defined in the
fiscal calendar.
PeriodActive: [out] if DateInFiscal is TRUE, this parameter indicates
whether the fiscal period that the session date belongs to is active.
PeriodOpen: [out] if DateInFiscal is TRUE, this parameter indicates
whether the fiscal period that the session date belongs to is open (not
locked).
WarnPeriodLocked: [out] if DateInFiscal is TRUE, this parameter
indicates whether a warning should be displayed if the fiscal period
that the session date belongs to is locked (that is, if PeriodOpen is
FALSE).
Clone
Purpose Clones the current AccpacSession object. The new object has the
same authentication information as the current session object, but is
attached to a different company database ID.
Parameters CompanyID [in] the database ID of the company to which the new
session should be attached
AccpacSession
Close
Purpose Closes the session and releases all resources allocated to the session.
(This is done automatically to the implicitly created session when the
macro completes. However, you should close and destroy any
AccpacSession objects that you create explicitly.)
Parameters None
Remarks When a session is closed, the user is signed off from the company,
and all connections to the company database are closed. All objects
that are created from this AccpacSession object become invalid and
should not accessed again.
CreateObjectHandle
AccpacSession
CreateObjectHandle2
CreateProfile
AccpacSession
GetAccpacMeter
Remarks The AccpacMeter object is a member of the COM API library. In the
Object Browser, this object is hidden.
GetAccpacProperty
Parameters None
Return Value Returns an AccpacProperty object that stores properties for the
current user.
GetAppDependenciesForLanguage
AccpacSession
PgmName As String,
AppVersion As String,
Language As String,
CodebaseType As tagDistFileType,
CLSIDs() As String,
Codebases() As String)
Remarks The format of the returned items in the Codebases array depends on
the value of CodebaseType:
GetCurRateTypeDescription
Purpose Retrieves the description of the specified currency rate type code.
AccpacSession
Return Value Returns whether or not the specified currency rate type code is
found in the Currency Rate Types table.
GetCurRateTypeDescription2
GetCurrency
GetCurrencyRate
AccpacSession
GetCurrencyRateComposite
Remarks If both currencies are non-block currencies, this methods returns the
same rate as GetCurrencyRate.
GetCurrencyRateFloating
AccpacSession
SourceCurrencyCode As String,
Date As Date) As AccpacCurrencyRate
Remarks If both currencies are non-block currencies, this methods returns the
same rate as GetCurrencyRate.
GetCurrencyTable
GetDependencies
AccpacSession
Remarks The format of the returned items in the Codebases array depends on
the value of CodebaseType:
To get the dependent classes for a language other than the users
language, use GetDependenciesForLanguage instead.
GetDependenciesForLanguage
AccpacSession
Remarks The format of the returned items in the Codebases array depends on
the value of CodebaseType:
To get the dependent classes for the current users language, use
GetDependencies instead.
GetIniFileKey
AccpacSession
Return Value Returns whether or not the specified keys are found in the
application INI file. If SecondaryKey is an empty string, returns
whether or not the section is found.
GetIniFileKey2
GetInstalledReports
Return Value This method returns an array of Strings. This array contains a list of
reports available from the application.
Remarks The report files available are searched in the following locations:
GetMultiuser
Parameters None
AccpacSession
GetObjectCLSID
Purpose Retrieves the COM class ID and codebase of the specified application
object.
Return Value Returns whether or not the supplied object ID (Roto ID) is valid.
AccpacSession
GetObjectCLSID2
GetObjectKey
Purpose Retrieves the object key associated with the current session.
Parameters None
Return Value Returns the object key associated with the object handle that opened
the current session.
Remarks An object key is associated with an object handle when the calling
application calls CreateObjectHandle with the key, and obtains an
object handle. When the object handle is subsequently passed to
another application and used to initialize a session, the key is tied to
the newly opened session and can be obtained from GetObjectKey.
GetPrintSetup
AccpacSession
Remarks After obtaining the AccpacPrintSetup object, you would call its
Query method to show the printer setup dialog, then call its Save
method (if any printer settings have changed).
Only call this method if Sage Accpac ERP is running locally (that is,
IsRemote returns FALSE).
GetProfileCustomizations
Return Value Returns an array containing the names of the controls to hide in the
UI for the specified profile.
Remarks This method can only be called if the current user is ADMIN.
GetProfiles
AccpacSession
GetSignonInfo
Purpose Retrieves the signon information of the current session in one call.
GetUserCustomizations
Parameters UIKey: [in] the unique key (identifier) for the UI. This UI must be
part of the application whose AppID is associated with the current
session.
Return Value Returns an array of Strings containing the names of the controls to
hide in the UI for the current logged in user.
GetVersion
AccpacSession
Init
Parameters ObjectHandle: [in] the object handle (or , if the object handle is not
available).
AppID: [in] the two-letter application ID of the application object.
ProgramName: [in] the roto ID of the application object.
AppVersion: [in] the application version.
IsWinUserLoggedOn
Purpose Determines if the specified Windows user is the user that is currently
logged on to the session.
AccpacSession
WinUserID As String,
pVal As Boolean)
IsWinUserLoggedOn
Return Value Returns the status of the license for the supplied applcation ID and
version.
Remarks AppVersion can be passed an empty string (""), in which case the
current System Manager version will be assumed.
MacroPause
MacroRecordObject
Purpose Sets up automatic macro recording of the specified view object.
AccpacSession
Remarks An application must call this method for automatic macro recording
to take place.
Macro recording will not work for remote sessions; that is, when
IsRemote is TRUE.
Macro recording for the application will end when the passed-in
handle (hWnd) is destroyed.
MacroResume
Open
Purpose Opens a session to System Manager with the specified user ID and
password, and with the database ID of the company to connect to
(later on).
AccpacSession
Remarks The supplied user ID must be a valid user set up in Sage Accpac
ERP. If the specified company database has security turned on, the
password is validated. Otherwise, the password is ignored.
OpenDBLink
AccpacSession
OpenWin
Parameters Domain: [in] the name of the Windows domain that the user belongs
to UserIdentifier [in] uses the Windows logon id on the specified
domain as the Sage Accpac user ID Password [in] the password of
the user.
Database: [in] the company Database ID (org ID) to use for this
session.
RemoteConnect
Purpose Connects the session to a remote Sage Accpac ERP server using the
supplied authentication credentials. This method must be called
before Init.
Writing VBA
Macros
AccpacSession
Parameters ServerName: [in] the name of the Sage Accpac ERP server.
Domain: [in] the Windows domain the supplied user name belongs
to, or the servers machine name if the user is a local user on the
server.
ReportSelect
Parameters bstrReportName: [in] the name of the report. This name must be
defined in the applications report INI file.
menuID: [in] the menu ID.
ProgramID: [in] the program ID.
AccpacSession
Return Value Returns the newly created AccpacReport object, if the specified
report name is a valid report defined in the applications report INI
file.
RscGetString
Return Value Returns the resource string that matches the specified resource ID.
Returns if there is no string matching the specified resource ID.
SaveProfileCustomizations
Purpose Saves UI customization settings for the specified profile IDs on the
UI specified by UIKey.
AccpacSession
Remarks Multiple profile IDs can be specified in the array and the settings are
saved to all of those profiles. HiddenControls is an array of names of
controls to hide on the UI when customization based on any of those
profiles is applied on the UI.
This method can only be called when the current user is ADMIN.
SetLegacyReturnCode
Parameters ReturnCode: [in] the return code to pass to the other application.
TransferFiles
Parameters SourceLocation: [in] specifies whether the source file is on the client
machine or on the Sage Accpac ERP server.
SourcePath: [in] the path of the source file; the path must be local if
the file is on the client machine; otherwise, the path must be relative
to the company subdirectory on the Sage Accpac ERP server.
DestLocation: [out] returns whether to transfer the source file to the
client machine or to the Sage Accpac ERP server.
DestPath: [out] returns the path of the transferred file; the path must
be local if the file is transferred to the client machine; otherwise, the
path must be relative to the company subdirectory on the Sage
Accpac ERP server.
AccpacSession
AccpacSession Properties
AppID. (Read-only) The application ID of the session. This is the two-
letter application prefix that identifies the application module, such
as AR, OE, etc.
If the session is not remote, the codebase is a local file path to the
directory where Sage Accpac ERP is installed.
AccpacSession
HelpPath (Read-only) The local path to the Sage Accpac help files
directory. Even though the property itself is read-write, it should be
treated as read-only by UI and macro programmers.
If the session is remote, the path goes to the local directory
where the help files are downloaded and accessed. (This
directory is usually the current users Temp directory.) If the
session isnt remote, this property returns the directory where
the help files are installed.
HelpURL. (Read-only) The path or URL to the Sage Accpac help files
directory.
Unless a UI or macro has a special reason to download a help
file, it should use the HelpPath property (along with the files
name) instead of the HelpURL property to locate its apps help
file. When a UI is started, the (app-wide) help file is downloaded
automatically, so theres no need to look for a remote path.
AccpacSession
AccpacSession
The Sage Accpac ERP base directory is the directory in which the
Sage Accpac system and program files are installed (on the
server when running remotely).
The shared data directory is the parent directory (on the server,
if running remotely) of the SITE, USER, and COMPANY
directories.
AccpacView
AccpacView
Enables you to access and maintain the database through views. The
AccpacView object also provides information about a view. Each
view is a combination of a logical record (such as an account) or a
logical function and its associated action routines (such as posting).
AccpacView Methods
BlkGet
AccpacView
Example The following example reads the BANK, NAME, and MULTICUR
fields of the view BK0001 and stores them in the variable Values.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
BlkPut
Example The following example puts the array values within the variable
Values into the BANK, NAME, and MULTICUR fields of view
BK0001, without any verification.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
AccpacView
Browse
Purpose Starts a query so that the caller can scan through a stream of logical
records. The routine sets the record filtering criteria and direction for
subsequent Read and Fetch calls. The starting key is specified by the
current contents of the logical record.
Parameters Filter: [in] the filter identifier that restricts the logical records to be
selected.
Ascending: [in] whether subsequent records will be fetched in
ascending (TRUE) or descending (FALSE) order.
Example The following example uses a filter so that the program will start its
scan at the record whose bank code is equal to or greater than
SEATAC. Since Ascending is TRUE, subsequent records will be
fetched in ascending order.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
Cancel
Purpose Rolls back any pending changes to the database. Cancel calls are
used in conjunction with Post calls.
Parameters None
AccpacView
Close
Parameters None
Compose
Purpose Links a set of views so that each view within a group can access each
other without having to repeatedly open new copies of the view.
Example The following example composes the header view (CS0005) with the
detail view (CS0006).
Dim CSRATES1header As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0005", CSRATES1header
CSRATES1header.Compose Array(CSRATES1detail)
Delete
Parameters None
AccpacView
Example The following example deletes the currency code NZD from the
currency rates database table.
Dim CSCURCODES1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0003", CSCURCODES1
CSCURCODES1.Fields("CURID").Value = "NZD"
CSCURCODES1.Read
CSCURCODES1.Delete
Fetch
Purpose Retrieves the next logical record according to the direction and filter
set in the last Browse call.
Parameters None
Return Value Returns whether or not a record is retrieved. (If the end of the table is
reached, FALSE is returned. If an error occurs, the On Error
statement in VB is invoked.)
Example The following example starts scanning at the record whose bank
code is equal to or greater than SEATAC; then fetches all
subsequent records until the end of the table is reached, or an error
occurs. By specifying TRUE as the Ascending parameter in the
Browse method, records will be fetched in ascending order.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
GoBottom
Purpose Retrieves the last logical record in the view according to the direction
and filter set in the last Browse call.
AccpacView
Parameters None
Return Value Returns whether or not a record is retrieved. (If the table is empty, or
if no records match the filter set in the last Browse call, FALSE is
returned. If an error occurs, the On Error statement in VB is
invoked.)
Example The following example retrieves the last record whose bank code is
less than SEATAC. By specifying TRUE as the Ascending
parameter in the Browse method, ascending order is used to
determine the last record.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
GoNext
Purpose Retrieves the next logical record in the view according to the
direction and filter set in the last Browse call.
Parameters None
Return Value Returns whether or not a record is retrieved. (If the end of the table is
reached, FALSE is returned. If an error occurs, the On Error
statement in VB is invoked.)
Example The following example starts scanning at the record whose bank
code is equal to or greater than SEATAC; then retrieves all
subsequent records until the end of the table is reached, or an error
occurs. By specifying TRUE as the Ascending parameter in the
Browse method, ascending order is used to determine the next
record.
AccpacView
GoPrev
Purpose Retrieves the previous logical record in the view according to the
direction and filter set in the last Browse call.
Parameters None
Return Value Returns whether or not a record is retrieved. (If the beginning of the
table is reached, FALSE is returned. If an error occurs, the On Error
statement in VB is invoked.)
Example The following example starts scanning at the record whose bank
code is equal to or less than SEATAC; then retrieves all previous
records until the beginning of the table is reached, or an error occurs.
By specifying TRUE as the Ascending parameter in the Browse
method, ascending order is used to determine the previous record.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
GoTop
Purpose Retrieves the first logical record in the view according to the
direction and filter set in the last Browse call.
AccpacView
Parameters None
Return Value Returns whether or not a record is retrieved. (If the table is empty, or
if no records match the filter set in the last Browse call, FALSE is
returned. If an error occurs, the On Error statement in VB is
invoked.)
Example The following example retrieves the first record whose bank code is
greater than SEATAC. By specifying TRUE as the Ascending
parameter in the Browse method, ascending order is used to
determine the first record.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
Init
Purpose Blanks, zeroes, or defaults (depending on the field type) the contents
of each field in a view.
Parameters None
CSRATES1detail.Init
AccpacView
Insert
Purpose Creates a new record in the database from the contents of the current
logical record. The key must not currently exist in the database. The
integrity of the record is automatically checked, and, if the integrity
check fails, the record is not added. If the record already exists, or if
it is not added to the database, the On Error statement in VB is
invoked.
Parameters None
Example The following example opens the rate type view CS0004 and creates
(inserts) the rate type AV.
Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1
Dim CSRATETYPS1Fields As AccpacCOMAPI.AccpacViewFields
Set CSRATETYPS1Fields = CSRATETYPS1.Fields
CSRATETYPS1Fields("RATETYPE").Value = "AV"
CSRATETYPS1Fields("RATEDESC").PutWithoutVerification_
("Monthly average rate")
CSRATETYPS1.Insert
Post
AccpacView
Parameters None
Example For an example of how to use Post, see the macro Getrate.xls, which
is provided with Sage Accpac ERP (installed into C:\Program
Files\Sage Accpac\MACROS).
Process
Parameters None
Example The following example calls Process on the BK0105 view to indicate
that the program wants to add/modify checks and deposits, as long
as another program isnt doing the same thing at the same time.
Dim BKPROC1 As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0105", BKPROC1
Dim BKPROC1Fields As AccpacCOMAPI.AccpacViewFields
Set BKPROC1Fields = BKPROC1.Fields
BKPROC1Fields("PROCESS").PutWithoutVerification "2"
Bank Process
BKPROC1Fields("OPERATION").PutWithoutVerification "0"
Process Status
Dim rc As tagViewReturnCode
BKPROC1.Process
rc = BKPROC1.LastReturnCode
AccpacView
Read
Purpose Fetches the logical record indexed by the current contents of the
views key fields. This method ignores any filters set in Browse calls.
If there are composite views, the caller is usually responsible for
reading them in as well, although this varies by view.
Parameters None
Return Value Returns whether or not the record is retrieved. (If the record is not
found, FALSE is returned. If an error occurs, the On Error statement
in VB is invoked.)
Example The following example opens the rate type view CS0004 and
retrieves (reads) the rate type SP.
Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1
CSRATETYPS1.Fields("RATETYPE").Value = "SP"
Update
Purpose Writes the contents of the existing logical record back to the database
using the current key. If the key fields have been altered, use the
Insert method instead. If there are composite views, you must
update them as necessary.
If an error occurs (for example, because the key fields have been
altered), the On Error statement in VB is invoked.
Parameters None
AccpacView
Example The following example opens the rate type view CS0004, retrieves
(reads) the rate type SP, and changes the rate type description to
Daily spot rate before updating the rate type record.
Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1
CSRATETYPS1.Fields("RATETYPE").Value = "SP"
CSRATETYPS1.Fields("RATEDESC").PutWithoutVerification
_("Daily spot rate")
CSRATETYPS1.Update
Verify
Purpose Checks the referential integrity of the views current record. Do this
check prior to writing the record to the database, particularly if any
fields were put into the view without field-level verification.
Parameters None
Remarks Immediately after the Verify call, use the LastReturnCode property
to get the return code from the referential integrity check. A return
code of 0 indicates success, a negative return code indicates a
warning, and a positive return code indicates an error. (If an error
occurs, the On Error statement in VB is also invoked.)
AccpacView Properties
CompositeNames. (Read-only) The AccpacViewCompositeNames
collection object that contains the names of the subviews that are
composed to the view.
AccpacView
Order. The key specifier that determines the order in which the
view is accessed.
SystemAccess. The system access mode for the view. The view may
behave differently for different access modes. The system access
mode can be one of the following values:
AccpacViewField
AccpacViewField
Provides information about the field in the view and enables you to
set the fields value.
AccpacViewField
AccpacViewField Methods
GetInfo
AccpacViewField
PutWithoutVerification
Example The following example stores the value Monthly average rate in
the RATEDESC field without verifying its integrity, for the rate type
AV.
Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1
Dim CSRATETYPS1Fields As AccpacCOMAPI.AccpacViewFields
Set CSRATETYPS1Fields = CSRATETYPS1.Fields
CSRATETYPS1Fields("RATETYPE").Value = "AV"
CSRATETYPS1Fields("RATEDESC").PutWithoutVerification_
"Monthly average rate"
CSRATETYPS1.Insert
SetToMax
Purpose Sets the field to the maximum value according to the field type.
Parameters None
AccpacViewField
SetToMin
Purpose Sets the field to the minimum value according to the field type.
Parameters None
AccpacViewField Properties
Attributes. (Read-only) A bitset of status indicators and attributes of
the current state of a field. Returns one of the following values (in
hexadecimal), or a combination:
AccpacViewField
Description
Visual Basic
Value Data Type Stored in database as: Constant
1 String ASCII (blank padded) FLD_CHAR
2 String Binary (not necessarily FLD_BYTE
printable)
3 Date Decimal FLD_DATE
4 Date Decimal FLD_TIME
5 Double 8 byte IEEE long real FLD_REAL
AccpacViewKey
Description
Visual Basic
Value Data Type Stored in database as: Constant
6 Decimal BCD FLD_BCD
7 Integer 16-bit signed integer FLD_INT
8 Long 32-bit signed integer FLD_LONG
9 Boolean 16-bit signed integer FLD_BOOL
Value. The contents of the field. If you assign a new value to the
field, the value is automatically verified. If the value fails
verification, the value is not stored.
View. (Read-only) The name of the view to which the field belongs.
AccpacViewKey
Provides information about the key of a view.
AccpacViewKey Properties
Field. (Read-only) The AccpacViewField object corresponding to its
0-based index in the AccpacViewKey object (which is a collection of
key fields).
Collections
Collections
AccpacActiveApp (Collection)
(All properties are read-only) Contains a collection of
AccpacApplication objects that describe the activated applications of
a company database. This object cannot be created directly by an
application, but must be obtained from the GetActiveApp method of
an AccpacDBLink object.
AccpacActiveApp Methods
Item
Syntax activeApp.Item(Index)
Because the Item method is the default for all collections, you do not
have to specify Item.
activeApp.Item(0)
activeApp(0)
activeApp.Item(name)
activeApp(name)
Parameters Index: [in] the 0-based index of the item in the collection or the two-
letter application ID.
AccpacErrors (Collection)
AccpacActiveApp Properties
Count. The number of activated applications in the current
company database. The number of activated applications
corresponds to the number of AccpacApplication objects available
from this object.
AccpacErrors (Collection)
(All properties are read-only) Provides access to error (and information)
messages and details generated during the current session. This
object is obtained from the Errors property of an AccpacSession
object.
AccpacErrors Methods
Clear
Purpose Clears all of the errors in the collection (that is, the error stack).
Writing VBA
Macros
AccpacErrors (Collection)
Parameters None
Example The following example clears the Errors collection after the program
displays each error.
Dim Errors As AccpacErrors
Dim nCnt As Long
If nCnt = 0 Then
MsgBox Err.Description
Else
Dim idx As Long For idx = 0 To (nCnt 1)
MsgBox Errors(idx) Next idx
Errors.Clear End If
GenerateErrorFile
Purpose Generates a temporary file that stores the errors in the collection.
Parameters None
Return Value Returns the path (including filename) to the generated file.
Remarks When Sage Accpac ERP is running remotely, the temporary file is
generated on the server, and the path to that file is a DOS path that is
local to the server (as opposed to a URL).
Get
AccpacErrors (Collection)
pPriority As tagErrorPriority,
pSource As String,
pErrCode As String,
pHelpFile As String,
pHelpID As Long)
Parameters Index: [in] the 0-based index of the error message in the list.
pMsg: [out] the error message.
pPriority: [out] the error priority.
pSource: [out] the source of the error.
pErrCode: [out] the error code.
pHelpFile: [out] the help file name.
pHelpID: [out] the help context ID.
Item
Errors.Item(0)
Errors(0)
Parameters Index: [in] the 0-based index of the item in the collection.
Return Value Returns the error message at the specified index. (Use the Get
method to obtain other information about the error.)
Put
AccpacErrors (Collection)
[Source As String],
[ErrCode As String],
[HelpFile As String],
[HelpContextID As Long])
Remarks The error message could be plain text, or a string with replacement
tokens. Replacement tokens take the form %n, where n is a number
starting from 1. When replacement tokens are present in the error
message, they are replaced by the value in the corresponding
position in the Params array.
PutRscMsg
AccpacOrganizations (Collection)
AccpacErrors Properties
Count. The number of items (errors) in the collection.
AccpacOrganizations (Collection)
Provides access to details of all the Sage Accpac ERP databases set
up in Database Setup. Details of each database are exposed through
an AccpacOrganization object. The AccpacOrganizations object
exposes a collection of AccpacOrganization objects.
AccpacOrganizations (Collection)
AccpacOrganizations Methods
GetOrgsInfo
Parameters Count: [out] the total number of company and system databases
(that is, the number of items in each array).
DatabaseIDs: [out] an array of company and system database IDs.
Names: [out] an array where each item is the name of the company
(or system database) associated with the corresponding item in
DatabaseIDs.
SystemDatabaseIDs: [out] an array where each item is either the
associated system database ID, if the corresponding item in
DatabaseIDs is a company database, or , if the corresponding item
in DatabaseIDs is a system database.
Types: [out] an array where each item is the database type thats
associated with the corresponding item in DatabaseIDs. Each item in
this array is actually a constant in tagDBLinkTypeEnum.
SecEnabled: [out] an array where each item indicates whether or not
security is enabled for the corresponding item in DatabaseIDs.
Item
Purpose Retrieves an AccpacOrganization object that represents the company
specified by the organization ID.
AccpacOrganizations (Collection)
Because the Item method is the default for all collections, you do not
have to specify Item. For example, the following syntax forms are
interchangeable:
Organizations.Item(OrgID)
Organizations(OrgID)
Next
Reset
Purpose Resets and re-reads database setup information from the system. A
subsequent call to Next would retrieve the first company.
Parameters None
AccpacViewCompositeNames (Collection)
AccpacOrganizations Properties
Count. Returns the number of company and system databases in the
collection.
AccpacViewCompositeNames (Collection)
(All properties are read-only) Contains a collection of subview names.
AccpacViewCompositeNames Methods
Item
Purpose Returns the name of the subview, based on its 0-based index in the
collection.
Syntax CompositeNames.Item(Index)
Because the Item method is the default for all collections, you do not
have to specify Item. For example, the following syntax forms are
interchangeable:
CompositeNames.Item(0)
CompositeNames(0)
Parameters Index: [in] the 0-based index of the item in the collection.
Example The following example displays the first subview (BK0002) of the
Bank Account view (BK0001) in a message box:
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
MsgBox BKACCT1header.CompositeNames(0)
AccpacViewCompositeNames Properties
Count. The number of items (subview names) in the collection.
AccpacViewFieldPresentsStrings (Collection)
AccpacViewFieldPresentsStrings (Collection)
(All properties are read-only) Contains a collection of view field
presentation strings.
AccpacViewFieldPresentsStrings Methods
GetAll
AccpacViewFieldPresentsStrings (Collection)
Refresh
Purpose Refreshes the presentation strings from the view.
Parameters None
SetFieldValue
Purpose Sets the fields value to the predefined value (that is, the value
corresponding to the presentation string) according to the cookie.
Parameters Cookie: [in] the cookie used to look up the presentation string and its
associated field value.
AccpacViewFieldPresentsStrings Properties
AllPredefinedString. An array of presentation strings. This property
will put the corresponding array of cookies into ([out] parameter)
pCookies.
AccpacViewFields (Collection)
AccpacViewFields (Collection)
(All properties are read-only) Contains a collection of AccpacViewField
objects (view fields).
AccpacViewFields Methods
Item
Because the Item method is the default for all collections, you do not
have to specify Item. For example, the following syntax forms are
interchangeable:
Fields.Item(0)
Fields(0)
Fields.Item(name)
Fields(name)
Parameters Index: [in] the 0-based index of the item in the collection or the field
name.
Writing VBA
Macros
AccpacViewKeys (Collection)
Example The following example retrieves the NAME field from the Bank
Accounts fields collection:
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
AccpacViewFields Properties
Count. The number of items (view fields) in the collection.
AccpacViewKeys (Collection)
(All properties are read-only) Contains a collection of AccpacViewKey
objects.
AccpacViewKeys (Collection)
AccpacViewKeys Methods
Item
Because the Item method is the default for all collections, you do not
have to specify Item. For example, the following syntax forms are
interchangeable:
Keys.Item(0)
Keys(0)
Keys.Item(name)
Keys(name)
Parameters Index: [in] the 0-based index of the item in the collection or the key
name.
Example The following example retrieves the first key from the Bank
Accounts keys collection:
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
AccpacViewKeys Properties
Count. The number of items (view keys) in the collection.
Writing VBA
Macros
Transactions
Scheduling
Chapter 15
Scheduling Recurring Transactions
Creating Schedules ............................................................ 151
Schedule Details Window .................................................. 155
Reminder List ................................................................. 156
Processing Schedules ...................................................... 158
Transactions
Scheduling
Chapter 15
Scheduling Recurring Transactions
This chapter explains how to schedule recurring transactions, using
the Sage Accpac ERP Scheduling feature. Scheduling is a function of
Common Services.
Creating Schedules
You can create daily, weekly, semi-monthly, monthly, or yearly
schedules to process any number of recurring transactions from any
or all of your subledgers.
Schedule code To avoid confusion, give schedules unique codes and descriptions
suggestion
that reflect how they will be used, for example:
Creating Schedules
Example of a Month End. This description reflects the code, and describes the
description
schedule.
To create schedules:
Reminders section 4. In the Remind field of the Reminders section, you select Specific
User, All Users, or No Users from the drop-down list.
All Users. Select this option to allow any user who has been
given scheduling authorization to be able to process any
schedules set to this option.
Transactions
Creating Schedules
Scheduling
More than one If more than one user is working with the same company
user
database, or another user opens the database after a schedule has
been processed, the other users will not see that schedule in their
All Due Personal schedules list. (This prevents schedules from
being processed more than once in the same session.)
No Users. When you select this option, users will not see a
Reminder List for that schedule when they open the company
database. In this case, recurring transactions attached to that
schedule must be processed in the subledgers.
6. Choose a date using the calendar icon beside the Schedule Start
Date field.
Recurring Periods / 7. In the Recurring Periods and Frequency sections, choose one of
Frequency section
the following options:
Creating Schedules
8. Click the Add button to add this schedule, then repeat these
steps to create other schedules.
Transactions
Creating Schedules
Scheduling
9. Open Accounts Receivable, Accounts Payable, or General
Ledger, and attach your recurring transactions to the schedules
you have created. (To create recurring transactions, follow the
instructions in application guides.)
Schedule Details
window
Read-only fields
Reminder List
Last Run Date. Displays the date the recurring transaction was
last processed. (Do not confuse this date with the Schedule Last
Run Date field also in this window, that shows the last run date
of the schedule to which this transaction is attached.)
Next Run Date. Displays the next date that the recurring
transaction is to be processed.
Last Run Date. Displays the date the schedule was last
processed. (Do not confuse this date with the column labeled
Last Run Date, which is the date the highlighted recurring
transaction attached to this schedule was last processed.)
Reminder List
When schedules are due to be processed, the Reminder List opens.
The Reminder List includes a drop-down List field and Schedule
Code, Description, Processed, Run Date, Last Run Date, and Remind
columns, as described below:
List field. The schedule types that a user can view are
determined by their user group security rights, and include:
Transactions
Reminder List
Scheduling
All Personal Schedules: Displays all the schedules assigned
to the signed-on user. (Users do not need Maintain
Schedules security authorization to view schedules in this
category.)
Reminders. User IDs in this column identify the users who have
been assigned to process the displayed schedules.
Reminder List
Processing Schedules
The Reminder List appears if schedules set to All Users or
Specific User, are due to be processed on the session date or if the
user is being reminded of upcoming processing dates.
The Last Run Date column (for the processed schedule) in the
Reminder List is updated to the current session date.
Transactions
Reminder List
Scheduling
If Reminder type is When you set up a schedule with No Users as the reminder type,
No Users
the schedule does not appear in the Reminder List. Users must
process recurring transactions attached to such a schedule directly
from the Create Recurring Batches windows in each application.
Refer to application guides for instructions.
Appendix A
Error Messages
Error Messages
Criteria error.................................................................. A1
Damaged data ................................................................ A2
Import/export file problem ..................................................... A6
Incorrect procedure............................................................ A7
Insufficient disk space ......................................................... A8
Insufficient memory ........................................................... A9
Internal error ................................................................ A10
Invalid input ................................................................. A12
Invalid Input. Password must be at least X characters long ................... A12
Invalid Input. Password must contain both letters and digits.................. A12
Invalid input. Passwords may not be re-used ................................ A12
Invalid input. User ID has been disabled .................................... A13
Invalid input. User ID has been locked out. ................................. A13
Invalid input. User ID is not authorized to sign on at this time ................ A13
Invalid input. User password may not be changed ........................... A13
Operating system limit reached ................................................ A13
Password change is required .................................................. A14
Program file problem ......................................................... A14
System error ................................................................. A16
System file problem .......................................................... A17
System limit reached ......................................................... A18
The macro being recorded has used the available macro file space. ............ A18
Out of links............................................................... A18
Out of connections. ....................................................... A18
User Guide Ai
Appendix A
Error Messages
Error Messages
Error messages are one of the types of messages that appear in
message dialogs in Sage Accpac ERP. The other types are Warnings
and Confirmations.
Confirmations ask the user to make a choice before the program can
proceed. Confirmations contain Yes, No, Cancel, and Help buttons.
Criteria error
Problem The criteria you have defined for your macro or financial statement
contain errors or are too complex to evaluate.
Solution If the message indicates that the error is a syntax error, note the
reason for the error and edit the criteria.
User Guide A1
Damaged data
Damaged data
Problem The data contains damaged files or there are files missing.
2. Before leaving the application, check the reports and listings you
have on file for the data to determine whether they contain
complete and up-to-date information that would allow you to
reconstruct your data if you need to.
Damaged data
Error Messages
damaged the data.
3. Leave Sage Accpac ERP and back up the directories where your
Shared Data, system, and company data is stored, using your
standard procedure for backup.
User Guide A3
Damaged data
Finding your data Shared data, system, and company data directories are
directories
subdirectories of Sage Accpac ERP (or the base directory
where Sage Accpac ERP was installed).
5. Reset your computer by pressing the Ctrl, Alt, and Del keys
simultaneously, then start Database Setup and choose the Verify
button. This opens the Verify Database dialog box. Click the
Options button to log the errors to an error file. For more
information, see Verifying Databases, in Chapter 4 of the
System Manager Administrator Guide.
6. Leave Database Setup and restart Sage Accpac ERP, selecting the
company you were working with when the problem occurred.
Check the integrity of all your accounting data. For more
information, see Checking Data Integrity, in Chapter 11 of this
guide.
If no errors are reported, the problem may have been resolved. Try
the task again. If the error does not recur, go to step 7.
Damaged data
Error Messages
Guide.
9. Restore your company data from the last backup you made
before discovering that your data was damaged. See Restoring
Backup Data, in Chapter 11 of this guide.
10. Restart Sage Accpac ERP and clear any restart records that exist.
User Guide A5
Complete all steps If you were directed to follow these instructions as part of the
recovery for another error message, return to the instructions for the
other message to determine whether there are additional steps you
must take.
Solution Decide which error condition applies to your situation. Write down
each error message you receive, so that you have a complete list of
the corrections you need to make in the import or export file.
File access A message indicating that the program cannot access, find, initialize,
create, or open a file, or that the file does not exist or is not a
template, or that a file I/O error has occurred, means that the file is
not available for use.
2. Check that you have specified the correct path (drive and
directory), and filename.
3. If you are exporting, go to the system prompt and make sure the
file is not a read-only file. If it is, follow the instructions in your
operating system manual to remove the designation.
4. If you are exporting, check the available file space in the target
directory. If you do not have enough free space, delete or move
unneeded files.
Incorrect procedure
File layout or A message indicating that the file contains incorrect field or
contents
record types, or that data cannot be converted means that the file
layout is not correct, the fields are improperly defined, or the
Error Messages
wrong fields have been selected.
Be sure the import file contains all the fields required by the
importing function you are trying to use, and that the correct
file layout is being used. Check each piece of data to be sure
it is formatted and entered as required by the file format you
are using. Make sure the record type is correct. For more
information, read Chapter 12, Importing and Exporting
Data, in this guide.
If you are importing and the wrong fields are selected for
import, reselect the fields, then retry the import.
File format 7. A message indicating that the file does not have the selected
format, has too many fields or records, has an unexpected end-
of-file, or has an invalid field title means that the file format you
selected is incorrect. To correct this:
Incorrect procedure
Problem The task you are trying is not possible or cannot be done until
another step has been completed.
User Guide A7
Network users If you are on a network, this message can indicate that another user
changed or deleted the record you are using after you opened the
record. To protect data integrity, the system does not allow you to
save your changes.
Insufficient memory
Error Messages
4. Take the additional steps that may be required to repair your
data, such as restarting batches that have been partially
processed, or restoring data from backup.
Insufficient memory
Problem There is not enough free memory available for the task you are
trying to do.
Solution 1. Make a note of any information on the screen about steps you
may have to take.
If the message does not recur, you have solved the problem, and
you can continue with your work.
User Guide A9
Internal error
Internal error
2. Leave Sage Accpac ERP and Windows, then restart and try the
task again.
If the message does not recur, you likely have solved the problem
by restarting. You may want to check your hard disk for errors.
Complete step 3. If your disk does not contain errors, you can
resume normal processing and ignore the balance of these steps.
3. Check your hard disk for errors. (Refer to your operating system
manual for instructions to use CHKDSK or SCANDISK.)
Internal error
4. Reset your computer by pressing the Ctrl, Alt, and Del keys
simultaneously, then start Database Setup. Verify the entries in
the data dictionaries for your databases (both system and
Error Messages
company). Log the errors to an error file. For more information,
see Verifying Databases, in Chapter 4 of the System Manager
Administrator Guide.
5. Leave Database Setup and restart Sage Accpac ERP, selecting the
company you were working with when the problem occurred.
Check the integrity of all your accounting data. For more
information, see Checking Data Integrity, in Chapter 11 of this
guide.
If no errors are reported, the problem may have been solved. Try
the task again. If the error does not recur, you can resume
normal processing. You do not need to read any further.
6. Leave Sage Accpac ERP, and locate your copies of the CDs for
the application which has the problem.
If the message does not recur, reinstalling has solved the problem.
Check the integrity of your data. If there are no errors, you can
resume normal processing.
Invalid input
Invalid input
Problem If you are entering data, you have made an entry the program
cannot accept, or you have left a field blank where an entry is
required.
Solution Enter the correct information or correct the mistake in the import file
or macro, then retry the operation.
Error Messages
ID to the disabled designation, preventing logon. Check with your
system administrator for help.
If the message indicates that you have too many locks, edit
the SHARE parameters in AUTOEXEC.BAT.
4. Reset the computer by pressing the Ctrl, Alt, and Del keys
simultaneously, then start Sage Accpac ERP again and retry the
operation.
If the message does not recur, you have solved the problem by
changing the number of files and locks.
Network users If you are on a network, the message can also mean you do not have
access rights. Ask your system administrator whether you should
follow these instructions and whether you have the correct access
Error Messages
rights.
2. Leave Sage Accpac ERP and Windows, then restart and try the
task again.
If the message does not recur, you likely have solved the problem
by restarting. Check your data integrity for errors before
resuming. For more information, see Checking Data Integrity,
in Chapter 11 of this guide.
3. Locate your copies of the CDs for the application which has the
problem.
System error
If the message does not recur, reinstalling has solved the problem.
Check the integrity of your data. If there are no errors, you can
resume normal processing.
System error
Problem An unexpected error has occurred and the system cannot continue.
Memory may be corrupted.
Network users If you are on a network, the message can also mean that there is a
network problem. Ask your system administrator whether you
should follow these instructions and whether you have the correct
access rights.
2. Leave Sage Accpac ERP and Windows, then restart and try the
task again.
If the message does not recur, you likely have solved the problem
by restarting. You may want to check your hard drive for errors.
Complete step 3. If your disk does not contain errors, you can
resume normal processing and ignore the balance of these steps.
4. Reset the computer by pressing the Ctrl, Alt, and Del keys
simultaneously, then start Database Setup and verify the entries
in the data dictionaries for your system and company databases.
Log the errors to an error file. For more information, see
Error Messages
5. Leave Database Setup and restart Sage Accpac ERP, selecting the
company you were working with when the problem occurred.
Check the integrity of all your accounting data. For more
information, see Checking Data Integrity, in Chapter 11 of this
guide.
If no errors are reported, the problem may have been solved. Try
the task again. If the error does not recur, you can resume
normal processing.
3. Reset your computer by pressing the Ctrl, Alt, and Del keys
simultaneously, then start Sage Accpac ERP again and retry the
operation.
If the message does not recur, copying the file has likely solved the
problem and you can resume normal processing.
If the message does not recur, re-entering the database profiles has
likely solved the problem and you can resume normal
processing.
The macro being recorded has used the available macro file
space.
Problem The macro has exceeded CA-BLEs file size limit. Since you did not
select the Auto Increment option for the macro, the macro has
stopped. You can view the incomplete macro by choosing Edit from
the Macro menu and then selecting the macro name.
Solution To redo the macro, select Start Recording from the Macro menu and
enter a macro name, making sure it ends in two digits. Select the
Auto Increment option, then choose the OK button. If the macro
name is the same as the incomplete macro, choose the Yes button to
overwrite the incomplete macro.
Out of links.
Out of connections.
Solution Cancel the current operation, close all program windows that do not
need to be open, then try the task again.
If the message reappears, leave Sage Accpac ERP and Windows, and
try again.
Error Messages
If the message does not recur, you have solved the problem, and you
can continue with your work.
Appendix B
Using a Mouse or Keyboard
Using
or Keyboard
Learning
Moving Around in Data Entry Forms ........................................... B2
Basics
Working with Columns of Data ................................................. B2
a Mouse
Moving Within Columns ................................................... B2
the
Changing Columns in Data Entry Forms ..................................... B3
Rearranging the Order of Columns ...................................... B3
Hiding Columns ....................................................... B5
Changing the Size of Columns .......................................... B6
User Guide Bi
Appendix B
Using a Mouse or Keyboard
This section contains basic techniques for using Sage Accpac ERP,
and describes how to select options and work with records and
columns of data, using a mouse or a keyboard.
Using a Mouse
or Keyboard
Further For information on switching from window to window, changing
reading
the icon displays, rearranging the company desktop, and selecting
user preferences, see Chapter 3 Learning the Basics, in this guide.
Function Icon/
Key Action Button
Display online Help. Available anywhere in Sage Accpac ERP.
User Guide B1
Key Action
Insert Insert a blank row to add a new
record.
Delete Remove the selected row.
Tab or Enter; Go to the next or previous column
Shift+Tab or in a list.
Shift+Enter
or Go up or down one row.
Key Action
or Go right or left one column.
Page Up Go to the top row in view.
Page Down Go to the bottom row in view.
Home Go to the first row in a list.
End Go to the last row in a list.
Using a Mouse
or Keyboard
You can permanently or temporarily change the order in which
columns appear on many Sage Accpac ERP forms, hide a column,
then restore it, or make columns wider or narrower.
Mouse only You can change columns only with a mouse. There are no keyboard
equivalents for these commands.
You can change the order of columns to match the field order of a
document from which you are entering data.
User Guide B3
4. Release the left mouse button when the column is in the desired
location.
The columns will be in the new order the next time you open the
form.
After closing the form, you can reset the columns to the original
settings by right-clicking the icon for the form, choosing Restore
Defaults from the menu that appears, and then choosing the option,
All Other Settings. (You can also open the Restore Defaults dialog
box by choosing Restore Defaults in the Options menu on the Sage
Accpac ERP desktop menu bar.)
Hiding Columns
Using a Mouse
or Keyboard
The following shows the A/R Invoice Batch List form with the
Description column hidden.
Description
column hidden
User Guide B5
2. Drag the column to the right (to make the column wider) or to
the left (to make it narrower). The Description column below has
been widened.
3. When the column reaches the width you prefer, release the
mouse button.
Resize to minimum 4. To resize a column to its minimum size (based on the width of
size
data in the column), double-click on the vertical line dividing
columns. The column to the left will be resized.
Using a Mouse
or Keyboard
User Guide B7
Index
A
B
Access file
import/export, 121 Backing up
Accounting applications before running a macro, 1319
starting, 210 Batch view
Active date, 156 defined, 1310
ActiveApplications property BlkPut method
of accpacSession, 1484 of accpacView, 1490
Add/Save button, 155 BranchCode property
Adding a macro icon for another program, of accpacCompany, 1417
1323 Browse
Index
Adding a macro to a folder, 1320 filter expressions, 1315
Adding a non-Sage Accpac program to a browser
folder, 1320 warning messages, 25
Adding macro icons, 57, 1322
Adding Web sites to My Tasks pane, 220
address bar C
enter URL, 25
Address properties CA-BLE macros. See: Macros
of accpacCompany, 1417 Calculator
All assigned schedules, 157 using from data entry field, 35
All personal schedules, 157 City property
AND of accpacCompany, 1417
selection criteria, 1317 Collection, in Visual Basic macros
Assign UI Profiles report, 1011 defined, 148
Attributes property Collections
of accpacViewField, 1444, 1449, 14-106 accpacActiveApplications, 14108
Automated process server, 105 accpacErrors, 14110
accpacKeys, 14122
accpacViewCompositeNames, 14117
accpacViewFieldPresentationStrings,
14118
accpacViewFields, 14120
Index
Details button, 155 system limit reached, A18
digitally-signed macros, 1319 Errors property
Dirty property of accpacSession, 1485
of accpacView, 14101 EUR, 83
Download Euro conversion rates, 813
Web Session Manager, 25 viewing, 814
Due assigned schedules, 157 Euro Conversion Rates report, 1013
Due personal schedules, 156 European Monetary Union, 83
Excel 2000
import/export, 121
E Excel 5.0
import/export, 121
Editing macros, 1324 Exists property
E-mail of accpacView, 14101
as print destination, 102 Exporting
EMU, 813 steps, 126
Error handling
in Visual Basic macros, 147
Error message F
Criteria error, A1
Damaged data, A2 Fax property
import/export file problem, A6 of accpacCompany, 1417
Fields G
macro recording, 136
Fields property Get Info, 1327
of accpacKey, 14108 Getrate.xls macro, 1412
of accpacView, 14101
File
as print destination, 102
H
File formats
import/export, 121
Help tabs, 27
Filter
HomeCurrency property
defined for macros, 1315
of accpacCompany, 1417
Finder
HomeCurrencyCode property
clearing criteria, 411
of accpacCurrencyRate, 1422
narrowing data displayed, 44
Hot keys. See Function keys
selecting records, 42
setting criteria, 47
starting automatically, 412
starting first, 511 I
using criteria, 42, 44
Fiscal calendar Icon
described, 71 changing display, 32
Fiscal Calendar report, 1012 copying to another folder, 59
FiscalPeriods property selecting for new folder, 53
of accpacCompany, 1417 Import/export
Flat view Access, 121
defined, 139 CSV, 121
Folder Excel 2000, 121
copying to, 59 Excel 5.0, 121
creating, 51 Importing
customizing, 51 steps, 123
deleting, 510 Integrity check
Folder properties company data errors, 113
changing, 510 error handling, 113
FourPeriodQuarter property shared data errors, 113
of accpacCompany, 1417 system data errors, 113
Frequency, 153 Internet Explorer
Function keys, B1 Sage Accpac server URL, 25
Functional currency, 82 Item method
company, 62 of accpacKeys, 1450, 1451, 1452,
14-53, 14122
Item settings
clearing, 512
K Macros (continued)
default directory, 135
Key fields defined, 131
macro recording, 136 digitally-signed, 1319
Keyboard editing, 1324
using with Sage Accpac ERP. filter expressions, 1315
Appendix D overview, 131
Keys. See names of individual keys running, 1319
Keys property sample, 1320
of accpacView, 14101 using U.I. Info, 1326
view classes, 139
viewing objects, 1325
writing, 136
L
Methods, in Visual Basic macros
defined, 148
Last Run Date, 158
Mouse
LocationCode property
using with Sage Accpac ERP.
of accpacCompany, 1418
Appendix D
LocationType property
Multicurrency, 81
of accpacCompany, 1418
company, 62
Index
default rate types, 87
My Tasks pane
M adding items to new group, 216
adding Web sites, 220
Macro creating a group, 216
adding to folder, 53 moving and deleting groups, 218
Macro File field moving and deleting tasks, 218
in macro recording, 135 using, 216
Macro icons
adding to desktop, 1322
Macro security, 131, 132 N
high, 133
levels, 132
Name property
low, 133
of accpacCompany, 1418
medium, 133
of accpacKey, 14108
Macros. See also: CA-BLE Macros, Visual
of accpacReport, 1454
Basic Macros
of accpacViewField, 14106, 14120,
adding icons, 1322
14-121, 14122
adding icons for other programs, 1323
NegativeDisplay property
composite views, 138
of accpacCurrency, 1421
creating, 134
New folder
creating, 51
No user, 153 P
Page size
O A4 option, 104
report option, 104
Object hierarchy, 144 Paper size
Object Model, Sage Accpac ERP, 143 report option, 104
Objects Parameters, in Visual Basic macros
in Visual Basic macros, 148 defined, 148
Sage Accpac. See: Sage Accpac objects, Password
See: Sage Accpac objects changing, 223
Optional fields PgmID property
entering values, 94 of accpacApplication, 1416
modifying, 94 of accpacView, 14101, 14102
product description, 91 PgmVer property
types, 92 of accpacApplication, 1416
amount, 93 Phone property
date, 93 of accpacCompany, 1418
integer, 93 PhoneFormat property
number, 93 of accpacCompany, 1418
text, 92 PostCode property
time, 93 of accpacCompany, 1418
yes/no, 93 Precision property
validate of accpacViewField, 14107
allow blank, 94 PresentationMask property
validate option, 93 of accpacViewField, 14107
Optional tables PresentationStrings property
adding, 96 of accpacViewField, 14107
assigning security, 96 PresentationType property
deleting, 97 of accpacViewField, 14107
Optional tables in older versions of Sage Preview
Accpac ERP, 94 as print destination, 101
OR Print destination
selection criteria, 1317 E-mail, 102
Order property File, 102
of accpacView, 14101 list, 101
Ordered view Preview, 101
defined, 1310 Printer, 101
schedule, 105
Schedule, 102
Index
Program structure Relational operators
when using Sage Accpac objects, 145 selection criteria, 1317
Properties Remind field, 152
undoing customization, 512 Reminder, 151
Properties, in Visual Basic macros before run date, 153
defined, 148 Reminder List
Publishing format, 106 all assigned schedules, 157
all personal schedules, 157
due assigned schedules, 157
R due personal schedules, 156
last run date column, 157
Rate date list field, 156
entering, 812 process button, 158
Rate property process from, 158
of accpacCurrencyRate, 1422 processed column, 157
RateDate property remind column, 157
of accpacCurrencyRate, 1422 run date column, 157
RateOperator property schedule button, 157
of accpacCurrencyRate, 1422 schedule code/description, 157
of accpacCurrencyTable, 1423 Report definitions
xxRPT.INI, 1318
Index
of accpacCompany, 1418
Value property
SubviewNames property
of accpacViewField, 14108
of accpacView, 14103
Verify method
Super view
of accpacView, 14100
defined, 1310
View (accpacView) methods
Symbol property
BlkPut, 1490
of accpacCurrency, 1421
Verify, 14100
SymbolDisplay property
View classes
of accpacCurrency, 1421
defined, 139
Syntax
ViewName property
selection criteria, 1315
of accpacViewField, 14108
Views
using accpacView object, 1489
T Visual Basic macros. See also: Macros
examples, 148
Tasks pane using Sage Accpac objects, 141
Get Started, 214
Information Center, 214
using, 214
ThousandsSep property
of accpacCurrency, 1421
warning messages
Sage Accpac in browser, 25
Web
welcome screen, 27
Web desktop, 29, 211
Web Link type, 220
Web Page type, 219
Web Session Manager
download, 25
Web signon, 24
Wildcards
relational operators, 1317
Writing macros, 136