Tuesday, August 14, 2018

Friday, August 10, 2018

LS NAV - Get Data from an Infocode

LOCAL GetInfocodeValue(ICode : Text;Store : Text;Terminal : Text;Trx : Integer)
TIC.SETFILTER(Infocode,ICode);
TIC.SETFILTER("Store No.",Store);
TIC.SETFILTER("POS Terminal No.",Terminal);
TIC.SETFILTER("Transaction No.",Trx);
IF TIC.FINDFIRST THEN
  EXIT(TIC.Information);

Wednesday, August 8, 2018

LS NAV - No POS Available


  • Run LS Start as Admin
This problem can be resolved by giving all users access to the 
"C:\Program Files (x86)\LS Retail\"
Folder

Friday, August 3, 2018

Windows Phone - 80070020 windows phone - Cannot install apps, Time is too far

Manually set the time to the current date, disable automatic time updates
Reboot phone

Dynamics NAV - Import VAT, VAT Paid to customs

https://docs.microsoft.com/en-us/dynamics-nav-app/finance-setup-vat

  • Create a VAT Posting group set to "Full VAT"
  • Use this on your invoice line - the total amount goes to VAT, and shows as a VAT entry

To create a VAT posting setup to handle Import VAT

You use the Import VAT feature when you need to post a document where the entire amount is VAT. You will use this if you receive an invoice from the tax authorities for VAT for imported goods.
To set up codes for import VAT, follow these steps:
  1. Choose the Search for Page or Report icon, enter VAT Product Posting Groups, and then choose the related link.
  2. On the VAT Product Posting Groups page, set up a new VAT product posting group for import VAT.
  3. Choose the Search for Page or Report icon, enter VAT Posting Setup, and then choose the related link.
  4. On the VAT Posting Setup page, create a new line, or use an existing VAT business posting groups in combination with the new VAT product posting group for import VAT.
  5. In the VAT Calculation Type field, choose Full VAT.
  6. In the Purchase VAT Account field, enter the general ledger account to use for posting import VAT. All other accounts are optional.