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

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

Recommended Posts

Posted

I'm working on an inventory, invoicing, and customer database for an art studio.

the invoice table uses a seperate line item table with a portal on the invoice layout.

they only sell original artwork, so each record in the product table is unique and only has one in stock.

I want to create a value list that contains all records in the Product(Art) table that are not sold....

whats the best way to do this???

Posted

As you already know if the item is available because it's stock count is 1 (one) then you could use a GLOBAL field in the parent table to match the on the current stock count with the value 1 (one).

You can set the global field manually, or scripted, and the value list should be defined to show only the records that match the global.

Conversely, if you set the global to 0 (zero) you will get all the products that have been sold!

Posted

the problem im running into I think is the way im determining the stock status...

I have an Art display field that merges the artist, title, size, and medium. this field is the match field.

so then my sold field looks like,

ArtSold = Case ( ArtDisplay = LineItems::Item; "sold"; "" )

then i have

SoldStatus = Case ( Sold = "sold";0;1 )

the problem is that these calc fields are unstored and use related fields so i cant use them in relationships...

how can i make the product table update the inventory without needing to run a script when the invoice is done?:)

is there a better way to do inventory control?

This topic is 6720 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.