InventoryAllocations not populated in TallyConnector 2.2.0 but missing OtherFields in 3.0.3-alpha while using GetVouchersAsync

1 week ago 17
ARTICLE AD BOX

I am using the TallyConnector 2.2.0 NuGet package to extract voucher data from Tally.

Issue 1 (TallyConnector 2.2.0):

While using the GetVouchersAsync method, the InventoryAllocations property inside the Voucher object is always empty, even for inventory based vouchers such as Sales Invoices. However, in this version the OtherFields property is available and contains data.

Issue 2 (TallyConnector 3.0.3-alpha):

When I upgrade to TallyConnector 3.0.3-alpha and use the same GetVouchersAsync method, InventoryAllocations are populated correctly. But in this version the OtherFields property that was available earlier in vouchers is no longer present, so I am unable to access those fields.

var tallyService = new TallyService(); var requestOptions = new RequestOptions { FromDate = new DateTime(2024, 4, 1), FetchList = Constants.Voucher.InvoiceViewFetchList.All, Filters = new() { Constants.Voucher.Filters.ViewTypeFilters.InvoiceVoucherFilter } }; var vouchers = await tallyService.GetVouchersAsync(requestOptions);

Observed behavior:

Version: 2.2.0 InventoryAllocations: Not populated OtherFields: Available

Version: 3.0.3-alpha InventoryAllocations: Populated OtherFields: Missing

My questions:

Is InventoryAllocations not being populated in TallyConnector 2.2.0 due to a bug or missing fetch fields?

If yes, what is the correct way to fetch inventory allocations in version 2.2.0?

In TallyConnector 3.0.3-alpha, how can I access the fields that were earlier available under OtherFields while still using GetVouchersAsync?

I am looking for either a fix or workaround for inventory allocations in version 2.2.0, or a way to retrieve OtherFields in version 3.0.3-alpha.

Any guidance would be appreciated.

Read Entire Article