Job to check the table before insert in to that concern table for the existence in Dynamic AX
Hi, static void AlfasithCode2CheckB4Insert(Args _args){container contain; str 30 Name; int i; ContanerTable ContanerTableLoc; contain = [“Ram”,”Sam”,”Mam”,”Kamal”,”Ram”,”Raja”,”Rani”,”Kamal”]; for(i = 1; i <= conLen(contain) ;i++) { name = conPeek(contain,i); select ContanerTableLoc where ContanerTableLoc.Names == name; if(!ContanerTableLoc) […]
Job to release the product for current legal entity in Dynamic AX
Hi, static void ReleaseProductAlfasith(Args _args){ EcoResProductVariantCreationMgr ProductVariantCreationMgr; _args = new Args(); _args.record(EcoResProduct::findByProductNumber(“000149_202”)); ProductVariantCreationMgr = EcoResProductVariantCreationMgr::newFromArgs(_args); ProductVariantCreationMgr.parmCalledFromJob(true); ProductVariantCreationMgr.buildVariantSuggestions(); ProductVariantCreationMgr.run(); info(“Item Sucessfully released”);} Regards,
“SysDictTable Object not initialized” when transferring the data from staging table to target table for product entity in DMF- Dynamic AX
Hi, This is the error I’m receiving when importing the product entity using DMF.while transferring record from staging to target table. Sol:Just add following code inClass: DMFEntityWriter,method : Write,line : 217Note: inside the parent while loop in line 215. if ( currentNode.ChildDataSource == ‘RetailInventTable’ ){ continue;} Regards,
DMF Error: Duplicate tag exists in file – Dynamic AX
Hi, Please check your file that you uploading to staging table.Sol.Header name (column name) is repeated, just check it remove it.Note: NO COLUMN NAME SHOULD USER DEFINED OR REPEATED. Regards,