Hello! I would like to add a selector field on the Invoice line where a user can select any customer they need to. For example from Receivable, Invoice and Memo Screen, I would like to select my customer from my header then have the flexibility of selecting various customers at from the lines. Link each line to a to a unique customer. This is just a statistical field BTW.
Answer
How to add a Customer Selector Field at Line level on from the Invoice Screen
Best answer by Naveen Boga
Hi
Also. attached screenshot and customization package for reference. You can deploy this package to your instance and verify.
Customization: Line level Customer ID has defaulted to the Header Customer ID, and if required we can the Line level Customer ID

DAC field
public class ARTranExt : PXCacheExtension<ARTran>
{
[PXUIField(DisplayName = "Customer ID")]
[PXDefault(typeof(ARInvoice.customerID))]
[CustomerActive]
public int? UsrCustomerID { get; set; }
public abstract class usrCustomerID : PX.Data.BQL.BqlInt.Field<usrCustomerID> { }
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.