xRP Framework Discussion Forum
- 4 Topics
- 9 Replies
As I wrap my brain further around the framework I’m starting to ask myself questions on the ‘why’ I am coding things the way that I’ve coding so I get better at all of this.I’m not entirely certain what the first graph parameter of a PXSelect is being used for. I think I’ve read somewhere that I shouldn’t generate a generic PXGraph for the first parameter.So, in this example, I can see how my soOrderEntry graph becomes the source of the query so that it will return the lines from the soOrderEntry record that it currently holds.var lines = SelectFrom<SOLine>. Where<SOLine.orderType.IsEqual<SOOrder.orderType.FromCurrent> .And<SOLine.orderNbr.IsEqual<SOOrder.orderNbr.FromCurrent>>> .OrderBy<Desc<SOLine.lineNbr>> .View.Select(soOrderEntry);But, in the case where I need to find, say, a warehouse code and I use:INSite iNSite = INSite.PK.Find(this, siteID);I’ve used ‘this’ because this code resides within a
I have a customization that has CacheAttached for PMInstanceID for SOOrderEntry that is overridden in two different areas.Is there a way to control the order these apply? e.g. I need them to apply in a specific order or it doesn’t work correctly as the merge removes some attributes.
I have been doing some work with Webhooks and Acumatica, and have been running into the problem where an update done via Webhook will cause concurrency issues with editing the same Sales Order via the Acumtica front end.The most common error is: “Error: Another process has updated the 'SOOrder' record. Your changes will be lost.”In researching this issue and its underlying cause, I came across this blog post:https://asiablog.acumatica.com/2018/03/another-process-has-added-updated-deleted.htmlIt seems that Acumatica is using record timestamps a a way of managing concurrency. However, this seems like a bad idea. Especially in a web based world where many users can potentially update a record, it seems we would want to use the actual content being saved to determine if we have a concurrency issue or not. If there is no conflict, then we shouldn’t care whether one user is saving on top of another (or at least, we should let the user decide whether it’s a problem or not).The most obvious ex
Hi community!I’ve seen some code inside the PX.Commerce.BigCommerce dll related to product modifiers in BigCommerce like the ProductsModifierData class, however, I can’t see how this can be used.The idea is to implement a custom export process for Stock and Non-Stock items into BigCommerce with some custom variations (modifiers) depending on several factors like if the item is a kit and has a substitution defined in the Kit Specification screen. For example, if an item A is defined as a Kit and has a substitution defined in the Kit Specification screen, then we would need to add a modifier with the substitution item for that item A in BigCommerce, if it doesn’t then the standard export process will follow.Thanks in advance.
Login to the community
Social LoginLogin with your Acumatica account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.