@Kyle Vanderstoep yes i am talking about importing metafield values.
Hi @smarenich , Yes we need to import Order Metafields. Could you please explain in brief how to do it?
Hello,I have tried to get order metafields using MapBucketImport function but there are no metafields returned, then i try to get through RestApi and it gives error "Object reference not set to an instance of an object." Could you please check my code what i am doing wrong..public delegate void MapBucketImportDelegate(BCSalesOrderBucket bucket, IMappedEntity existing);[PXOverride]public void MapBucketImport(BCSalesOrderBucket bucket, IMappedEntity existing, MapBucketImportDelegate baseMethod){baseMethod(bucket, existing);MappedOrder obj = bucket.Order;OrderData data = obj.Extern;SalesOrder impl = obj.Local; BCSalesOrderProcessor _processor = PXGraph.CreateInstance(); var client = BCConnector.GetRestClient(_processor.GetBindingExt());orderMetaFieldDataProvider = new OrderMetaFieldRestDataProvider(client);data.MetaFields = orderMetaFieldDataProvider.GetAll(new FilterOrderMetaField { }, bucket.Order.ExternID).ToList() ?? new List();if (data?.MetaFields != null){ foreach (var option in d
Hi,Sorry for late reply. Thanks it worked :)
Hello @yhartman , Print link means i need a link in each row of Data Table , on click of that link need to print sales order..
Hi, yes i have already added link in navigation section for print orders and in the results grid section added CreatedDatetime field for that navigation. So,currently it displays CreatedDatetime Field as link in dashboard data table. How to add column in dashboard table that has print text and navigation added?
Hey,Thank you so much. It worked 🙂
Hello @dgodsill97, Thanks for the reply. I have already implemented these settings before in my local instance. But i think problem is version. In my online instance i have 2020 R2, after updating to 2021 R2 it worked fine for me.
Thanks, i solved it myself.
Yes sure,i have added this Substring function in the Source Field while doing entity mapping for Sales Order Import =>=Substring(CustomerMessage,CInt(InStrRev(CustomerMessage, 'PO Number: ')) + Len('PO Number: '),Len(CustomerMessage) - (CInt(InStrRev(CustomerMessage, 'PO Number: ')) + Len('PO Number: ')))
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.