Hi All ,
how can i trace and debug put a breakpoint to check the data result .,
[Hookable(false)]
protected boolean checkNotOverDeliveryForNotStockedWithMatchedPR(TradeNotStockedPostCheck _notStockedPostCheck)
{
boolean ret = true;
UnitQty qtyPre = abs(purchLine.PurchQty);
UnitQty qtyPost = abs(this.qtyReceivedInTotal() +
this.qtyPendingInvoiceMatchedPR() +
vendInvoiceInfoLine.ReceiveNow);
Percent overDeliveryPercent = (qtyPost - qtyPre) / (qtyPre ? qtyPre : 1) * 100;
if (overDeliveryPercent > purchLine.overDeliveryPct())
{
ret = checkFailed(strFmt("@SYS24920", overDeliveryPercent, purchLine.overDeliveryPct()));
}
return ret;
}
/Classes/PurchInvoiceJournalPost/Methods/checkNotOverDeliveryForNotStockedWithMatchedPR