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: ')))
Thanks, i solved it myself.
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.
Hey,Thank you so much. It worked 🙂
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?
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,Sorry for late reply. Thanks it worked :)
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 @smarenich , Yes we need to import Order Metafields. Could you please explain in brief how to do it?
@Kyle Vanderstoep yes i am talking about importing metafield values.
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.