Overview

This sample application integrates with the Sales Transaction Entry window in Microsoft Dynamics GP. It retrieves shipping weight information about the items in the current sales document, calculates an estimated shipping weight for all of the items, and then estimates the freight cost. The estimated freight value is placed into the Freight field of the Sales Transaction Entry window.

Cc543652.VSTDGP_EstimateFreightSample(en-us,MSDN.10).gif

This sample uses a fixed set of shipping methods and shipping rates. An actual application would use a more extensive rate table, and possibly a web service to access freight rates.

The Estimate Freight sample uses the table access capabilities of Visual Studio Tools to access data in Microsoft Dynamics GP.