26.08.2011, 21:13 | #1 |
Участник
|
emeadaxsupport: Retail: How to access multiple POS from one machine
Источник: http://blogs.msdn.com/b/emeadaxsuppo...e-machine.aspx
============== Topic: The description in the POS Technical Reference.pdf describes how to adjust the configuration file (original text further down on the page). In addition to the original description, I want to provide the example file and what you will see at the POS when you start it. Example File POS.EXE.CONFIG Result: It is now possible to connect to a different configuration / POS database POS Technical Reference.pdf Controlling startup Starting Microsoft Dynamics AX for Retail POS can be controlled by the config file and startup parameters. The config file The config file is an XML file whose file name is POS.exe.config. It is located in the same directory as the EXE file. The config file is constructed as follows: As shown above, the config file can have one or more sections specified within the configSection tag. Each section must have its own tag and can have the following parameters: LocalConnectionString Tells Retail POS about the connection string. A typical connection string is shown in the example config file above. LocalUserName Stores an encrypted user name that connects to the database if integrated security is set to false in the connection string. An unencrypted name can also be put directly into LocalConnectionString. LocalPassword Stores an encrypted password for the person who connects to the database; if integrated, security is set to false in the connection string. An unencrypted password can also be put directly into LocalConnectionString. RemoteConnectionString, RemoteUserName, and RemotePassword Not used by Retail POS. Retail POS Technical Reference Controlling startup 2 StoreId The ID of the store. Because a number of settings are store-related, changing the store ID can result in an error if related store data is missing. TerminalId The ID of the POS register. When Retail POS starts, the terminalID of the config file must match an entry found in the RBOTerminalTable. Otherwise, an error occurs. DataAreaId This parameter equals the field DATAAREAID found in most of the tables in the database. This field makes it possible to start Retail POS with different data, depending on the dataareaid. DatabasePhysicalFilePath When Retail POS starts and no database is found, a database is created. If you must create the database using a path other than the default path, you can specify it in the parameter DatabasePhysicalFilePath. UseLocalSqlExpress If this is set to true, Retail POS does not install Microsoft SQL Server Express. Author: Kim Reviewer: Kim Date 26. August Источник: http://blogs.msdn.com/b/emeadaxsuppo...e-machine.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|