We need to populate warehouse location on purchase receipt screen.
[LocationAvail(typeof(POReceiptLine.inventoryID), typeof(POReceiptLine.subItemID), typeof(POReceiptLine.costCenterID),
typeof(POReceiptLine.siteID), typeof(POReceiptLine.tranType), typeof(POReceiptLine.invtMult),
DisplayName = "To Location ID", BqlTable = typeof(PX.Objects.PO.POReceipt))]public virtual int? UsrTransferDestLocID { get; set; }
public abstract class usrTransferDestLocID : PX.Data.BQL.BqlInt.Field<usrTransferDestLocID> { }
I added source code.
On purchase receipts screen when we click “+” button it gives an error.
Error Message:
UsrTransferDestLocID is our custom field.