Description |
Steps to recreate
1. Create Contract with same UOM's
!pastedImage_d104914_0.png! !pastedImage_d104914_1.png|height=677,width=1078!
2. Create Load Shipment with multiple container Notice that all UOM's are bushels
!pastedImage_d104914_2.png!
!pastedImage_d104914_3.png! 3. Process the shipment to inventoryReceipt unpost the receipt and Edit the net Column !pastedImage_d104914_4.png!
4. After editting the Net column Recalculate the Other charge
!pastedImage_d104914_5.png!
5. Click the Voucher button in Load Shipment Cost Tab
!pastedImage_d104914_6.png|height=711,width=1799!
Issue: Notice that the billed and UOM that was use in voucher was all the same UOM, yet when we debug the script it pass the incorrect UOM and qty.
!pastedImage_d104914_7.png!
Acceptance:
*When creating Voucher once Inventory Receipt is already created you can use* {color:#d4d4d4}@voucherDe{color}{color:#d4d4d4}tailReceipt{color}{color:#d4d4d4}C{color}{color:#d4d4d4}harge{color} *param to create the Voucher*
{noformat}Use the @voucherDetailReceiptCharge
Example:
EXEC [dbo].[uspAPCreateBillData]
@userId = @intUserId
,@vendorId = @intEntityId
,@type = 1
,@voucherDetailReceipt = @voucherItems
,@voucherDetailReceiptCharge = @voucherOtherCharges
,@shipTo = @intLocationId
,@shipFrom = @intShipFrom
,@shipFromEntityId = @shipFromEntityId
,@vendorOrderNumber = @vendorOrderNumber
,@voucherDate = @voucherDate
,@currencyId = @intCurrencyId
,@billId = @intBillId OUTPUT
END{noformat}
When creating Voucher without Inventory Receipt you can use the you use the {color:#d4d4d4}@voucherDe{color}{color:#d4d4d4}tailLoadNonInv{color}{noformat}Use the @voucherDetailLoadNonInv
Example:
EXEC uspAPCreateBillData @userId = @intEntityUserSecurityId
,@vendorId = @intVendorEntityId
,@voucherDetailLoadNonInv = @VoucherDetailLoadNonInv
,@shipTo = @intShipTo
,@billId = @intBillId OUTPUT{noformat}
Voucher Totals should be accurate to Inventory Receipt.
|