Skip to main content
Solved

Import Scenario: Last Cost not getting updated

  • Aug 8, 2022 6:35 AM UTC
  • 14 replies
  • 521 views
  • Translate All

Forum|alt.badge.img+3

Hello, I have successfully imported the stock items in my instance but the Last Cost isn’t getting updated. Below are the screenshots on the same.
 

 

 

Kindly let me know what mistake is being done here.
Thanks.

Best answer by Naveen Boga

@Harshita  If you look at the screenshots above

for the ITEM1 → Last Cost field is a non-editable field

but GUVAS → Last Cost field is enabled.

 

You can update the GUVAS  item in your import scenario and check whether the Last Cost field is updated or not.

View original

14 replies

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 6:57 AM UTC

Hi @Harshita  Please share the XML format of your Import Scenario by using below option.

 

Translate

Forum|alt.badge.img+3
  • Author
  • Captain II
  • Aug 8, 2022 7:32 AM UTC

@Naveen Boga Thank you for your prompt reply. Here’s the required XML format.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 7:41 AM UTC

Hi @Harshita  I have modified a little bit of your import scenario and verified it and working as expected.

Please find the screenshot for reference.

 

You can modify accordingly and verify 

 

 

 

 

Translate

Forum|alt.badge.img+3
  • Author
  • Captain II
  • Aug 8, 2022 8:01 AM UTC

Thank you @Naveen Boga for the solution. I’ve tried on the basis of the above mentioned scenario but still my “Last Cost” isn’t getting updated.

 

 

 

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 8:06 AM UTC

@Harshita  The above import scenario is working fine.

Can you please let me know what is the  Valuation Method you have to give for the Stock Item?

 

If you have given the “Standard” then the system will not allow us to update the Last Cost. 

 

 

Translate

Forum|alt.badge.img+3
  • Author
  • Captain II
  • Aug 8, 2022 8:11 AM UTC

The valuation method selected here is “Average”
 

 

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 8:59 AM UTC

@Harshita  Why this field is a non-editable field?

Do you have any customization on this Last Cost field?

 

Translate

Forum|alt.badge.img+3
  • Author
  • Captain II
  • Aug 8, 2022 9:23 AM UTC

No @Naveen Boga . There isn’t any customisation applied.
Even I checked for other stock items where Valuation Method=Average. The field is editable.
 

 

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Answer
  • Aug 8, 2022 9:46 AM UTC

@Harshita  If you look at the screenshots above

for the ITEM1 → Last Cost field is a non-editable field

but GUVAS → Last Cost field is enabled.

 

You can update the GUVAS  item in your import scenario and check whether the Last Cost field is updated or not.

Translate

Laura03
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 9:49 AM UTC

Removed.

Translate

Forum|alt.badge.img+3
  • Author
  • Captain II
  • Aug 8, 2022 12:38 PM UTC

Hello @Naveen Boga thank you for your prompt replies. I again tried to import some stock items with the below scenarios. And hence now the “Last Cost” field is editable where Valuation Method=Average
 

 


Hence, resolved.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Aug 8, 2022 12:40 PM UTC

@Harshita Awesome. Thanks a lot for the update.

Translate

Forum|alt.badge.img+1
  • Semi-Pro III
  • Jun 18, 2025 9:00 PM UTC

To whoever is also running into this issue, this is related to a missing Default Warehouse. During the Import, the Last Cost Field is then locked down somehow.

Workaround is to set a Default Warehouse as the Last Cost / the Cost Layer is typically tied to a specific Warehouse (i.e. in Tables like INSiteStatus).

 

Not sure if it is considered a Bug as the Cost should be tied to a Warehouse.

Translate

Forum|alt.badge.img+5

​@krausef77 Did you get any chance to identify this is a bug?

Translate