Langsung ke konten utama

Postingan

Menampilkan postingan dari Maret, 2017

Starting Dynamics AX for Retail (POS Development)

Tools we need to instal : Visual Studio for development tools. Dev Express License ( Optional  for better touch GUI) Retail SDK (POS Source Code) You can found Retail SDK on Dynamics AX Installation. After installation finished you can found the source code  on document folder. For very first time lets  focus at the two folder on the POS Plug-ins, there is  Services  and  Triggers  because almost all POS function source code is on that folder. Services : Services are actually .Net assemblies. POS implements many of the features as services using interfaces and can be modified using Visual Studio. POS loads these services at run time by calling the interfaces. So whenever you modify or extend the standard service keep the assembly name same as original so that POS can recognize it and call it at run time. Triggers : Triggers are called before and after the operations. There are two types of triggers, Pre-triggers and Post-triggers. Pre-triggers provide a way

Solved : Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode

How To Solve Error :  Cannot edit a record in Position hierarchies (xyz). Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode. select forUpdate * from xyz where xyz.recid== _RecId ; try { ttsBegin; _Value= “Abcd”; xyz.Name = _Value; xyz.validTimeStateUpdateMode(ValidTimeStateUpdate::Correction); xyz.ValidFrom =today(); xyz.ValidTo=dateMax(); xyz.update(); ttsCommit; } catch { ttsAbort; }