Update multiple SKU Counting periods

tameemabdullahtameemabdullah Member Posts: 17
Hi guys,

I cant seem to find if this is standard in NAV and dont understand why it isnt.
Currently you have to go through each invidual SKU to update the counting period after you have run a cycle count.

What then tried to do was use a report to run through the SKU table with this code that calls the CU which handles the update;

PhysInvtCountMgt.UpdateSKUPhysInvtCount("Stockkeeping Unit");

The problem is there is a validation dialog that comes up, is there a way to hide the dialog so it runs through all the SKUs?

Comments

  • blintjensblintjens Member Posts: 4
    Hi,

    Yes:
    Set the "HideValidationDialog" variable by calling the function "SetHideValidationDialog" in the same codeunit first.
Sign In or Register to comment.