Jump 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.

Dividing Transactions

Featured Replies

I have 2 databases that are related to each other:

1-Payments

2-Clerking;

payments and clerking are related together by the buyer ID no.

payments:Buyer_id|Clerking:Buyer_id

In the payments database I have a portal showing 5 databases from clerking:

1-buyer_id

2-Item_id

3-Qty

4-description

5-price

If the buyer purchased a vehicle ( [color:"red"] 1st transaction ) and put a down payment of $300 and an invoice was printed, once this invoice is printed I need to flag this invoice as printed and close it. But have the option to reprint it again if I want to:[message: This invoice has been printed do you want to print it again? yes or no] If yes is selected it would then reopen the invoice and allow modification to the invoice. If the same buyer came back again and purchased another vehicle ( [color:"blue"] 2nd transaction ) and had the same buyer_id, I would want a separate invoice created for just that purchase due to the fact that the previous transaction has been closed (even if he still owes money on the 1st transaction). For Example:

Buyer_id: Item_id: Qty: Description: Price:

305 | 1458 | 1 | vehicle | 5000.00 (1st purchase) paid 300.00

new invoice - printed invoice - close out transaction -

305 | 2548 | 1 | vehicle | 3000.00 (2nd purchase)

new invoice - printed invoice - close out transaction

Buyer returns:

305 1458: Invoice has been printed. would you like to print it again.

yes or no. Yes reopen the transaction and reprint the invoice then close the transaction again.

If the buyer purchased a vehicle ( [color:"red"] 1st transaction ) and then purchased another vehicle ( [color:"blue"] 2nd transaction ) and had the same buyer_id, I would want both transactions on the same invoice as long as neither invoice has been printed. For Example:

Buyer_id: Item_id: Qty: Description: Price:

305 | 1458 | 1 | vehicle | 5000.00 (1st purchase)

305 | 2548 | 1 | vehicle | 3000.00 (2nd purchase)

new invoice - both transaction on the same invoice.

I hope I explained it well enough.

Is this possible to do? crazy.gif

Hello Dobber,

I'm confused you do not mention any Line Item here (different from Item I think, that is your Product File).

All this job can be done with this file.

You've got a classic many to many relationship here, so you need this File to create all this bunch.

The files you need are B)

1. Item (Product)

2. Invoice

3. Line Item

4. Payments

5. Payments Line Item

6. Customer

Prices and description are set in your Product File

Quantity is set in the Line Item. Eventually, discounted price could be done into the Line Item.

Do you understand the process or do you need some more here...?

  • Author

obviously I have this setup wrong. I am going to re-do my payments database. I will break it down by line items instead of using portals for the information and repeating fields for the payments. I appreciate any help or advice along the way.

Thanks

Create an account or sign in to comment

Important Information

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

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.