private void customButtonClose_Click(object sender, EventArgs e) { string errorCode; string errorText; RetailProcedures.LockItem(CashlinxPawnSupportSession.Instance, icn.Text, out errorCode, out errorText, "N"); NavControlBox.Action = NavBox.NavAction.BACKANDSUBMIT; }
private void LockUnlockRetailItem(RetailItem item, bool lockItem) { string errorText = null; string errorCode = null; if (item.mDocType != "7") { RetailProcedures.LockItem(DesktopSession, item.Icn, out errorCode, out errorText, lockItem ? "Y" : "N"); } }