AP Batch Folder Total RE-Calculate: Workflow Details: • Published: Thursday, March 31, 2016 2:51 PM • Version: 16 Connection Profiles: • Standard (localhost; HendersonvilleRecords; admin) Business Process Options: • Can be started by Laserfiche clients connected to 'HendersonvilleRecords' • Can be viewed in Laserfiche clients connected to 'HendersonvilleRecords' • Started Status: Running • Completed Status: Completed • Canceled Status: Terminated Find Entries: Finds the entries in the folder with ID: %(Entry ID) Only return documents Additional Properties: Fields Options Properties: Sorting Properties: Assign Token Values: Create the following tokens: • %(Total Amount from Item) = 0 • %(Amount of Use Tax) = 0 • %(Amount of SalesTax) = 0 • %(Net Amount from Item) = 0 For Each Entry: Iterate through the entries in: (Find Entries::Output Entries) Retrieve Amounts: Entry: (For Each Entry::Current Entry) Field values to retrieve: • InvoiceNet • InvoiceTotal • SalesTax • UseTax Token Calculator: Calculate Total Batch Amount: %(Total Amount from Item) + %(RetrieveAmounts_InvoiceTotal) Calculate Use Amount: %(Amount of Use Tax)+ %(RetrieveAmounts_UseTax) Calculate Net Total: %(Net Amount from Item)+ %(RetrieveAmounts_InvoiceNet) Calculate Sales Tax Amount: %(Amount of SalesTax)+ %(RetrieveAmounts_SalesTax) Assign Token Values 2: Modify the following tokens: • %(Total Amount from Item) = %(TokenCalculator_Calculate Total Batch Amount) • %(Amount of Use Tax) = %(TokenCalculator_Calculate Use Amount) • %(Net Amount from Item) = %(TokenCalculator_Calculate Net Total) • %(Amount of SalesTax) = %(TokenCalculator_Calculate Sales Tax Amount) Find Entries in Batch Folder: Finds the entries in the folder with ID: %(Entry ID) Only return documents Additional Properties: Fields Options Properties: Sorting Properties: Find Batch Folder: Finds the entry with the ID: %(Entry ID) Additional Properties: Fields Options Properties: Assign Field Values: Entry: (Find Batch Folder::Output Entry) Assigns the template 'APBatch' Remove template fields: False Field Values: • Batch Net Total = %(Net Amount from Item) • Batch Sales Tax = %(Amount of SalesTax) • Batch Total = %(Total Amount from Item) • Batch Use Tax = %(Amount of Use Tax) • BatchCount = %(FindEntriesinBatchFolder_Result Count)