Problem in my DB WorkOrder
Hi Fred, I have a problem that I don't know how to solve.
I have a simple Engineering Workorders database. I can have several WorkOrders. Each workorder has several activities with their hours and budget.
Each order has its Data|Date, Milestones, CuOff, KPIs, Progress Report, and objectives and scope, all in tab.
The problem is the WS-Progress Report table, which I generate with the button on the DATA|DATE tab and with CutOff. day, which I generate with the CUTOFF tab.
How can I assign these two tables to the each workorder?
12 replies
-
I think you do know how to solve the issue, but sometimes the solution is slipped our minds.
Remember that when you use the create() command, all it does is create a new blank record. So if you want to link a progress report or cutoff record to ENG WORKORDER then you need to specify the link.
After reviewing the code in the two buttons, I don't see you linking to the ENG WORKORDER table anywhere. I noticed that you changed the reference field links in each table so make sure you use the reference field name and not the table name.
Give it a try and let us know how it goes.
-
Looking at the buttons again, you fixed the Calculate dates button. It links the cutoff date records to the ENG WORKORDERS record correctly. Now just repeat it in the Create Progress Report button. The field you need to focus on is the 'ENG WORKORDERS' field.
-
Have you considered making Progress Reports a child of Cutoff Days? Since you want to make a report for each record in Cutoff days. So you only need to link the progress report record to a Cutoff days record and since Cutoff days are linked to Workorders you have that link as well.
Content aside
- yesterdayLast active
- 12Replies
- 60Views
-
2
Following