refer to the print screen, the test performed field is link to ""Raw Materials Testing Plan" table, is it possible when i choose testing Plan 50, it will show out Test Name "Particle Density (Apparent)" and show the "TestResult UOM" for example Mg/m3 in the forms? When i choose Testperform 10, it will show "Weight Test" and the TestResult UOM show kg. The Test Name and UOM is all located to ""Raw Materials Testing Plan" Table.
Anyone get what i meant?
Thanks for replying.. i am still headache on this issue.....
Here is the table design for "Raw Material Testing Plan" and "Raw Material Testing Results"Table...
I am not really understand on the coding...RawMaterialsTestingPlanTable.reset; RawMaterialsTestingPlanTable.setrange(TestPerfomed,Rec.TestPerformed); if RawMaterialsTestingPlanTable.Findfirst then begin Rec.TestResult:=RawMaterialsTestingPlanTable.TestResult; rec.name:=RawMaterialsTestingPlanTable.name; end;
From my understanding, i need to set a C/AL Global:
then put the code in "OnValidate" of the testperformed field?
Sorry, i really new in NAV and no where for me to ask already except here..........