Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

multiple automatic purchase order script

Featured Replies

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

Can you explain your wish on example?

  • Author

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.

As i anderstand you want automaticaly create invoices to your all clients for one product?

  • Author

yes... exactly

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.