Hi every one,
I have a custom field on POLine named “Custom Note” (UsrCustomNote)

I want to bring this field to POReceiptLine when creating Purchase Receipt by click button “ENTER TO RECEIPT”
The goal like:

Could you please help me?
Regards,
Khoi
Hi every one,
I have a custom field on POLine named “Custom Note” (UsrCustomNote)

I want to bring this field to POReceiptLine when creating Purchase Receipt by click button “ENTER TO RECEIPT”
The goal like:

Could you please help me?
Regards,
Khoi
Best answer by Naveen Boga
Hi
I have verified with the below and it is working fine.
public class POReceiptLineExt : PXCacheExtension<POReceiptLine>
{
[PXDBString(100,IsUnicode =true)]
[PXDefault(typeof(Search<POLineExt.usrCustomNote,Where<POLine.orderType,Equal<Current<POReceiptLine.pOType>>,
And<POLine.orderNbr,Equal<Current<POReceiptLine.pONbr>>,
And<POLine.lineNbr,Equal<Current<POReceiptLine.pOLineNbr>>>>>>), PersistingCheck = PXPersistingCheck.Nothing)]
public string UsrTestField { get; set; }
public abstract class usrTestField : PX.Data.BQL.BqlString.Field<usrTestField> { }
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.