Hi,
I am trying to fetch the SiteId of a current active sales line through code.
I am trying to add a filter on the Site field on the InventOnHandItem form that is opened from Overview button of saleOrderLine → Inventory → on-hand Inventory form.
Here my requirement is to filter Site based on the Site selected on the current sales line.
element.args().record() is not fetching this value on form init or table init methods.
Any help on this would be highly appreciated.
Thanks,
Satya.