Posts

Showing posts from July, 2024

Prefix Add string

  public string GetNextPurchaseOrderPOLineItemNo(List<PurchaseOrder_TDI> purchaseOrderTDIlst)         {             long currentItem = 0;             if (purchaseOrderTDIlst.Count > 0)             {                 var maxItem = purchaseOrderTDIlst.Max(p => Convert.ToInt32(p.POLineItemNo));                 if (maxItem != 0)                 {                     currentItem = Convert.ToInt32(maxItem) + 10;                 }                 else                 {                     currentItem = 10;         ...