Edit method and number seq code

public void initValue()
{
NumberSeq NumSeq;
;

super();
NumSeq = NumberSeq::newGetNum(SalesParameters::numRefSalesQuoteId(), true);
SalesQuoteTable.QuoteId = NumSeq.num();
}

 

edit NoYes markSalesLine(boolean _set, salesquoteLine _salesquoteLine, NoYes _value)
{
NoYes ret;
;

if (_salesquoteLine)
{
if (_set)
{
if (_value == NoYes::Yes)
{
S.add(_salesquoteLine.RecId);
}
else
{
s.remove(_salesquoteLine.RecId);
}
}
else
{
ret = s.in(_salesquoteLine.RecId);
}
}

return ret;
}

 

void clicked()
{
SetEnumerator se;
;

super();
se = s.getEnumerator();

while (se.moveNext())
{
info(strFmt(‘%1’, se.current()));
}
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s