Purpose & Scope:
How to default an address to the To or From Address on the Addr tab
A few standard Spitfire Doc types use Source Contact mode to default the address of the Vendor or Customer selected in the Header of the Spitfire documents into the To or From Address on the Addr tab. For example, when you select a Vendor for your Commitment (Subcontract) document, Spitfire defaults that Vendor‘s address information to the To Address on the Addr tab.
The best way to add this functionality to a different Doc type is to write a simple workflow script and map it to the correct Doc type.
The Workflow Script for the To Address:
ATC: IF SourceContact IsChanging ATC: ADDR T [DKEY_DocHeader_SourceContact] ATC: ENDIF
The Workflow Script for the From Address:
ATC: IF SourceContact IsChanging ATC: ADDR F [DKEY_DocHeader_SourceContact] ATC: ENDIF
The Workflow Scripts Tool:
The Workflow Script tool is found on the System Admin Dashboard. For more information see KBA-01777 and its related information.
KBA-01197; Last updated: January 26, 2022 at 17:21 pm;
Keywords: source contact address