October 16-17 - Amazon Web Services · October 16, 2012 Conditions and ... MRP System Integration...

17
October 16-17

Transcript of October 16-17 - Amazon Web Services · October 16, 2012 Conditions and ... MRP System Integration...

October 16-17

Advanced Use of Winshuttle Products

Gregory T Hensley Freescale Automation

October 16, 2012

Conditions and Loops Integrating Winshuttle with Excel VBA

Freescale is the global leader in embedded processing solutions, advancing the automotive, consumer, industrial and networking markets. From microprocessors and microcontrollers to sensors, analog ICs and connectivity – our technologies are the foundation to the innovations that make our world greener, safer, healthier and more connected.

Freescale is headquartered in Austin, Texas with design, research and development, manufacturing and sales operations in more than 20 countries. We are driven by a culture of innovation, quality and results – an engagement worldwide of more than 18,000 employees. We are leaders in embedded processing solutions – making the world a smarter place for all of us.

About Freescale

How has Winshuttle helped us?

ME21 Auto PO generation

ME51 Auto Requisition Create

ML81 Auto SES Processing

FB50 Auto JV from CC to CC or Network

CN46/47 Mass Change to Project Networks

ME52 Mass Requisition Trash/Close

AS03 Asset Evaluations

MM02 Mass Change to Material Group Assignment

Tables Query - Auto Invoice Reporting

Tables Query - Auto Goods Receipt Reporting

Conditions: Our Best Case Use

• Update if call value matches what you want to modify

• Update record if row was modified

• One time setup for first time run

• Modify record if date is between range on cell

The ability to run Transaction scripts against excel rows only if a cell on that row meets a specific criteria.

Conditions – Material Validation

Conditions – PO Sch. Date Change

Conditions – Advanced Example

Loops: Our Best Case Use

• Create a multiple line PO or Requisition

• Create a multiple line Service Entry Sheet

• Create a multiple line JV

The ability for Winshuttle Transaction to repeat data entry in SAP where there is multiple line capability.

Loops– JV’s

VBA: What is it?

VBA - Visual Basic for Applications An Excel VBA script or macro is a set of instructions that can be triggered by a keyboard shortcut, toolbar button or an icon in a spreadsheet. Macros are used to eliminate the need to repeat the steps of common tasks over and over. • You can write these manually • You can record actions and play directly from Excel. • You can assemble multiple code segments from various public sources

VBA: Live Demo

• Import records from external source and prepare for WS

• Prepare for export record as tab delimited into directory

• VBA to initiate Runner script

• On Change of a cell, mark another cell with an X

• On Change of a cell, mark a row with specific color

MRP System Integration

Priority MRP System

Excel/VBA WS PO Data Export

Transaction

SAP PO’s

WS Query Excel/VBA Receipts Invoices

VBA: Distribution

Best method when not storing code on Excel data file: 1. “Save As” Workbook with VBA macro in Excel add-in format “.XLAM” 2. Email or place on file server to users 3. Send instructions on how to install by saving file in users directory:

C:\Users\username\AppData\Roaming\Microsoft\Excel\XLSTART\ 4. Now when a user loads excel, the macro will be available to run

against any file. 5. Add Macro to your Quick Access Toolbar

Best method when storing code on Excel data file: 1. Create Graphic Button on Excel Sheet and link Macro to it

Using Winshuttle and Excel VBA

All Examples to Take Home

Conditions- Material Validation

Conditions- PO Schedule Date Mod

Loops – Automate JVs from Cost Center to Network

VBA – System Integration, Import records and prep

VBA – System Integration, Prep and export records

VBA – On change of cell, mark another cell for WS process

VBA – On change of cell, color another cell

Autohotkey Installation Package

Questions