Set incomeSet = new Set(Types::String);
cntainer outputCon;
//filling in set.
outputCon = condel(incomeSet.pack(), 1,3);
The condel() funciton deletes all special symbols and other staff and in the end you'll get something like that:
Set incomeSet = new Set(Types::String);
cntainer outputCon;
//filling in set.
outputCon = condel(incomeSet.pack(), 1,3);
The condel() funciton deletes all special symbols and other staff and in the end you'll get something like that:
if (fds.recordsMarked().lastIndex() > 1)
{
info("more than 1 record was selected");
}
private boolean checkItemSerialized(ItemId _itemId)
{
EcoResTrackingDimensionGroupItem trackingDimensionGroupItem;
EcoResTrackingDimensionGroup trackingDimensionGroup;
boolean ret;
;
trackingDimensionGroupItem = EcoResTrackingDimensionGroupItem::findByItem(curext(), _itemId);
trackingDimensionGroup = EcoResTrackingDimensionGroup::find(trackingDimensionGroupItem.TrackingDimensionGroup);
if (trackingDimensionGroup.Name == #DimSerial)
{
ret = true;
}
return ret;
}
1) Go to Data Dictionary -> Base enums -> and find PrintMgmtDocType.
2) Add new enum into this base enum with name "DocName"
3) Go to Classes -> PrintMgmtDocType
4) Find method getDefaultReportFormat() in this class and add new case statement into it for our enum
5) Add appropriate tableId and FieldId into getQueryRangeFields() and getQueryTableId() methods for further treatment
6) Next, add a case statement to the method getDocumentTypes() of the class PrintMgmtNode child class, i.e. PrintMgmtNode_CustTable or PrintMgmtNode_Sales or whichever node you want to add it to in the print management hierarchy. In our situation it was class WHSPrintMgmtNode_WHS.
public void lookup(FormControl _formControl, str _filterStr)
{
Binary customColors;
int r, g, b;
container chosenColor;
[r, g, b] = WinApi::RGBint2Con(MCROrderParameters_CancelledLineColor.backgroundColor());
chosenColor = WinApi::chooseColor(element.hWnd(), r, g, b, customColors, true);
if (chosenColor)
{
[r, g, b] = chosenColor;
MCROrderParameters.CancelledLineColor = Winapi::RGB2int(r, g, b);
MCROrderParameters_CancelledLineColor.backgroundColor(MCROrderParameters.CancelledLineColor);
}
}
public void modified()for change control color immediately.
{ MCROrderParameters_CancelledLineColor.backgroundColor(MCROrderParameters.CancelledLineColor);
}
#Characters_CN
List list = new List(Types::String);
ListIterator iterator;
container packCon;
int slashCount = 0;
list = strSplit(this.CoverSheetURL, #slash); //this.CoverSheetURL - your string value iterator = new ListIterator(list);return conPeek(packCon, slashCount);
while (iterator.more())
{
packCon += iterator.value();
slashCount++;
iterator.next();
}