Skip to main content

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.

 

@thanhaim  Awesome, thanks for sharing the update!!


@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


@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.

 


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


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

 


@thanhaim  Can you please share the customization package here?


@Naveen Boga I published project but it still empty.

 


@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.

 


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

 


@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.


@Naveen Boga this is DAC Field. Thankyou

        #region UsrShipVia1

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

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

            typeof(Carrier.description))]

        bPXDefault()]

        (PXMergeAttributes(Method = MergeMethod.Merge)]

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

        public virtual string UsrShipVia1 { get; set; }

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

        #endregion


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


Reply