Skip to content

Instantly share code, notes, and snippets.

Created October 7, 2015 09:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
public class SOOrderExtension : PXCacheExtension<PX.Objects.SO.SOOrder>
#region CustomerLocationID
public abstract class customerLocationID : PX.Data.IBqlField
[PXMergeAttributesAttribute(Method = MergeMethod.Merge)]
[LocationID(typeof(Where<Location.bAccountID, Equal<Current<SOOrder.customerID>>,
And<Location.isActive, Equal<True>, And<MatchWithBranch<Location.cBranchID>>>>),
typeof(InnerJoin<Address, On<Location.defAddressID, Equal<Address.addressID>>>),
DescriptionField = typeof(Location.descr), Visibility = PXUIVisibility.SelectorVisible)]
public int? CustomerLocationID { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment