Declare variable in class declaration #define.CurrentVersion(1) #localmacro.CurrentList _itmeid, _description, _classtype #endmacr define pack method public container pack() { return [#CurrentVersion,#CurrentList]; } Then define unpack method public boolean unpack(container _packedClass) { Version version = conpeek(_packedClass,1); ; switch (version) { case #CurrentVersion : [version, #CurrentList] = _packedClass; break; default : return false; } return true; }
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .