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

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

Recommended Posts

Posted

I have an inventory table.  It is the items of inventory only.  There is no transactions of inventory bought (in) or use (out).  As inventory prices change on purchase invoices the information is manually updated.  I have decided I would like to track the history of prices.  I have a child-table to hold the price and the invoice date.  I need to populate the original purchase price field with the most recent entry in the portal. 

 

Other fields on the layout reference the purchase price field.  I have related the parent-table to the child-table by a serial number on the parent-table.  How do I populate the inventory record from entry on the portal? 

Posted

Sort the relationship descending by date; then the first record via that relationship is the most recent one, and you can use mySortedChildTable::price as an auto-enter option.

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