In the snippet you have the parameters (yellow icon), it says Parameter (1). If you click on it, you can see the parameters. Make sure this parameter matches the object from the page.
At your page the snippet is placed inside of a data view StockOpname. This means the parameter of the Snippet should also be StockOpname and it looks like it’s now StockDetail. If StockDetail is not available at the page, the parameter can’t be added to the snippet.