Monday, September 4, 2017

Dynamics GP - "Remember User" has been checked, and user login screen no longer appears

  • GP>Tools>Setup>System>System Preferences
    • Untick Enable Remember User
  • Disable the function by editing the dex.ini
    • RememberUser=False
    • If it is not there then add this Switch to your Dex.ini and open GP again. It works for sure.
Related: Remember this company is marked
  • delete from SY01402 where sydefaulttype = 70 and userid = 'youruser'

Dynamics NAV - LS Retail - Custom Gift Card Import

SPL will send list of gift card numbers for $50 and $500 cards to be uploaded into system
The numbers are based on cards physically printed with barcodes

Clear all values from T50008 before starting, or they will be re-uploaded
Copy Number, Initial amount, Used Amount into Table 50008 Gift Card Staging

Modify Codeunit 50009 Proces Staging Gift Cards, change "Receipt" variable to increment xx number by one 00000INITxx00000000

Run C50009

Gift card entries will be created with incrementing numbers

Check T990015558 POS Data Entry to confirm gift cards imported correctly
Filter by "Created by receipt No." it will contain the INIT receipt numbers

Check T99001467 Voucher Entries to confirm gift cards imported correctly
Filter by "receipt No." it will contain the INIT receipt numbers

If numbers need to be reloaded, delete all entries in the T990015558 and T99001467 for that init number, and reimport all
/****** Script for SelectTopNRows command from SSMS  ******/
SELECT *
--delete
FROM [POS Data Entry] where [Created by Receipt No_] like '00000INIT14%' and [Applied Amount] = 0
SELECT *
--delete
FROM [Voucher Entries] where [Receipt Number] like '00000INIT14%' and [Voucher No_] not in ('20170811349')
---------------------------------------------------------------------------------
SELECT     [CRONUS$POS Data Entry].[Entry Type], [CRONUS$POS Data Entry].[Entry Code], [CRONUS$POS Data Entry].Amount,
                      [CRONUS$POS Data Entry].[Applied Amount], [CRONUS$POS Data Entry].[Created by Receipt No_] AS RctNum_POSDataEntry,
                      [CRONUS$Voucher Entries].[Receipt Number] AS RctNum_VchEntry, [CRONUS$POS Data Entry].[Date Created],
                      [CRONUS$POS Data Entry].[Expiring Date]
FROM         [CRONUS$POS Data Entry] LEFT OUTER JOIN
                      [CRONUS$Voucher Entries] ON [CRONUS$POS Data Entry].[Created by Receipt No_] = [CRONUS$Voucher Entries].[Receipt Number]
WHERE     ([CRONUS$POS Data Entry].[Created by Receipt No_] LIKE N'%INIT11%')

Friday, September 1, 2017

Dynamics NAV - Bin Transfer - Warehouse Movement


  • Use a Reclassification Journal
    • Whse. Reclassification Journal
    • Get Bin Content to get all quantities in specified bins


    • Or Use a Warehouse Movement
      • Create Warehouse Movement Template
      • Create Movement Worksheet
      • Get Bin Content to get all quantities in specified bins
      • Create Configuration Package for Table Whse. Worksheet Line (7326)
        • Set NAME filter to Worksheet Template Name
        • Export to excel
        • Update bin Code
        • Import and Apply
      • Movement Worksheet > Create Movement
        • Print Report
      • Movements>Register Movement

    Dynamics NAV - NAS Service or Web Services do not start, and are set to stopped

    This happens when the NAS services are trying to start, but the SQL service has not started up properly as yet.

    To resolve this issue

    • Set the NAS and Web Services to Delayed Start
      • This will delay the start of these programs to 2 minutes after the last automated program has started it's startup process
        • HKLM\SYSTEM\CurrentControlSet\services\\AutoStartDelay decimal number of seconds to wait
    • Set the services>Recovery>Restart after subsequent failures
      • This will keep trying to restart the service and not stop after 3 fails

    Smartconnect and GP - Limitations

    This is a list of integrations that cannot be done, or are not straightforward when using smartconnect and GP


    Dynamics GP - How to Remove GL Transactions manually without closing the year (testing and development only)

    Tuesday, August 29, 2017

    SSRS - Display multi-value parameter as text string

    =JOIN(Parameters!type.Value,",")

    To limit it to a specific length


    ="Parameter: " +Format(Parameters!DocDate.Value,"dd-MMM-yyyy") +" And Cashier: " +IIF(Len(Join(Parameters!LastUserID.Value,","))>80, Mid(Join(Parameters!LastUserID.Value,","),1,80)+" and more." , Join(Parameters!LastUserID.Value,","))