0% found this document useful (0 votes)
30 views

Error Details

The plugin encountered an error when trying to generate an AP voucher from a purchase receipt. The AP voucher transaction date was not greater than or equal to the purchase receipt transaction date, violating a system validation rule.

Uploaded by

jhovengold
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Error Details

The plugin encountered an error when trying to generate an AP voucher from a purchase receipt. The AP voucher transaction date was not greater than or equal to the purchase receipt transaction date, violating a system validation rule.

Uploaded by

jhovengold
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

Exception Message: Message: SYS000771

AP Voucher Transaction Date must be greater or same as AP Voucher Details in


Purchase Receipt Transaction Date.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute:
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace: Prepared Context at 2023-04-17T07:42:06.3020973Z for 0 ms,
Processing Entity Id: 61d8769c-c1dc-ed11-a7c7-000d3aa140f8 on xts_purchasereceipt
Entered Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.Execute() at
2023-04-17T07:42:06.3020973Z, Correlation Id: f5eb3574-ef58-4159-8616-50c1ba994735,
Initiating User: cbe56f66-f9dd-eb11-bacb-000d3aa0a6f7
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate is firing for
Entity: xts_purchasereceipt, Message: Update, at 2023-04-17T07:42:06.3020973Z
[2023-04-17T07:42:06.3020973Z] Start - PostPurchaseReceiptUpdate.ExecuteOperations
[2023-04-17T07:42:06.3020973Z]
RecalculateTaxBasedOnInvoicePostingDate.HandleExecute
[2023-04-17T07:42:06.3826131Z] handlingNoAction: True
[2023-04-17T07:42:06.3826131Z] RecalculateTaxBasedOnInvoicePostingDate.GetEventData
(eventData == null): True
[2023-04-17T07:42:06.3826131Z] PostPurchaseReceiptUpdate.OnStatusReleased
[2023-04-17T07:42:06.3826131Z] OnStatusReleased.HandleExecute
[2023-04-17T07:42:06.3826131Z] PostPurchaseReceiptUpdate.OnStatusInvoiced
[2023-04-17T07:42:06.3826131Z] OnStatusInvoiced.HandleExecute
[2023-04-17T07:42:06.3826131Z] OnStatusInvoiced.HandleExecute
[2023-04-17T07:42:06.3826131Z] GenerateApVoucher.HandleExecute
[2023-04-17T07:42:06.5701123Z] GenerateApVoucher.CreateApVoucherHeader
[2023-04-17T07:42:06.5701123Z] GenerateApVoucher.GetVendor
[2023-04-17T07:42:06.6188860Z] GenerateApVoucher.GetDueDate
[2023-04-17T07:42:06.6188860Z] (vendor == null): False
[2023-04-17T07:42:06.6657598Z] (vendorTermOfPayment == null): True
[2023-04-17T07:42:08.4733311Z] GenerateApVoucher.DeleteExistingApVoucherDetail
[2023-04-17T07:42:08.4889569Z] GenerateApVoucher.CreateApVoucherDetail
[2023-04-17T07:42:08.4889569Z]
GenerateApVoucher.GetApVoucherDetailRunningNumberGenerator
[2023-04-17T07:42:08.5827110Z] apvDetailNumber: APV-NSH-000005469-000001
[2023-04-17T07:42:08.5827110Z] apVoucherRef.Id: 3846ef56-f3dc-ed11-a7c7-
000d3a07e74a
[2023-04-17T07:42:08.5827110Z] GenerateApVoucher.GetTopPurchaseReceiptDetail
[2023-04-17T07:42:08.7545835Z] GenerateApVoucher.GetBillAmount
[2023-04-17T07:42:08.7545835Z] GenerateApVoucher.GetTopPurchaseReceiptDetail
PASSED
Exception:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]:
Message: SYS000771
AP Voucher Transaction Date must be greater or same as AP Voucher Details in
Purchase Receipt Transaction Date. (Fault Detail is equal to Exception details:
ErrorCode: 0x80040265
Message: Message: SYS000771
AP Voucher Transaction Date must be greater or same as AP Voucher Details in
Purchase Receipt Transaction Date.
TimeStamp: 2023-04-17T07:42:09.0000000Z
OriginalException: PluginExecution
ExceptionSource: PluginExecution
--
).
Stack Trace: at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.<>c__DisplayClass16_1.<Ex
ecuteStreamingCallBack>b__1(ExecuteRequest response)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.GrpcClientSendAndReceive(
ExecuteResponse executeResponse, Func`2 isTerminalResponse)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.<>c__DisplayClass16_0.<Ex
ecuteStreamingCallBack>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger
logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1
additionalCustomProperties)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.ExecuteStreamingCallBack(
Func`2 callback, Func`2 isTerminalChunk, Func`2 HandleClientException)
at Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationService.Execute(String
operation, ByteString serializedRequest, Assembly proxyTypes, Object traceSettings)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.<>c__DisplayCl
ass23_0.<ExecuteInternal>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult]
(ILogger logger, EventId eventId, ActivityType activityType, Func`1 func,
IEnumerable`1 additionalCustomProperties)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.ExecuteInterna
l(OrganizationRequest request)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.CreateInternal
(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.BaseOrganization
Service.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.ProxyAssemblyOrg
anizationService.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.BaseOrganization
Service.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Currency.AutoRoundOrganizationSe
rvice.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.Gener
ateApVoucher.CreateApVoucherDetail(EntityReference apVoucherRef)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.Gener
ateApVoucher.HandleExecute()
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.OnSta
tusInvoiced.HandleExecute()
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.ExecuteOperations(IO
rganizationService service, ITransactionContext`1 context)
at
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.ExecutePostPurchaseR
eceiptUpdate(LocalPluginContext localContext)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.BasePlugin.Execute(IServiceProvi
der serviceProvider)
Exiting Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.Execute() at
2023-04-17T07:42:09.1003937Z for 2799 ms, Correlation Id: f5eb3574-ef58-4159-8616-
50c1ba994735, Initiating User: cbe56f66-f9dd-eb11-bacb-000d3aa0a6f7

HelpLink: http://go.microsoft.com/fwlink/?
LinkID=398563&error=Microsoft.Crm.CrmException%3a80040265&client=platform

TraceText:
[Technosoft.DMS.XRM.NewVehicle.Plugin:
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate]
[da5779b4-c7e2-e211-bce8-000c29d31705: PostPurchaseReceiptUpdate]

Prepared Context at 2023-04-17T07:42:06.3020973Z for 0 ms, Processing


Entity Id: 61d8769c-c1dc-ed11-a7c7-000d3aa140f8 on xts_purchasereceipt
Entered
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.Execute() at 2023-
04-17T07:42:06.3020973Z, Correlation Id: f5eb3574-ef58-4159-8616-50c1ba994735,
Initiating User: cbe56f66-f9dd-eb11-bacb-000d3aa0a6f7
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate is
firing for Entity: xts_purchasereceipt, Message: Update, at 2023-04-
17T07:42:06.3020973Z
[2023-04-17T07:42:06.3020973Z] Start -
PostPurchaseReceiptUpdate.ExecuteOperations
[2023-04-17T07:42:06.3020973Z]
RecalculateTaxBasedOnInvoicePostingDate.HandleExecute
[2023-04-17T07:42:06.3826131Z] handlingNoAction: True
[2023-04-17T07:42:06.3826131Z]
RecalculateTaxBasedOnInvoicePostingDate.GetEventData
(eventData == null): True
[2023-04-17T07:42:06.3826131Z]
PostPurchaseReceiptUpdate.OnStatusReleased
[2023-04-17T07:42:06.3826131Z] OnStatusReleased.HandleExecute
[2023-04-17T07:42:06.3826131Z]
PostPurchaseReceiptUpdate.OnStatusInvoiced
[2023-04-17T07:42:06.3826131Z] OnStatusInvoiced.HandleExecute
[2023-04-17T07:42:06.3826131Z] OnStatusInvoiced.HandleExecute
[2023-04-17T07:42:06.3826131Z] GenerateApVoucher.HandleExecute
[2023-04-17T07:42:06.5701123Z] GenerateApVoucher.CreateApVoucherHeader
[2023-04-17T07:42:06.5701123Z] GenerateApVoucher.GetVendor
[2023-04-17T07:42:06.6188860Z] GenerateApVoucher.GetDueDate
[2023-04-17T07:42:06.6188860Z] (vendor == null): False
[2023-04-17T07:42:06.6657598Z] (vendorTermOfPayment == null): True
[2023-04-17T07:42:08.4733311Z]
GenerateApVoucher.DeleteExistingApVoucherDetail
[2023-04-17T07:42:08.4889569Z] GenerateApVoucher.CreateApVoucherDetail
[2023-04-17T07:42:08.4889569Z]
GenerateApVoucher.GetApVoucherDetailRunningNumberGenerator
[2023-04-17T07:42:08.5827110Z] apvDetailNumber: APV-NSH-000005469-
000001
[2023-04-17T07:42:08.5827110Z] apVoucherRef.Id: 3846ef56-f3dc-ed11-
a7c7-000d3a07e74a
[2023-04-17T07:42:08.5827110Z]
GenerateApVoucher.GetTopPurchaseReceiptDetail
[2023-04-17T07:42:08.7545835Z] GenerateApVoucher.GetBillAmount
[2023-04-17T07:42:08.7545835Z]
GenerateApVoucher.GetTopPurchaseReceiptDetail
PASSED
Exception:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]:
Message: SYS000771
AP Voucher Transaction Date must be greater or same as AP Voucher
Details in Purchase Receipt Transaction Date. (Fault Detail is equal to Exception
details:
ErrorCode: 0x80040265
Message: Message: SYS000771
AP Voucher Transaction Date must be greater or same as AP Voucher
Details in Purchase Receipt Transaction Date.
TimeStamp: 2023-04-17T07:42:09.0000000Z
OriginalException: PluginExecution
ExceptionSource: PluginExecution
--
).
Stack Trace: at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.<>c__DisplayClass16_1.<Ex
ecuteStreamingCallBack>b__1(ExecuteRequest response)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.GrpcClientSendAndReceive(
ExecuteResponse executeResponse, Func`2 isTerminalResponse)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.<>c__DisplayClass16_0.<Ex
ecuteStreamingCallBack>b__0()
at
Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger,
EventId eventId, ActivityType activityType, Action action, IEnumerable`1
additionalCustomProperties)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxCallbackService.ExecuteStreamingCallBack(
Func`2 callback, Func`2 isTerminalChunk, Func`2 HandleClientException)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationService.Execute(String
operation, ByteString serializedRequest, Assembly proxyTypes, Object traceSettings)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.<>c__DisplayCl
ass23_0.<ExecuteInternal>b__0()
at
Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger
logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1
additionalCustomProperties)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.ExecuteInterna
l(OrganizationRequest request)
at
Microsoft.CDSRuntime.SandboxWorker.SandboxOrganizationServiceWrapper.CreateInternal
(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.BaseOrganization
Service.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.ProxyAssemblyOrg
anizationService.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.ServiceProvider.BaseOrganization
Service.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Currency.AutoRoundOrganizationSe
rvice.Create(Entity entity)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.Gener
ateApVoucher.CreateApVoucherDetail(EntityReference apVoucherRef)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.Gener
ateApVoucher.HandleExecute()
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.Common.Business.NewVehicle.PurchaseReceipt.PreInvoiceEvent.OnSta
tusInvoiced.HandleExecute()
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.Aspects.AspectService.ExecuteAct
ion(Action action)
at
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.ExecuteOperations(IO
rganizationService service, ITransactionContext`1 context)
at
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.ExecutePostPurchaseR
eceiptUpdate(LocalPluginContext localContext)
at
Technosoft.DMS.XRM.Common.Business.PluginExecution.BasePlugin.Execute(IServiceProvi
der serviceProvider)
Exiting
Technosoft.DMS.XRM.NewVehicle.Plugin.PostPurchaseReceiptUpdate.Execute() at 2023-
04-17T07:42:09.1003937Z for 2799 ms, Correlation Id: f5eb3574-ef58-4159-8616-
50c1ba994735, Initiating User: cbe56f66-f9dd-eb11-bacb-000d3aa0a6f7

Activity Id: 281761df-b15a-4b38-af5c-602438c50438

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy