Posts

Showing posts from January, 2020

Override standard Lookup and construct tree structure in Category Id field. and Process while Modifying KGSPMICategoryHierarchy field

Override standard Lookup and construct tree structure in Category Id field. and  Process while Modifying KGSPMICategoryHierarchy field class KGSPMIEcoResProductParametersEventHandler {     /// <summary>     /// Created by Naren on 11/12/2019     /// Project: KGSPMIProdMasterToMagento     /// Override standard Lookup and construct tree structure in Category Id field.     /// </summary>     /// <param name="sender"></param>     /// <param name="e"></param>     [FormControlEventHandler(formControlStr(KGSPMIIntegrationParameters, MagentoHiearchy_MagentoCategory), FormControlEventType::Lookup)]     public static void MagentoHiearchy_MagentoCategory_OnLookup(FormControl sender, FormControlEventArgs e)     {         FormControlCancelableSuperEventArgs event = e as F...

Magento Product Catalog and price extract

Magento Product Catalog and price extract: 1. Create a table KGSPMIProdMasterPriceTracker fields like   ItemId,DisplayProductNumber,salesprice,productgroupid,taxitemgroupid,itemdataareaid,searchname, productsearchname,salesunit,productname,productdescription,inventoryunit,isprocessed,multilinedisc, linedisc. 2. create a class which data is inserted in above created table  class KGSPMIProdMasterPriceTrackerStartUpJob {            /// <summary>     /// Runs this class to inisialize the KGSPMIProdMasterPriceTracker for the first time only.     /// </summary>     /// <param name = "_args">The specified arguments.</param>     public static void main(Args _args)     {           EcoResProduct   Ecoresproduct;         KGSPMIProdMasterPriceT...

Magento Integration Specification ERP Trade Agreement - Product Pricing & Discounts Extract

Magento Integration Specification ERP Trade Agreement - Product Pricing & Discounts Extract: Main table pricediscadmtrans, need to add NoYesId field. And write the code by taking extension of the table for Insert and Update methods  [ExtensionOf(tableStr(PriceDiscAdmTrans))] final class KGSPMIPriceDiscAdmTrans_Extension {     public void  insert()     {         this.KGSPMIIsProcessed  = NoYes::No;         next insert();                 }     public void update()     {         this.KGSPMIIsProcessed  = NoYes::No;         next update();       } } -------------------------------------- For reset for the pricediscadmtrans table of which added field of...