Re: How do VB function processes the variables LOAD Scriptis
I need to process the warehouse data so that I can analyze sales by suppliers on the sales documents.
The initial data is missing this information.
The supplier information is only available on the incoming documents
I want to save the incoming quantity and supplier information into the product variables when making the incoming document, and take the supplier name from the variables when creating a sales document
What makes this difficult is that when a new supplier is created and products are taken in, the quantity is not zero.
I tried to use VB macro, which reads in the variable value, processes the variable and then I save the variable value. It works when testing in the edit module, variables are read and saved, but the function does not work in the LOAD script.