Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Inventory Batch Expiry Date in OnHand form

$
0
0

Hi Friends,

 In Inventory OnHand form I want the Inventory Batch expiry date for the particular Item when the Item having Batch Number as the Tracking Dimension .I want this as the last field in the overview grid. I wrote the following code as the display method in the InventSum Table .

public display TransDate batchExpiryDate()

 {

TransDate expiryDate;

InventBatchId inventBatchId; i

nventBatchId = InventDim::find(this.InventDimId).inventBatchId;

 expiryDate = InventBatch::find(inventBatchId,this.ItemId).expDate;

return expiryDate?expiryDate:dateNull();

}

But It not fetching any data Always shows as empty in the grid. Suggestions and solutions are welcome.

Thanks and Regards Muthusamy


Viewing all articles
Browse latest Browse all 9880

Trending Articles