User Tools

Site Tools


dynamiczip:install:mods:release:build71:silent_dz_extended_tax_recalculation

This is an old revision of the document!


DZ Silent Extended Tax Recalculation

To facilitate the use of Macros to perform the DZ Extended Tax Recalculation on multiple documents, we have added the option to “silence” this process. “Silence” means that no report will be printed after a document is recalculated.

The following entry in the Dex.ini is used to enable this option:

DZ_SopTaxRecalculateSilent=TRUE

This setting alters the DZ Extended Tax Recalculation in the following ways:

  1. No report will be generated.
  2. The process will set the change flag even when no changes are made. By so doing, the window behavior (i.e Do you want to save changes?) will be the same for all documents, as required for a macro to function properly.

This option can be disabled by modifying the Dex.ini entry as follows:

DZ_SopTaxRecalculateSilent=FALSE

The following Example is a macro recorded for a single document. This macro can be copied and then pasted into a text file as many times as desired. If you want to run DZ Extended Tax Recalculation on 100 documents, paste 100 copies of this macro into your text file. The text file must be saved with an extension of .mac in order to select and run it from within Microsoft Dynamics GP

Suggestion: By saving or moving all the transactions that require recalculation to the batch that alphabetically sorts last (such as Batch ID: Z), the macro can be made to handle enough documents that it just runs until it errors out by reaching the end of the file. To make this work, the Sales Transaction Entry window browse buttons must be set to sort by Batch ID.

Example:

# DEXVERSION=10.0.320.0 2 2
CheckActiveWin dictionary 'default' form 'SOP_Entry' window 'SOP_Entry'
MenuSelect title Additional entry 'DZ Extended Tax Recalculation'
ActivateWindow dictionary 'default' form 'SOP_Entry' window 'SOP_Entry'
MoveTo field 'Next Button - Toolbar'
ClickHit field 'Next Button - Toolbar'
# Do you want to save or delete the document?
NewActiveWin dictionary 'default' form DiaLog window DiaLog
ClickHit field OK
NewActiveWin dictionary 'default' form 'SOP_Entry' window 'SOP_Entry'


Build 71

dynamiczip/install/mods/release/build71/silent_dz_extended_tax_recalculation.1469548653.txt.gz · Last modified: 2016/07/26 15:57 by chuck

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki