Есть 2 отличные функции у класса Global:
container
buf2Con(Common common)
static void
con2Buf(container c, Common common)
И ещё полезные: con2List, con2Str, buf2Buf, bufCmp
X++:
static void dspic(Args _args)
{
CustTable custTable;
container conCustTable;
;
select firstonly custTable;
conCustTable = buf2con(custTable);
changecompany ("DAT")
{
con2buf(conCustTable, custTable);
info (strfmt("%1", custTable.dataAreaId));
}
}