Oracle Retail MICROS Stores2 Functional Document Invoices - Sales Account Release 1.36.1 September 2015
Oracle Retail MICROS Stores2 Functional Document Invoices - Sales Account, Release 1.36.1 Copyright 2015, Oracle and/or its affiliates. All rights reserved. Primary Author: Alessio Ossola This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.
MICROS-Retail Italia Srl Con socio unico Sede Legale Via Locarno, 1 I-20900 MONZA Tel. +39.039/2364.1 Fax +39.039/2364.310 TECHNICAL DOCUMENTATION Stores2-1.36.1 - Invoices - Internal invoicing for sales account Report developed by: MICROS-Retail srl with sole shareholder Alessio Ossola Version 1.00 of 16/06/2014
Table of contents 1 Introduction... 3 2 Internal invoicing for sales account... 3 2.1 Configuration... 3 2.1.1 Operator class... 3 2.1.2 Store2.ini... 3 2.1.3 Geographic Nodes... 4 2.1.4 Payments... 5 2.1.5 Operations on the database... 5 2.2 Operation... 6 2.2.1 Generation of new internal invoices... 6 2.2.2 Reviewing an invoice... 8 2.2.3 Massive confirmation of invoices... 9 2.2.4 Invoice PDF... 9 2.2.5 Sending by e-mail... 10 Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 2 di 10
Note: The rebranding for the latest version of this documentation set is in development as part of post MICROS acquisition activities. References to former MICROS product names may exist throughout this existing documentation set. 1 Introduction This management involves the issue of invoices registered to the store by the head office, referred to products sold by the store. The invoices or credit notes (for returns) will then be sent to the store by e-mail. 2 Internal invoicing for sales account 2.1 Configuration 2.1.1 Operator class In the Authorizations for the desired operator class, for invoices, you need to set the new tools (Confirm, Print internal invoices, Send e-mail, Suspended invoice list). To Print internal invoices you need to associate a report which during the execution phase automatically saves the pdf in the folder..\fatturepdf with name Z03_000_20140525_1_F.pdf where: Z03 Code of the owner node 000 Code of the head office node 20140525 Date in YYYYMMDD format 1 Invoice number F F indicates if it is an invoice, N if it is a credit note 2.1.2 Store2.ini To send e-mails to the store it is necessary to define the e-mail server configuration parameters on Store2.ini: [EMAIL] Server=exchange2003.micros-fidelio.it Username=aossola Password=9BVBFB38FSDFBBDE4EEAB7702CBEAA33826ASDFGHJKQWERTYYUDE92950 Port=0 AddressFrom=FatturaContoVendita@Prova.it SSL=0 Basic=0 For details see the Store2.ini document. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 3 di 10
2.1.3 Geographic Nodes It is possible to set the parameters for internal invoices (sales account) in the Geographic nodes of the various nodes which will receive the invoices, Sales section, Invoice options. Margin %: Discount margin to subtract from the value of the invoice (integer value from 0 to 100). Node e-mail: E-mail of the node contact who will receive the invoice. E-mail cc addresses: E-mails to enter in CC. The e-mail address need to be separated with ;. Message text: Short text to enter in the body of the e-mail. Again in Geographic nodes, but this time head office node, Sales section, a prefix can be set for Internal invoices in the Prefix options. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 4 di 10
2.1.4 Payments It is possible to specify the payment types to be used in managing internal invoices in the Master data Customer section. Using the Invoice default and Credit note default flags it will be possible to define what types of payments to use as default for invoices and credit notes. 2.1.5 Operations on the database It is necessary to manually perform a few operations on the database to create the new list to be used on the head office. The queries to use are shown below: Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 5 di 10
-- Creo i record nella tabella Elenchi INSERT INTO Elenchi (Elenco, ColonneFiltri, Descrizione, Tipo) SELECT 7, 3, 'Elenco fatture interne', 1 -- Creo i record nella tabella ElenchiFiltriColonne INSERT INTO ElenchiFiltriColonne (Elenco, Colonna, Percentuale, PercentualeLabel, Tipo) SELECT 7, 1, 50, 30, 1 INSERT INTO ElenchiFiltriColonne (Elenco, Colonna, Percentuale, PercentualeLabel, Tipo) SELECT 7, 2, 25, 30, 1 INSERT INTO ElenchiFiltriColonne (Elenco, Colonna, Percentuale, PercentualeLabel, Tipo) SELECT 7, 3, 25, 30, 1 -- Creo i record nella tabella ElenchiFiltriCampi INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 6, 0, 1, 1, 'Tipo fattura', 1 INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 5, 0, 1, 3, 'Nodo', 1 INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 3, 0, 1, 6, 'Data', 1 INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 7, 0, 1, 9, 'Nodo intestatario', 1 INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 4, 0, 2, 1, 'Stati', 1 INSERT INTO ElenchiFiltriCampi (Elenco, Filtro, Nascondi, Colonna, Sequenza, Descrizione, Tipo) SELECT 7, 8, 0, 3, 2, 'Stati ex', 1 -- Creo i record nella tabella ElenchiColonne INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 1, 1, 0, 4, 2, 1, 'Nodo', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 2, 2, 0, 4, 2, 2, 'Anno', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 3, 3, 0, 4, 2, 3, 'Tipo', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 4, 4, 0, 6, 3, 4, 'Numero', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 5, 5, 0, 10, 2, 5, 'Data', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 6, 6, 0, 15, 1, 6, 'Cliente', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 7, 7, 0, 4, 1, 7, 'Valuta', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 8, 8, 0, 7, 3, 8, 'Importo', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 9, 9, 0, 4, 2, 9, 'Trasmesso', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 10, 10, 0, 4, 2, 10, 'Annullato', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 11, 11, 0, 4, 2, 11, 'Sospeso', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 12, 12, 0, 5, 2, 12, 'Stampato', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 13, 13, 0, 4, 2, 13, 'Inviato', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 15, 14, 0, 16, 1, 15, 'Nodo Intestatario', 1 INSERT INTO ElenchiColonne (Elenco, Colonna, Sequenza, Nascondi, Percentuale, Allineamento, Ordinamento, Descrizione, Tipo) SELECT 7, 16, 15, 0, 8, 2, 16, 'Nota credito', 1 Once this is done the new list type will be visible. For stores the Type combo box will be set at 0 Customer while for the head office it will also be possible to select the option 1 Sales account. Filters and columns will be uploaded based on the selection made. 2.2 Operation 2.2.1 Generation of new internal invoices From the list of invoices it will be possible to access generation of a new internal invoice. A page will be displayed for this purpose for indicating some information: Owner node of the invoicing. Date of the invoice and date range for collecting the receipts. Payment types for the invoice and possible credit note. The selectable types will be those indicated in the payment type master data. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 6 di 10
Any notes. The function will select all of the receipts from the last invoicing and those registered up to the day before this processing (the user can always intervene and change this date). The user will only have to select a start date for the first invoice. This way it will be possible to establish the start invoicing date. The lines can be displayed in the review function and it will not be possible to make any changes. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 7 di 10
The product details and receipt key will be stored in a new table: FattureRighe. The invoice number will be proposed by the program, but the user can indicate a higher one which will become the basis for searching for the next number for the year in progress. The value of the invoice will be determined by adding the price list price at the time of the sale of the products, and subtracting the margin percentage indicated on the form of the invoice owner node. The price will be rounded to the decimals of the currency set on the node performing the transaction. The invoices will include the information of the goods sold to the customer, while for customer returns a credit note will be produced with the same logic as for the invoice and maintaining common numbering. The invoice will show a suspended flag which can be removed during the invoice review/confirmation phase. 2.2.2 Reviewing an invoice With the Property tool it will be possible to access review of an invoice. In this phase it will be possible to remove the suspended flag, assign another heading discount, change the payment type and change or enter new notes. The discount will be broken down on the lines, directly calculating the net to show on the report, while the original price will continue to be displayed on the lines. The lines will only be for information purposes and they cannot be edited/deleted. A summary will be displayed with the net value resulting from the selected discounts (store margin + heading discount). It will be possible for the user to create a PDF and send it directly by e-mail during the confirmation phase with a message. Already confirmed invoices cannot be reviewed. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 8 di 10
2.2.3 Massive confirmation of invoices Using the Suspended invoice list tool which can always be called from the invoice list, it will be possible to confirm, confirm and print or confirm, print and send more than one invoice together. For each selected invoice or credit note, you can create a PDF and send it directly by e-mail, just like with the standard confirmation. 2.2.4 Invoice PDF The internal invoice print tool will be associated to a report configured for generating a local PDF file. The name will be given by chaining the owner node, node, date (in YYYYMMDD format), number and type ( F for invoices and N for credit notes). Example: 001_000_20140410_1_F.pdf for invoices. 001_000_20140410_2_N.pdf for credit notes. A new data source will be set up for the production of the report and the report will be created for the production of the file. The following fields will be entered on the invoice: Intestatario, refers to the node and connected invoicing code. Pagamento, selected at the time of creation. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 9 di 10
Banca di appoggio, fixed information indicated on the report. Changes can be made directly on the layout. Indication of the invoice number and date Indication of the sales reference period Dettaglio, the items will be grouped by product code/color/product description/price. Example: AAA Black Pants 19.00 BBB White Sweater 13.50 BBB White Sweater 17.50 CCC Yellow T-shirt 7.90 Totali, summary of the invoice total, taxable total and VAT total. The same characteristics as the invoice are valid for the credit note, in addition the reference to the invoice created for the sale will be given. The layout of the invoice will be developed based on the pdf files you sent us as an example and which are attached to the document. 2.2.5 Sending by e-mail After the production of the report in PDF, a function will be called for sending the file by e-mail. It will also be possible to force just sending of the invoice by e-mail for printed invoices. Stores2-1.36.1 - Invoices - Internal invoicing for sales account Pagina 10 di 10