Quantcast
Channel: Forums - Recent Threads
Viewing all 143529 articles
Browse latest View live

Solution for mistakenly unsettle Withholding Tax Voucher for a Vendor.

$
0
0

Listing my complete scenario.

1. A Vendor invoice was generated amounting 1,000/-

2. While generating payment 10% WH Tax was selected.

3. Payment of Check generated as 900/- and 100/- went into WH Tax automatically.

Now,

4. From Close Transaction editing in "All Vendors" I have wrongly Unsettled WH TAX Voucher of 100/-, it automatically reversed the Tax Entries into Ledger Accounts, right after pressing unsettled button.

5. Now, I have invoice amounting to 1,000/- and Payment of 900/- ... When I settle it, WH Tax Amount of 100/- remains as it is and I have no option to create its settlement. 

6. If I pass JV in GL Module selecting TAX Accounts and Offsetting with Vendor, amount is correctly settled, but, it does not reflects into WH TAX Standard Report.

Need any help how to get those automatically reversed entries back in actual state i.e. the way it worked while generating payment of invoice.... ?

Best Regards,


Adding two new fields to LedgerTransVoucher

$
0
0

Hi everyone,

I have  to add two new fields in the form of LedgerTransVoucher that display the AccountNum and Name of both customers and vendors based in the Voucher value. So i added two display methods that return correctly the two fields but the ctrl+G doesn't work with display methods. I have read some posts that suggest to create a syscomputed column in a view but in this case it doesn't work because the table of generalJournalEntry related to the form can't be linked to the two datasources CustTrans and VendTrans (that contain the accountNum) at the same time. i have tried to make it work but it isn't possible. 

So i have i want to create two new fields in GeneralJournalEntry (accountNum and name) to relate it to the form but i can't know where to insert the code that retrieves the data from custTrans, vendtrans and dirpartyTable( that contains Name field).  I need your help please.

Best regards

Hiding Notes in Opportunity Entity

$
0
0

Hi all,

I need to hide a only notes section on Opportunity entity but Activities ,Posts should be visible .I tried giving below code in webresource file and called this function in onload.But its was not working.

function DisableNotes()
{
debugger;
$("#notescontrol a[title='NOTES']").attr('disabled', 'disabled');
}

Kindly let me know how to add jquery in webresource.

DB Sync fails while deploying Packages from LCS - The process cannot access the file 'dbsync.log' because it is being used by another process

$
0
0

Hi All,

while deploying packages from LCS it keeps failing with the below error message.  Has anyone come across this issue. Sync engine works fine while I try to do sync manually from the server using VS database Sync or using Command line.

FYI, Deployable packages from Microsoft also gives same error.

09/24/2018 07:42:46: Infolog diagnostic message: 'Cannot execute the required database operation.
The SQL database has issued an error.' on category 'Error'.
09/24/2018 07:42:46: Infolog diagnostic message: 'Object Server Database Synchronizer: ' on category 'Error'.
The process cannot access the file 'C:\DynamicsAX\RunbookExecution-ExecuteParallelRunbook-c4943f70-0a7a-4387-b029-7368883124b3_I0_R0\output\Step10\dbsync.log' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)
at Microsoft.Dynamics.AX.Deployment.Setup.Log.FlushLog()
at Microsoft.Dynamics.AX.Deployment.Setup.Log.<>c__DisplayClass12_0.<LogImpl>b__0(Object x)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Thanks,

Manish

Optimize system with more than 15 millions serial

$
0
0

Dear Friends,

I have a problem:

1/ Optimize system with more than 15 millions serial?. Could you advise it?.

Break Space Issue when importing DATA into CRM from Excel File

$
0
0

Hello, 

I have an issue with a field that value is getted from a lookup field the mater is that when i choose a value from the lookup CRM replaces spaces with breaking spaces and that have impacts when trying to import data from excel file.

Any idea about this issue i have spent more than 6 days to analyse the issue without results ?? 

need your help as soon as possible !! 

Field Service Mobile App: Update and save record in one command possible?

$
0
0

Hi,

I am exploring the Field Service Mobile App (resco Woodford).

I have created a custom command "Finalize", which sets the status of a bookable ressource booking record to completed.

Problem is, that the click on this command does not save the record.

So right now, the flow for the user is to first click the custom command an then needs to click "Save" afterwards.

I am looking for a way to consolidate both clicks, i.e. the user clicks on the custom command "Finalize", which sets the status AND saves the record in one action.

Is that possible?

Best regards,

Tino

Multiple Agents against single Pool

$
0
0

Hi Experts,

I have following 3 VMs:

1- Development

2- RahmanD365U12

3- EhtashamD365

 

I am doing all the developments over Development VM. I have setup the VSTS and doing check-ins.

On other two VMs, I have configured the Build Agent.

Now in my scenario, when I make the check-in, only one VM gets updated while the other VM's agent sit Idle. What am I missing? I want to make single check-in and things should get deployed over both VMs.

Is it possible to execute the Builds over the single Pool with different agents? Or we need to create separate? Kindly suggest


Attribute enabling for reporting managers

$
0
0

Hi there,

I have created a form on which I have made a java script to disable all the attribute on save. But I also want to enable these attributes for reporting managers.

Can you please help me to do it? 

Thanks in Advance!

Hanshu

Issues in Business Central and D365 for Sales Integration

$
0
0

I have been trying to use the job queues to synchronize the customer entity automatically. I have only been able to synchronize from Business Central to D365 for Sales, but the same does not work in the opposite direction. I have tried to update the customer name in D365 for sales and then run the job to synchronize the data in Business Central but I have not been able to obtain the updated data. Please help me with the same.

Thanks in advance.

Audit file SAT-T for Polen

$
0
0

Hi,

When I run the SAT-T report I receive this error message. Does anyone knows what it means? 

Error executing code: AssetService object does not have method 'readPeriod'.

Payment Terms - Discussion

$
0
0

Hi there!

How can be the best way to set up this payment codes?

CodeDescriptionDays for net payment
50A50R50% in advance + 50% in reception
30A70R30% in advance + 70% in reception

I am looking for the best approach.

Thank you in advance,

Magno

Field Service Mobile Application Crash Issue

$
0
0

Hi All,

When i open field service mobile application and click on any menu, it crash's and close the application. Below is the crash log,

Note :  I am using latest version of field service mobile application.

SqliteException:  ---> SQLite error
no such table: rs_changelog
Failed cmd: SELECT 0… FROM rs_changelog WHERE exkind IS NOT NULL
Any help would be appreciated.
Regards,
Shahbaaz

Extensible enum.

$
0
0

Hi all,

I was trying to create an extension for one enum and adding my custom element. but while using that in the some scenarios like in comparison or in some query ranges, the not working properly. later i found that we cant directly use in those area. https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/extensibility/add-enum-value , from here i got some information.

So my question is, how can i use the extended enum values like how we are using the standard enum values. is there any why to achieve?

Thanks in advance,

Midhun.

How to get the instance of a table that you want in a DataProvider Extension Class

$
0
0

Hi Community, 

I am trying to get an instance of a table object in my DataProvider Class. I am trying to refer to the FreeTextInvoiceTmp and FreeTextInvoiceHeaderFooterTmp Tables, where the datas are stored.

[ExtensionOf(classStr(FreeTextInvoiceDP))]

[
    SRSReportParameterAttribute(classStr(FreeTextInvoiceContract))
]
final class FreeTextInvoiceDP_Class_Extension
{

    public FreeTextInvoiceHeaderFooterTmp setGetFreeTextInvoiceHeaderFooterTmp()
    {
        return freeTextInvoiceHeaderFooterTmp;
    }

    public FreeTextInvoiceTmp setGetFreeTextInvoiceTmp()
    {
        return freeTextInvoiceTmp;
    }

    protected void populateFreeTextInvoiceTmp(  CustInvoiceJour _custInvoiceJour,
                                                CustInvoiceTrans _custInvoiceTrans,
                                                TaxSpec _taxSpec,
                                                CustPaymSchedLine _custPaymSchedLine,
                                                CustTrans _prepaymentCustTrans,
                                                TaxTrans _prepaymentTaxTrans)
    {
        CompanyRegNum       CompanyRegNum;
        URL                 CompanyURL;
        VATNum              VatNum, CompanyVatNum;
        Description         ContractID, Beneficiary1;
        TransDate           ServiceFrom, ServiceTo;
        CustInvoiceTable    custInvoiceTable;
        CompanyInfo         companyInfo;

        
        FreeTextInvoiceTmp theFreeTextInvoiceTmp               = this.setGetFreeTextInvoiceTmp();
FreeTextInvoiceHeaderFooterTmp  theFreeTextInvoiceHeaderFooterTmp   = this.setGetFreeTextInvoiceHeaderFooterTmp();
custInvoiceTable = _custInvoiceJour.custInvoiceTable(); 
companyInfo = _custInvoiceJour.companyInfo();
next populateFreeTextInvoiceTmp( _custInvoiceJour, _custInvoiceTrans, _taxSpec, _custPaymSchedLine, _prepaymentCustTrans, _prepaymentTaxTrans);




Unfortunately I get no recId for the two table objects

Dynamics NAV 2015 (8.0.40459.0) - Windows 10 - Dual Monitor - Surface Laptop

$
0
0

Hi all,

I'm running Dynamics NAV 2015 (8.0.40459.0) on Windows 10 (last version) on Surface Laptop with Microsoft docking station and 2 monitor connected.

NAV Crash if I do this actions: If I reduce to icon Nav 2015 then I go on other apps, then I put mouse on NAV icon on taskbar to restore it on screen, NAV crash.

This happens only on surface, if I do this procedure on other pc (HP) with 2 monitor nothing happens.

Here Event viewer log (3 event for 1 crash):

Type: System.ArgumentException

Message: Valore non compreso nell'intervallo previsto.

StackTrace:

     in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()

     in Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)

     in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)

     in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)

Source: Microsoft.Dynamics.Nav.Client.WinClient

HResult: -2147024809

----------------------------------

Type: System.ArgumentException

Message: Valore non compreso nell'intervallo previsto.

StackTrace:

     in Microsoft.WindowsAPICodePack.Taskbar.TabbedThumbnailNativeMethods.SetIconicThumbnail(IntPtr hwnd, IntPtr hBitmap)

     in Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.SetThumbnail(Bitmap bitmap)

     in Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.CreateAndSetThumbnail(Bitmap temp)

     in Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.OnDwmSendIconicThumbnail(Size requestedSize)

     in Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.WndProc(Message& m)

     in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

     in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

     in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Source: Microsoft.Dynamics.Framework.UI.WinForms

HResult: -2147024809

 

Applicazione: Microsoft.Dynamics.Nav.Client.exe

Versione framework: v4.0.30319

Descrizione: l'applicazione ha richiesto la terminazione del processo tramite System.Environment.FailFast(messaggio stringa).

Messaggio: Valore non compreso nell'intervallo previsto.

Stack:

   in System.Environment.FailFast(System.String)

   in Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.HandleGeneralException(System.Exception)

   in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)

   in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoHandleThreadException(System.Exception, Boolean)

   in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)

   in Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)

   in Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs)

   in System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)

   in System.Windows.Forms.Control.WndProcException(System.Exception)

   in System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)

   in System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)

   in System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)

   in System.Windows.Forms.NativeWindow.WndProc(System.Windows.Forms.Message ByRef)

   in System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)

   in System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)

   in System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)

   in System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)

   in System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)

   in Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()

   in Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()

   in Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()

   in Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)

   in Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)

   in Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()

   in Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)

   in Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunAndDispose()

   in Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func`1<Int32>)

   in Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

Nome dell'applicazione che ha generato l'errore: Microsoft.Dynamics.Nav.Client.exe, versione: 8.0.40459.0, timestamp: 0x55163b19

Nome del modulo che ha generato l'errore: unknown, versione: 0.0.0.0, timestamp: 0x00000000

Codice eccezione: 0x80131623

Offset errore 0x01044689

ID processo che ha generato l'errore: 0x3218

Ora di avvio dell'applicazione che ha generato l'errore: 0x01d453d18910edd6

Percorso dell'applicazione che ha generato l'errore: C:\Program Files (x86)\Microsoft Dynamics NAV\80\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe

Percorso del modulo che ha generato l'errore: unknown

ID segnalazione: bebf39b5-5d47-4fbb-a0dc-4c5afb4768fe

Nome completo pacchetto che ha generato l'errore:

ID applicazione relativo al pacchetto che ha generato l'errore:

Here event viewer screenshot

Thanks for any suggest.

Bye

Francesco

Create labelfile through code

$
0
0

Hi All,

In AX2012, "SysLablefile' class is used to create label file through code. Since this is deprecated in D365, is there any replacement for this class? 

Thanks in advance!

SharePoint Folder Structure

$
0
0

Hi All,

I have below two share point structures:

Image A:

Image B:

These are bind with custom entities. I know how to create and use Image B structure but I don't know how to create and use Image A structure.

Any one is here to help me?

Thanks

Regards,

Abdul

Running scheduling with capacity time fence more than 100 days

$
0
0

Hi Guys,

I got a familiar error "Not enough Capacity could be found" when running Master Scheduling.

I've analyzed and seem because it takes >=100 days production to fulfill the requirement.

All setting related time fence already set to 365 (Master Plan Setup, Coverage Group Setup, Item Coverage)

And already check also suggestion from this article https://blogs.msdn.microsoft.com/axmfg/2013/01/24/production-order-could-not-be-scheduled-not-enough-capacity-could-be-found-how-to-get-to-the-bottom-of-this/

But the error still came out.

For your information. this is the example :

Run time = 50 pcs / hour

working time = 24 hour (7 days a week)

requirement = 120000, system will show error because it take 100 days capacity

if you change requirement to = 119999, master scheduling will run smoothly, because only need 99 days

Is there any setup that I missed?

Thanks,

EYO

Exporting and importing models in 365FO

Viewing all 143529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>