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.

Credit Note relation

Featured Replies

So I managed to build the Invoice, client, purchases and items tables and get them to work fine but I'm stumped with the credit notes. The Credit note table is related to the Invoices by Invoice number and thence to the Client table by the same relationship. If I relate to the line items table by invoice number I alter the invoice and stock. Do I have to build a credit line items table to lookup the values from items without affecting the stock, ( as the credits are for fresh produce any returned items are fed to the pigs and do not go back into stock).

Thanks for any help

Can you tell us how the Credits work in real life? Is it just a lump sum dollar amount that's applied to an Invoice, or are they broken down by product?

  • Author

They are individual items from the invoice. If 20 boxes of apples are delivered pre-packed in 1.5kg units, with eight units per box, there may only be 6 packs returned out of the 160 delivered etc so we have have to be able to credit 6 units

I'd suggest making your credits be just Line Items that have a negative value and/or that have a Type "Credit" (vs. "Purchase"). This way the data entry could be done within the Invoice-Line Items structure.

If your Items table is supposed to keep an updated Qty on Hand based on purchases and credits, this can be done by counting the Line Items of each Type separately.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.