I am using edit method on a form Check box control in a Grid and data source is a view. The parameter in _set boolean is not setting to true when we clicked on the check box. The code in the edit method is as follows.
edit NoYes markNow(
boolean _set,
VendInvoiceProdReceiptNotInvoicedView _vendInvoiceProdReceiptNotInvoicedViewLocal,
NoYes _markNow)
{
if (_set)
{
if (_markNow)
{
matchedReceipts.insert(_vendInvoiceProdReceiptNotInvoicedViewLocal.VendPackingSlipJourRecId, _vendInvoiceProdReceiptNotInvoicedViewLocal.PackingSlipId);
}
else
{
if (matchedReceipts.exists(_vendInvoiceProdReceiptNotInvoicedViewLocal.VendPackingSlipJourRecId))
{
matchedReceipts.remove(_vendInvoiceProdReceiptNotInvoicedViewLocal.VendPackingSlipJourRecId);
}
}
this.refresh();
}
return matchedReceipts.exists(_vendInvoiceProdReceiptNotInvoicedViewLocal.VendPackingSlipJourRecId) ? NoYes::Yes : NoYes::No;
}
Could you please help me with this.