ax client aos x++ (il) c# (il) tmsprocessxml +processrequest tmsprocessxml +processrequest tms...

19
Microsoft Dynamics AX Technical Conference February 3–5, 2014 Bellevue, WA

Upload: benedict-hunter

Post on 22-Dec-2015

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Microsoft Dynamics AX Technical ConferenceFebruary 3–5, 2014Bellevue, WA

Page 2: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Technical deep dive: key features of the TMS solution and demo of the configurability of mobile devicesPaweł KrukSoftware Engineer II

Page 3: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

IntroductionWe are excited to share Microsoft Dynamics AX 2012 R3 with you…• This presentation contains Microsoft confidential information• Dynamics AX 2012 R3 is pre-release software and subject to change• Microsoft provides no license, express or implied, in this presentation• Please review and respect the disclaimer included in all printed

and electronically distributed materials

Page 4: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

AgendaTransportation managementArchitecture and implementation overviewTMS enginesDemonstration of a typical configuration of a TMS engine

Warehouse Mobile Devices PortalArchitecture overviewDemonstration of configurability

Page 5: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Goals of this sessionTransportation managementTo understand common patterns appearing in TMS data modelTo understand extensibility modelTo understand the basic configuration patternsTo get inspired about implementing your own extensions to the Transportation System

Warehouse Mobile Device Portal (WMDP)To understand the overall architectureTo learn about customizability of portal pagesTo learn about configurability of portal pages

Page 6: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Processing a request through TMSAX Client AOS

X++ (IL) C# (IL)

TMSProcessXML

+processRequest TMS Engine

Request data

Response data

Request XML

Response XML

AX DB

TMS EngineTMS

EngineTMS Engine

Page 7: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

TMS engines out of the boxRateP2PMileageRateEngineP2PContractRateEngineP2PByWeightRateEngineRailRateEnginePostalZoneWeightRateEnginePieceRateEngineLtlRateEngineMileageRateEngine

ZonePostalCodeZoneEngineStateZoneEngine

TransitCalculationTransitTimeEngineMileBreaksTransitTimeEnginePointToPointTransitTimeEngine

RouteRouteEngine

MileageP2PMileageEngine

Page 8: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Rate engine dataRate base data

Page 9: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Rate engine dataRuntime interpretation

TMSRateBaseDetail

Rate

Origin Postal Code

Destination Postal Code

Weight

Physical representation

TMSRateBaseDetail

Rate

Dimension1

Dimension2

Dimension3

Metadata

TMSRateBaseTypeField

DataType

FieldType

LookupType

Mandatory

Name

RateBaseTypeCode

Sequence

TMSRateBaseTypeField

DataType

FieldType

LookupType

Mandatory Name

Sequence

StringRate base Postal CodeYes

Origin Postal Code 1

StringRate base Postal CodeYes

Destination Postal Code 2

RealRate base None Yes Weight 3

Page 10: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

TMSBreakDetail

Rate engine dataRuntime interpretation

TMSRateBaseDetail

Rate

Origin Postal Code

Destination Postal Code

Weight

Physical representation

TMSRateBaseDetail

Rate

Dimension1

Dimension2

Dimension3

Metadata

TMSBreakDetail

FK BreakMasterCode

Value

TMSBreakMaster

PK BreakMasterCode

BreakMasterCode Value

WeightMore 0WeightMore 10WeightMore 50WeightMore 100

Page 11: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Rate engine dataRate base data

TMSRateBaseDetail

Dimension1

Dimension2

Dimension3 Rate RateBaseCode

00210 98052 0 2 Test00210 98052 10 1.8 Test00210 98052 50 1.7 Test00210 98052 100 1.6 Test

Page 12: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Demo

Page 13: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

• Managed Interop• AX proxies• Linq to AX• .NET reflection• Flexible interpretation of data consumed by TMS

engines• Metadata setup fixed per specific engine• Build your own engines!

ConclusionsTransportation management

Page 14: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

The architecture of WMDP

AOSIIS

Web browser

WC

F serv

ice

WHS.Security

Warehouse Mobile Device

Portalapplication

ASP.NET MVC v.2

http request

http response

Response XML

Request XML

Configuration

WHSWorkExecuteDisplay

class

Page 15: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

Demo

Page 16: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

• Configurable per device or group of devices• Replaceable views and CSS• Configurable date input formats

ConclusionsWarehouse Mobile Devices Portal

Page 17: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

THANK YOU for attending! Your feedback is extremely important, please complete an evaluation using one of the following options:

• On the fly from the mobile event app• Communications Kiosks located in the Evergreen Foyer, Grand

Ballroom Foyer and Regency Foyer

• Via the Dynamics AX Technical Conference website: www.microsoft.com/dynamics/axtechconference

Page 18: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

DisclaimerThis presentation contains Microsoft Confidential Information. Microsoft may use any suggestions, comments, or other feedback that you provide for any purpose without obligation. This presentation is provided for informational and training purposes only. It represents Microsoft’s view as of the presentation date. Microsoft cannot guarantee the accuracy of any information after the presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted as a commitment on Microsoft’s part. This presentation is provided “as-is”.

Microsoft Dynamics AX 2012 R3 is pre-release software under development. All dates, features, and descriptions specified are preliminary, are based on current expectations, and are subject to change at any time without notice.

Sample code included in this presentation is made available AS IS.  THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF ANY SAMPLE CODE REMAINS WITH THE USER.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. NO LICENSE (EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE) TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS PRESENTATION.

© 2014 Microsoft Corporation. All rights reserved.

Page 19: AX Client AOS X++ (IL) C# (IL) TMSProcessXML +processRequest TMSProcessXML +processRequest TMS Engine TMS Engine Request data Response data Request

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Paweł [email protected]