Barista Document Output Object

Similar documents
Specialist. o-lunch Healthy and Delicious. List of Menu Items with Prices I.. Word Specialist. New Skills: TheOffice. Project #: Project Title

Import Order: File Formats

Table Reservations Quick Reference Guide

Table of Contents. Introduction. Logo Interpretation

NVIVO 10 WORKSHOP. Hui Bian Office for Faculty Excellence BY HUI BIAN

US Foods Mobile Tablet Application - User s Guide

Parent Self Serve Mobile

Package cdltools. August 1, 2016

Munis Self Service. Employee Self Service User Guide Version For more information, visit

Activity 10. Coffee Break. Introduction. Equipment Required. Collecting the Data

PRODUCTION SOFTWARE FOR WINEMAKERS. Wine Operations and Laboratory Analyses

Tamanend Wine Consulting

Noun-Verb Decomposition

TEST PROJECT. Server Side B. Submitted by: WorldSkills International Manuel Schaffner CH. Competition Time: 3 hours. Assessment Browser: Google Chrome

Simulation of the Frequency Domain Reflectometer in ADS

K, S K, S K, S. TUTTI no IE, NN, M, O,

Administration Guide HighSpeedWaiter.com

Cafeteria Ordering System, Release 1.0

All entries received after that date will not be included in the show catalogue.

Barista at a Glance BASIS International Ltd.

Step 1: Prepare To Use the System

User-Centered Design. Steps in the task analysis process. Task Scenario example: Jacques. Scenario development. Conti... (Jacques) Conti...

DeskTop Ordering. Test Beginning November 17 th

EzyWine.NEWS May POS Themes. New Clients Improve Server Speed. New Training Option. EzyAccounts.NET. Customise Favourites Menu.

An Introduction to DBIx::Class. Tom Hukins

Biocides IT training Vienna - 4 December 2017 IUCLID 6

Fair Trade Certified TM Seal & Language Use Guide

AWRI Refrigeration Demand Calculator

COMSTRAT 310 Semester-Long Project Part Three

2017 Application for Use of Certified Vegan Logo Trademark

Hot and Cold Foods Temperatures

New Zealand Winegrowers Vineyard Register User Guide

PRODUCT EXAMPLE PIZZA

Dum Ka Biryani, Make for each other

Objective: To observe fermentation and discuss the process. Problem: Will yeast give off significant amounts of gas to inflate a balloon?

OALCF Task Cover Sheet. Goal Path: Employment Apprenticeship Secondary School Post Secondary Independence

0417 INFORMATION AND COMMUNICATION TECHNOLOGY

Tablet Waiter. An Electronic Restaurant Menu and Ordering System.

Developing a CRC Model. CSC207 Fall 2015

15-Annotating Plots text: Chapter ECEGR 101 Engineering Problem Solving with Matlab Professor Henry Louie

Biocides IT training Helsinki - 27 September 2017 IUCLID 6

Mosaic Stadium Suites and Loge Seats Premium Experience Online Ordering Tool User Guide

Table of Contents. Toast Inc. 2

Welcome to the BeerSmith(TM) Help Page. This web oriented help system will help you enhance your brewing experience using BeerSmith.

AMENDMENT OF SOLICITATION/MODIFICATION OF CONTRACT

Welcome to Grubhub. Table of contents. You ve joined the nation s leading online and mobile food ordering platform. Set up your account...

User s Manual. User s Manual Version 1.0. Chulalongkorn University. Raks Thai Foundation. Worcester Polytechnic Institute. January 29 th, 2013

Managing Multiple Ontologies in Protégé

96 of 100 DOCUMENTS FEDERAL REGISTER. 27 CFR Part 9. Napa Valley Viticultural Area. [TD ATF-79; Re: Notice No. 337] 46 FR 9061.

Directions for Menu Worksheet. General Information:

Statewide Monthly Participation for Asian Non-Hispanic by Cultural Identities, Months of Prenatal Participation & Breastfeeding Amount

Database documentation for the Hayton Roman Pottery Database

Appendix 2. Food Safety Plan Worksheets

Restaurant reservation system thesis documentation. Restaurant reservation system thesis documentation.zip

Biologist at Work! Experiment: Width across knuckles of: left hand. cm... right hand. cm. Analysis: Decision: /13 cm. Name

CERTOMAT IS For controlled benchtop incubation

longer any restriction order batching. All orders can be created in a single batch which means less work for the wine club manager.

WiX Cookbook Free Ebooks PDF

DOC / KEURIG COFFEE MAKER NOT WORKING ARCHIVE

Route List Configuration

New Clients Debtor Payments By BPAY. Onsite Training. Super Increasing To 9.5% POS EFTPOS Interface. Convert Mailing List To $

MBA 503 Final Project Guidelines and Rubric

Operations Manuals For Restaurants READ ONLINE

Chinese Cantonese (Cooking For Today/English Version) READ ONLINE

MIDI Coffee Machine Control

Release Letter. Trufa

This is USDA s Non-Discrimination Statement and MUST be available in this format.

THE STEEL DETAILER SolidWorks 2016 INSTALLATION PROCEDURE

German Home Baking : Original German Cookies And Pastries By Rudolf August Oetker READ ONLINE

KVH Budwood Systems Audit Report

Sous Chef Training Manual READ ONLINE

Skills Canada Candidate project book. Promo Package Duration: 6 h. Station number. Level. Skills Compétences Canada Promo Package page 1

Shaping the Future: Production and Market Challenges

Vigilant DIY Wine Cellar Planner How-To Instructions

Which of your fingernails comes closest to 1 cm in width? What is the length between your thumb tip and extended index finger tip? If no, why not?

Swiss Trade Mediamatics (Sample for year 2017)

2017 Application for Use of Certified Vegan Logo Trademark

North America Ethyl Acetate Industry Outlook to Market Size, Company Share, Price Trends, Capacity Forecasts of All Active and Planned Plants

OALCF Tasks for the Apprenticeship Goal Path: Prepared for the Project,

0418 INFORMATION TECHNOLOGY

Maple Syrup Cookbook: 100 Recipes For Breakfast, Lunch & Dinner By Ken Haedrich

Homemade Bread Recipes - A Simple And Easy Bread Machine Cookbook [Kindle Edition] By Cathy L. Kidd

Jura Capresso F9 Repair Manual

MyPlate ipad Webquest

Esri Demographic Data Release Notes: Israel

Directions for Menu Worksheet ***Updated 9/2/2014 for SY *** General Information:

Route List Setup. About Route List Setup

The Analects Of Confucius By Confucius READ ONLINE

2018 Application for Use of Certified Vegan Logo Trademark

The Analects Of Confucius By Confucius

Squeezed: What You Don't Know About Orange Juice (Yale Agrarian Studies Series) By Alissa Hamilton READ ONLINE


Most Affordable Professional Grade 2D & 3D CAD Software

Guide to the Nevada Chili Boosters and Nevada Association for the Handicaped Chili Cookoff Records

GENETICALLY MODIFIED SOYBEANS VERSUS TRADITIONAL SOYBEANS HOW DO THEY COMPARE?

Fairtrade Standard. Supersedes previous version: Expected date of next review: Contact for comments:

Robert Doisneau: Paris Les Halles Market

Alcohol Meter for Wine. Alcolyzer Wine

Transcription:

Barista Document Output Object Description The Barista Document Output Object provides the ability to create and display reports outside of Barista in standalone mode. Note: The Barista environment used for the session is specified by one of two ways: 1. An absolute path in the use statement. For example, if the object is specified using use ::c:/program Files/basis/barista/sys/prog/ bao_document.bbj::document, Barista will retrieve the configurations in the c:/program Files/basis/barista environment. 2. Specifying the object with a relative path from a Barista environment started with the Barista configuration file found at: barista/sys/config/<lang_id>/barista.cfg. For additional information on creating reports, please see the Document Output Tutorial. Document Output Object Methods Login and Security Method Comments setuserid(str) Barista user identifier. (See Barista Launch Task doc for more) setpassword(str) Barista user password. (See Barista Launch Task doc for more) setfirmid(str) Currently active Barista Firm identifier. setlanguage(str) Barista language code ( DEU, ENU, etc.). Defaults to ENU. setdbserver(str) Default localhost. setdbport(int) Default 2002. setdbssl(int) Default 0 (non-ssl) setdbtimeout(int) Default 5000 (ms) Report Creation Method setdocumentid (str) setreporttitle(str) getreportdate(str) setreporttime(str) setsourcetype(str) setsourcereference(str) setsourcealias(str) setsourceid(str) Comments Document identifier user for Document Print settings and storing adjusted document column width. Defaults to TEST_REPORT. Top level document title. Current report date in YYYYMMDD format. Defaults to system date if not supplied. Current report time in MMHHSS format. Defaults to system time if not supplied. Document system source. (B)arista for table listings, or any other user defined 1 byte code. Written to document record. Related to source id (below). May include order number, journal number, etc. Written to document record. Barista table alias. Written to document record. Document application source reference (O)rder Proc, (G)eneral Ledger,

setreportsource(str) setoutputaction(str) addreportheading(str) addcolumn( str <column_header>, str <data_type>, int <data_width>, int <pixel_width>, int <output_mask>, str <control_type>, str <align_code>, str <flags>) setoutputdata(vect!) setbreakdata(vect!) etc. Written to document record. Document origin: (I)nternal Barista application, (E)xternal reporting (Jasper, etc.) Written to document record. Output action. May contain one or more of the following: NAME[] - Predefined output document file name LST - Use single column grid w/ non proportional font FORMAT - Document contains special cell formatting OUTOPTS[] - Direct output string containing <fmt-opt>;<fmt-opt>;<fmtopt>, where: fmt = Output format PRT - Standard printer PDF - Portable Document File (.pdf) CSV - Comma Separated Text (.csv) TXT - Tab Delimited Text (.txt) HTM - HTML Document (.htm) XLS - Spreadsheet (.xls) XML - XML Document (.xml) opt = Output type PRT - Standard Printer UNF - Unformatted output DSK - Disk file EML - Email FAX - Fax GDC - GoogleDocs repository GDF - GoogleDocs repository - Google format LCH - Launch source file after generation Adds a report heading line (At least one is required) Adds a column to the document: Column header - Column header text Data type - Column data type: C - Character N Number Data width - Number of data characters Pixel width - Column pixel width. Overrides the automatic calculation based on data width x characters. Output mask - String or numeric output mask Control Type - Future use Column alignment code L = Left R = Right C = Center Flags - Additional document formatting flags: B = Bold I = Italics R = Right justify L = Left justify C = Center + = Increase font size - = Decrease font size The main output vector containing the report row data. Vector containing the position in the main output vector where sub-heading break should occur.

setheaderdata(vect!) settotaldata(vect!) process() setsessionwait(int) Vector containing sub-heading to print for a given position in the break vector. Vector containing position in the main output vector where underlining should occur. Creates and archives the report. Launches the Barista Document Output Viewer when completed. Set to 0 to continue processing immedaitely Set to 1 to wait for DocOut process to end before continuing (Default)

Sample Program The following program creates a report from the Barista Examples Item data file: use ::c:/program Files/basis/barista/sys/prog/bao_document.bbj::Document rem Specifies the environment when generating a DocOut report from a non- Barista environment. use ::sys/prog/bao_document.bbj::document rem Used when generating a DocOut report from program within a Barista environment. declare Document doc! doc! = new Document() item_chn = unt open(item_chn)"../apps/examples/data/item" dim item$:"item_id:c(6),description:c(30),prod_cat:c(2),stock_uom:c(3)," + : "cost:n(12),weight:n(12),wt_unit:c(2),price:n(12)" doc!.setuserid("admin") doc!.setpassword("admin123") doc!.setfirmid("01") doc!.setlanguage("enu") doc!.setdocumentid("item_report") doc!.setreporttitle("item Report") doc!.addreportheading("item Report") doc!.addcolumn("item ID", "C", 6, 70, "", "E", "L", "") doc!.addcolumn("description", "C", 30, 300, "", "E", "L", "") doc!.addcolumn("prod Cat", "C", 6, 60, "", "E", "L", "") doc!.addcolumn("uom", "C", 6, 60, "", "E", "L", "") doc!.addcolumn("cost", "N", 12, 100, "###,###.00", "N", "R", "") out!=bbjapi().makevector() while 1 readrecord(item_chn, end = *break)item$ out!.additem(item.item_id$) out!.additem(item.description$) out!.additem(item.prod_cat$) out!.additem(item.stock_uom$) out!.additem(item.cost$) wend doc!.setoutputdata(out!)

doc!.process() release