I has a document with 2 Tabular sections: Inventory Items an Products
On Document Form, List of Inventory Items was filter by a product selection on list of Products
On Ordinary application, I code:
| Code |
|---|
Controls.InventoryItems.RowFilter.MasterID.Set(Controls.Products.CurrentData.ID); |
It is work Ok.
But, Managed application, I code:
| Code |
|---|
Items.InventoryItems.RowFilter.MasterID.Set(Controls.Products.CurrentData.ID); |
I has an error "Giá trị không phải là giá trị có kiểu đối tượng (MasterID)"
Someone can give me some advice
Thanks!