HDTN-268580 - Padding "0" is missing in the bill Id/voucher No while importing a voucher

Issue No: AP-10099
Created 1/7/2022 5:33:43 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-268580 - Padding "0" is missing in the bill Id/voucher No while importing a voucher|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-268580]   *Steps:*   # Select voucher from tblIPBillStage # Update the selected voucher in tblIPBillStage # Delete select voucher from tblAPBill # Execute [dbo].[uspIPProcessERPVoucher]   *Issue:*   Imported vouchers are missing zero padding in the bill Id. When we create a voucher in UI, Bill Id is correct.   !0.jpg|height=527,width=1042!   *Accepted:*   Imported vouchers via backend should have correct Voucher No.   Note: While importing a voucher, we are calling AP procedure "uspAPCreateVoucher"