Using VI to Import Cash Receipts

SOLVED

Can a VI job be setup to total a column on your source file? For example if importing cash receipts I have a column in my source file pointing to the Line Amount Posted and I want the job to sum up that column by customer and put the amount in the Header Posting amount column or does the total amount posted for each customer have to be in the import file?

Also when chaining the AR Cash Receipt Deposit to the AR Cash Receipt Header file how do you set the deposit number in the AR Cash Receipts Header job to be the same as the deposit number in the AR Cash Receipt Deposit job?

This is for Sage 100 Adv v2020. Thank you.

  • 0 in reply to VanMan

    Interesting, I don't think I recall that but I suppose I just never ran into it if the clients always had the setting enabled.

  • 0 in reply to zip

    Are your CR lines getting a good value?  I don't think you need a temp field for this:

    I'd assume your file must have a header total (for how much the customer is paying).

  • 0 in reply to zip

    You're welcome! I think the Posting Amt issue is most likely because it is writing the header record prior to reading through the lines and writing line records, and I don't know of a way to make VI job back and update the header record after working with the line objects.

    Since Cash Receipts is designed around the user knowing the total check/payment amount prior to inputting it,  pre-processing the data so you have that info is probably the best option, whether that be via perform logic or some other method.

    I've seen at least one instance where perform logic was used to read the .csv file, calculate values needed by the VI job, and then write them back to the .csv file.