Skip to main content
Solved

CstPXSegmentMask field empty when I select a row in new dialog


Forum|alt.badge.img

Hello expert.

I create a CstPXSegmentMask field. I query data succes for it, but when I select a row in dialog, textbox still empty.

Can you help me? Thank you so much.

 

Best answer by thanhaim

@Naveen Boga while you find the solution. I try delete this field and backup old version SO, later I add it again, well succes 😁😁😁.  I think I miss some step or my local environment error. Very Thank you so much, hope you helthy. @Naveen Boga

View original
Did this topic help you find an answer to your question?

12 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 14, 2023

Hi @thanhaim  Can you please share the DAC field for the Shipment Via field?


Forum|alt.badge.img
  • Author
  • Freshman II
  • 35 replies
  • March 14, 2023

@Naveen Boga this is DAC Field. Thankyou

        #region UsrShipVia1

        [PXDBString(100, IsUnicode = true, InputMask = "")]

        [PXSelector(typeof(Search<Carrier.carrierID>),

            typeof(Carrier.description))]

        [PXDefault()]

        [PXMergeAttributes(Method = MergeMethod.Merge)]

        [PXUIField(DisplayName = "Ship Via 1", Visibility = PXUIVisibility.SelectorVisible)]

        public virtual string UsrShipVia1 { get; set; }

        public abstract class usrShipVia1 : PX.Data.BQL.BqlString.Field<usrShipVia1> { }

        #endregion


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 14, 2023

@thanhaim  Thanks for sharing!

 

Can you please change it to PXSelector control instead of PXSegmentMask? As per you DAC, it will work with the PXSelector control.


Forum|alt.badge.img
  • Author
  • Freshman II
  • 35 replies
  • March 14, 2023

@Naveen Boga I not found where declare PXSelector. Can you guid me?

 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 14, 2023

@thanhaim  Click on the Control, it will open a dropdown field and there you select the SELECTOR instead SEGEMENT MASK.

Now, it seems you already selected the Selector control (which is nothing but PXSelector in the design page). Please publish the package and check.

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • 35 replies
  • March 14, 2023

@Naveen Boga I published project but it still empty.

 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 14, 2023

@thanhaim  Can you please share the customization package here?


Forum|alt.badge.img
  • Author
  • Freshman II
  • 35 replies
  • March 15, 2023

@Naveen Boga here is my SO package, thank you so much.

 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 15, 2023

@thanhaim Thanks for sharing, I will check this couple of hours and get back to you.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 15, 2023

@thanhaim You have not added the DLL or DAC files to the customization package.

However, I have changed the Control from PXSegmentMask to PXSelector and attached the package here.

Please deploy and verify.

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • 35 replies
  • Answer
  • March 15, 2023

@Naveen Boga while you find the solution. I try delete this field and backup old version SO, later I add it again, well succes 😁😁😁.  I think I miss some step or my local environment error. Very Thank you so much, hope you helthy. @Naveen Boga


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3377 replies
  • March 15, 2023

@thanhaim  Awesome, thanks for sharing the update!!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings