Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7081 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi! here is my problem. i have four files: products, order, customers and line items. this is a simple invoicing system. However, i need to post automatically to all clients an order for existing products. I need a script that would take from inventory of one item (jars, for example) where i have 1000 and divided among some 100 stores/warehouses. it is the same as a regular invoicing only i make the decision of what product each store gets. Once i go through the list of items in inventory i wish to print the client's order (or invoice). i hope i'm clear.

thanks

Posted

in warehouse i have let's say 1000 jars of jams. i wish to have a script which will automatically divide this quantity into the number of clients/subwarehouse (with certain criteria) and produce a purchase order for each client/subwarehouse. store1 gets 20 jars, store2 gets 20 jars...

each month i get a list of items which i have to distribute to all locations (store1, 2,3.... the script should automate the process.

Posted

You have Rest_of_product and Count_of_Customers.Use algorithm:

For each customer by relation to invoice create record where quantity=Rest_of_poduct/Count_of_Customers. If you have lineitem file will be little difficult. In that case you must by relation from invoice to lineitem create item in lineitem file.

This topic is 7081 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.