Skip to main content
Question

Import scenario for Purchase Receipts - excluding Lot tracking


Forum|alt.badge.img

Good day - I am trying to run an import purchase orders scenario, but without lot tracking. I have followed your scenario but I am not getting it to work. Can you take a look and see what I am missing please?

Many thanks.

17 replies

Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3135 replies
  • September 21, 2022

Hello @BarbaraP ,

Can you describe the problem, the results when you try to use the scenario, and post any errors that occur when trying to import? This will help us to answer more quickly. Thank you.


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 21, 2022

Hi @BarbaraP 

As @laura01 mentioned, 

We need a few more details to assist you:

  1. What errors are you seeing?
  2. Do your items have Lot/Serial tracking on them?
  3. Have you tried this out of the box PO receipt import scenario?

Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 21, 2022

Thanks laura01 and kbeatty21.

 

Please see errors below. NO I do not have lot tracking.

This is a different error. I have no idea which account they are referring to.

ExpenseAcctID' cannot be empty.

I am reattaching the .xml file.

Thanks in advance for any help. Greatly appreciated.


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 21, 2022

Hi @BarbaraP 

 

Check the Expense Account on your vendors:

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 21, 2022

Thanks - I checked, added an expense account. Same error. Makes no sense.

Regards


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 21, 2022

Hi @BarbaraP 

Can you share the exact error and trace?


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 21, 2022

Hi Kandy - thank for help so far.

Exact error: ‘ExpenseAcctID' cannot be empty’

Trace:

 


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 21, 2022

HI @BarbaraP 

Check to see if there is an account on the line item:

 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 21, 2022

Hi Kandy

There is now, but I can’t do anything with it? Why is it looking for that?

 


Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13
BarbaraP wrote:

Hi Kandy

There is now, but I can’t do anything with it? Why is it looking for that?

 

Hi @BarbaraP Are you able to do the transaction from the Purchase receipt screen and save? ( Not Import scenario) 

Thanks


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 22, 2022

Hi Kandy 

Yes I am - no problems. It is just that there are so many - 4 months worth, so I am trying to do a scenario.

Regards


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 22, 2022

HI @BarbaraP 

 

Please try this import scenario:

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 26, 2022

Hi Kandy

Thanks or your help so far.

I imported your scenario and gt the error message below. Not sure what the problem is now?

 


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 26, 2022
BarbaraP wrote:

Hi Kandy

Thanks or your help so far.

I imported your scenario and gt the error message below. Not sure what the problem is now?

 

Hi @BarbaraP 

 

You will need to delete the previous import scenario you have created with the same name and the Data Provider for that.

What  I suggest is that you first, export to XML, your file then delete and import the one I gave you. This way you also still have your original. 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 14 replies
  • September 26, 2022

Hi Kandy - ok got the scenario in. 

This is so frustrating. I really appreciate your help.

New error: 14 items have not been processed successfully. View name: Document.

Trace: 26 09 2022 17:24:48 Error:
Error: 14 items have not been processed successfully. View name: Document.

   at PX.Api.SyMappingUtils.ImportData(SYProcess graph, SYMappingActive mapping, SYImportOperation operation, SYMappingActive updated)
   at PX.Api.SyMappingUtils.ProcessMapping(SYProcess graph, SYMappingActive mapping, SYImportOperation operation)
   at PX.Api.SYImportProcessSingle.<>c__DisplayClass67_0.b__0()
   at PX.Data.PXLongOperation.<>c__DisplayClass18_0.b__0()

LINQ fallback! Consider rewriting your query.
Graph: null
LINQ Model: from PXResult`1 field in value(PX.Data.SQLTree.SQLQueryable`1[PX.Data.PXResult`1[PX.Api.SYMappingFieldSimple]]) select Convert([field])
at Remotion.Linq.Clauses.StreamedData.StreamedSequenceInfo.ExecuteQueryModel(QueryModel queryModel, IQueryExecutor executor)
at Remotion.Linq.QueryProviderBase.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
at Remotion.Linq.QueryableBase`1.GetEnumerator()
at System.Linq. ... (see full message text in the details section)

26 09 2022 17:24:45 Error:
LINQ fallback! Consider rewriting your query.
Graph: null
LINQ Model: from PXResult`1 field in value(PX.Data.SQLTree.SQLQueryable`1[PX.Data.PXResult`1[PX.Api.SYMappingFieldSimple]]) select Convert([field])
   at Remotion.Linq.Clauses.StreamedData.StreamedSequenceInfo.ExecuteQueryModel(QueryModel queryModel, IQueryExecutor executor)
   at Remotion.Linq.QueryProviderBase.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at Remotion.Linq.QueryableBase`1.GetEnumerator()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at PX.Api.SYImportProcessSingle.Persist()
   at PX.Data.PXSave`1.d__2.MoveNext()
   at PX.Data.PXAction`1.d__38.MoveNext()
   at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, String[] sortcolumns, Boolean[] descendings, Object[] searches, Object[] parameters, PXFilterRow[] filters, DataSourceSelectArguments arguments, Boolean& closeWindowRequired, Int32& adapterStartRow, Int32& adapterTotalRows)
   at PX.Web.UI.PXBaseDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments)
   at PX.Web.UI.PXDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments)
   at PX.Web.UI.PXDataSourceView.Select(DataSourceSelectArguments arguments, PXDSSelectArguments swarguments, DataSourceViewSelectCallback callback)
   at PX.Web.UI.PXFormDataProvider.DataBind()
   at PX.Web.UI.PXCallbackManager.CollectDataControls(Dictionary`2 controlsDic, List`1 controlsList)
   at PX.Web.UI.PXCallbackManager.RenderClientData(PXCallbackResultMethod resultMethod, XmlWriter writer)
   at PX.Web.UI.PXCallbackManager.GetCallbackResultInternal(PXCallbackResultMethod resultMethod)
   at PX.Web.UI.PXCallbackManager.GetCallbackResult(PXCallbackResultMethod resultMethod)
   at System.Web.UI.Page.RenderCallback()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at PX.Web.UI.PXPage.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.<>c__DisplayClass285_0.b__0()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)


Kandy Beatty
Captain II
Forum|alt.badge.img+16
  • Captain II
  • 2183 replies
  • September 26, 2022

Hi @BarbaraP 

I am not great with errors. Have you tried to reach out to your partner?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2640 replies
  • November 3, 2022

Hi @BarbaraP - did you find a solution? Thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings