Integration Sample
Connecting NRGship to multiple existing FileMaker Pro database is a little more complex than the easy integration, but allows for more overall flexibility. The Integration Sample file creates a new record in NRGship, returns a Ship_ID to the integration sample, sets the ship-to information and then ships the package.
Four scripts are included in the Integration Sample database:
Button - Create Related Ship Record
This script will go to the NRGship file and create a record which will then pass back the unique ship_id. If there is already a ship_id then it will show the related record.
Set Ship ID and Pass Data
This script will create a new related record in ship data for a package being sent UPS Ground, and will then go to the record in NRGship for shipping
Button – Print Labels for Current Record
This script passes the Ship_ID to the external print script and the labels are output.
Button – Void Shipment
This script passes the Ship_ID to the external void script and the shipment is voided.