Hi @Naveen B a lot of thanks for your help. The error was int the keys of he DAC (SQL VIEW) view. I put the correct keys on my DAC and it works!
Hi @eddiedaco Is data available related to “21-0049” in this CEEstimateEstimate table? Hi @Naveen B yes, data is available
Hi @eddiedaco Can you change the selector like below and check once? [PXSelector(typeof(Search<CEEstimateEstimate.idPhaseCode , Where<CEEstimateEstimate.estimateNbr.Equal<Current<CEBidPackage.estimateNbr>>>>), Hi @jinin it didn't work
Hi @eddiedaco There may be chance of getting spaces as suffix for that string just like below, hence it is NOT matching and not filtering the data into the selector. Please find the screenshot for your reference. a lot of thanks @Naveen B ill check it!!!
Hi @eddiedaco As the requirement is to populate the value of 1 selector based on the value of another, please find the below Post, for your reference. Hope this helps https://stackoverflow.com/questions/43921265/update-selector-selection-with-another-selectors-selected-value Thanks thanks! @ChandrasekharM ill check it!
Hi @eddiedaco , If you wanted to assign the current Branch, you can use below code. var getCurrentBranchID = Base.Accessinfo.BranchID; if you wanted to assign the current branch ID as a default value at DAC. #region UsrBranchID [PXDBInt()] [PXDefault(typeof(AccessInfo.branchID))] public virtual Int32? UsrBranchID {get; set;} public abstract class usrBranchID : PX.Data.BQL.BqlInt.Field<usrBranchID> { }#endregion Hi @Naveen B the client declined to use this field. I cant test it.
The problem was the “update” of yourview.Update. for every iteration the “.update” show error. The solution was change .update for yourview.Cache.SetValue<yourDAC.yourField> (soLine, yourvalue)
Already have an account? Login
Enter your 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.