In AX4.0 one report is there:
public void executeSection()
{
PurchLine PurchLine;
while select PurchLine where PurchLine.ItemId == InventTable.ItemId &&
PurchLine.PurchStatus == PurchStatus::Backorder &&
PurchLine.createddate <= AsofDAte
{
VendName = PurchLine.VendorName_IN;
RemainQty = PurchLine.RemainPurchPhysical;
super();
}
}
// How to write ““PurchLine.createddate <= AsofDAte”” in Ax-2009…