dynamiczip:integration_points:dynamiczip_call_external_procedure
This is an old revision of the document!
Table of Contents
Calling DynamicZip from another 3rd party product
Procedure DynamicZipCall_External
This procedure has been designed to make it possible to call the DynamicZip Zip Addressing and Tax Schedule Selection from another 3rd Party Integrating Dictionary.
Build 74 and later
Parameters
- in boolean iTaxOnPurchases;
- in 'Customer Number' iCustomerNumber;
- in 'Address Code' iShipToAddressId;
- inout City ioShipToCity;
- inout 'KD County' ioShipToCounty;
- inout State ioShipToState;
- inout Zip ioShipToZip;
- inout 'Country Code' ioShipToCountry;
- in boolean iCorrectAddress; {Run Zip Addressing}
- inout 'Tax Schedule ID' ioDocTaxScheduleId; {Customer's tax schedule id for this doc or line-item}
- in boolean iAssignTaxSchedule; {Run tax schedule selection}
- in 'Location Code' iIVSite;
- in 'Shipping Method' iShippingMethod;
- in 'Item Number' iItemNumber;
- optional inout string ioItemCategory; {used only if non-blank value sent and item number is blank}
- inout 'Tax Options' ioItemTaxOption;
- inout 'Tax Schedule ID' ioItemTaxScheduleId; {Item's tax schedule id used if item's tax option is 'Taxable'}
- inout KDGeoCode ioGeocode;
- optional inout boolean ioOutsideCityLimits = false; 1)
- optional in boolean iUnsued1 = false; 2)
- optional in boolean iUnused2; 3)
- optional in boolean iUnused3; 4)
- optional in boolean iSelectDefaultSchedule;
- optional in boolean iTaxByItemCatagory;
- optional in boolean iUseUspsCity;
- optional in integer iWindowCalledFrom;
- out string oMessage;
- out integer oAddressStatus;
- out integer oScheduleStatus;
- optional out KDTaxStatus oCustomerTaxableStatus;
- optional out boolean oTaxByItemCatRecordFound;
- optional in date iTaxDate; {Not used}
- optional in integer iTaxLocationType = KD_LOCATION_CUSTOMER; 5)
Prior to Build 74
Parameters
- in boolean iPurchaseTax; {defaults to false (sales)}
- in 'Customer Number' iCustomerNumber;
- in 'Address Code' iShipToAddressId;
- inout City ioShipToCity;
- inout 'KD County' ioShipToCounty;
- inout State ioShipToState; {two character state code}
- in Zip iShipToZip;
- inout 'Country Code' ioShipToCountry;
- in boolean iCorrectAddress; {used to control whether or not DynamicZip should perform address validation & correction}
- inout 'Tax Schedule ID' ioDocTaxScheduleId; {Customer's tax schedule id for this doc or line-item}
- in boolean iAssignTaxSchedule; {used to control whether or not DynamicZip should perform tax schedule ID validation & reselection}
- in 'Location Code' iIVSite;
- in 'Shipping Method' iShippingMethod;
- in 'Item Number' iItemNumber;
- optional inout string ioItemCategory; {used only if non-blank value sent and item number is blank}
- inout 'Tax Options' ioTaxOptions; {the item tax option; Base on Customers, Taxable, Nontaxable}
- inout 'Tax Schedule ID' ioItemTaxScheduleId; {Item's tax schedule id used if item's tax option is 'Taxable'}
- inout KDGeoCode ioGeocode;
- optional in boolean iInsideCityLimits;
- optional in boolean iPreserveCityLimitsSelection;
- optional in boolean iAssumeInCityLimits; {defaults to the setting in the DynamicZip Setup window }
- optional in boolean iAssumeTaxable; {defaults to the setting in the DynamicZip Setup window }
- optional in boolean iBaseOnMajority; {defaults to the setting in the DynamicZip Setup window }
- optional in boolean iTaxByItemClass; {defaults to the setting in the DynamicZip Setup window }
- optional in boolean iUseUspsCity; {defaults to the setting in the DynamicZip Setup window }
- optional in integer iWindowCalledFrom;
- out string oMessage;
- out integer oAddressStatus;
- out integer oScheduleStatus
- optional out KDTaxStatus oCustomerTaxableStatus;
- optional out boolean oTaxByItemCatRecordFound;
- optional in date iTaxDate; {Not used}
dynamiczip/integration_points/dynamiczip_call_external_procedure.1438211474.txt.gz · Last modified: 2015/07/29 23:11 by chuck