Posts

Showing posts from November, 2024

Sample Lookup of color

  [Control("Integer")]     class displayColor     {         public void lookup()         {             jmgProfileTable.Color = ColorSelection::selectColor(this, jmgProfileTable.Color);             displayColor.backgroundColor(jmgProfileTable.Color);         }     }

Warehouse app link in D365 FO

  https://xxx.operations.dynamics.com/?mi=action:WHSWorkExecute

Resolving the "Could not find stored procedure 'WHSInventReserveMinValuesForDimId' Error

  Access the following URL in your D365FO environment: https://YOURDYNAMICS365URL.COM/cmp=USMF&mi=SysClassRunner&cls=Tutorial_WHSSetup Replace YOURDYNAMICS365URL.COM with your actual D365FO environment URL. Running this setup should resolve the error and allow you to complete the RAF process without issues.

GlobalUpdate script for service model: MROneBox on the machine:

Image
  K:\DeployablePackages\9831494b-335e-4ebb-9ebe-bc74a474871e\MROneBox\scripts\Update\ 1.Find the below path files K:\DeployablePackages\9831494b-335e-4ebb-9ebe-bc74a474871e\MROneBox\scripts\Update\JobAutoGlobalUpdateMR.ps1 K:\DeployablePackages 9831494b-335e-4ebb-9ebe-bc74a474871e   \MROneBox\scripts\Update\JobAutoRunDVT.ps1 2.Make a copy of the file. Edit the original, clear all contents so the file is empty, save the empty file 3.Resume the runbook from LCS

To get concatenated Display Value of Default dimension in x++

/// <summary> /// this will return a concatenated dispay value  default dimension /// </summary> /// <param name = "_defaultDimension"></param> /// <returns></returns> public static  str DimensionDisplayValue(RecId _defaultDimension) {     DimensionAttributeSetItem dimAttrItemSet;     DimensionAttribute dimAttr;     DimensionEnumeration dimensionSetId;     DimensionAttributeValueSet DimensionAttributeValueSet;     str DimensionList;     int dimAttrCount;     int i=1;     dimensionSetId = DimensionCache::getDimensionAttributeSetForLedger();     select count(RecId) from dimAttr         where dimAttr.Type != DimensionAttributeType::MainAccount         join RecId from dimAttrItemSet         where dimAttrItemSet.DimensionAttribute == dimAttr.RecId &&         dimAttrItemSe...