SBX - Search With Button

SBX - Forum Post Title

Error message when I created a sales credit note

Microsoft Dynamics AX Forum

Jose Fabre Velazquez asked a question on 12 Jun 2019 7:59 PM

Question Status

Suggested Answer

Hi:

I couldn't create a sales credit note from one customer invoice, I received this error message:

It is not possible to copy one or more of the selected lines of the sales order. The lines of the sales order you are trying to copy depend on a sales contract. A copy of the sales order lines would conflict with said sales contract

What do I need to do to fix this problem in Dynamics AX 2012R3?

Thank you.

Reply

Hi Jose,

Is this literally the error message or did you translate it from another language? A "sales contract" is not an usual term in AX. Instead, we are used to have "sales agreement".

Reply
Suggested Answer

Hello Jose,

If it does not conflict with your sales contract / sales agreement can't you simply create the credit note manually? This should not require too many extra steps and time unless you have a lot of rows included in the original sales order.

Best regards,

Ludwig

Reply
Jose Fabre Velazquez responded on 17 Jun 2019 12:00 PM

Thank you for your help.

What do I need to reduce the number of lines?

Do I need to create a credit note from ledger general module?

Can I fix the problem this situation in AX?

This sales order contains only one line, the sales agreement contains 20 lines.

Do I need to create a support ticket to Microsoft to fix this situation?

Reply
Suggested Answer

Hello Jose,

I don't think that you need to open a support ticket with MS to fix this.

Can you let us know a bit more about the credit note you try to create?

Is the credit note related to an item that the customer returned or do you simply want to credit the customer x dollars?

If the customer returned the goods, what do you plan to do with them, etc. etc.

Would be great if you could provide us some more details.

Many thanks and best regards,

Ludwig

Reply

HI Jose,

Can you post a screenshot of the error? As mentioned above, I wonder if you did translate the error message or if this is the exact error you get.

Reply
Jose Fabre Velazquez responded on 17 Jun 2019 5:01 PM

Hi André:

These are the error messages:

First Line:

It is not possible to copy one or more of the selected sales order lines. The sales order lines that you are trying to copy are dependent on a sales agreement. A copy of the sales order lines would conflict with that sales agreement.

Second line:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Se produjo una excepción de tipo 'Microsoft.Dynamics.Ax.Xpp.ErrorException'.

  en Dynamics.Ax.Application.SalesCopying.Copy() en SalesCopying.copy.xpp:línea 556

  en Dynamics.Ax.Application.SalesCopying_CreditNote.Copy() en SalesCopying_CreditNote.copy.xpp:línea 8

  en Dynamics.Ax.Application.SalesCopying.copyServer(Object[] _packedSalesOrderCopyingContract, Boolean _isCreditNote) en SalesCopying.copyServer.xpp:línea 15

  en Dynamics.Ax.Application.SalesCopying.invokeCopyServerIL(Object[] _packedParameters) en SalesCopying.invokeCopyServerIL.xpp:línea 17

  en SalesCopying::invokeCopyServerIL(Object[] )

  en Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

  en Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) en SysDictClass.invokeStaticMethod.xpp:línea 26

  en SysDictClass::invokeStaticMethod(Object[] )

  en Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

  en Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

Reply
Suggested Answer

Hello Jose,

If it does not conflict with your sales contract / sales agreement can't you simply create the credit note manually? This should not require too many extra steps and time unless you have a lot of rows included in the original sales order.

Best regards,

Ludwig

Reply
Suggested Answer

Hello Jose,

I don't think that you need to open a support ticket with MS to fix this.

Can you let us know a bit more about the credit note you try to create?

Is the credit note related to an item that the customer returned or do you simply want to credit the customer x dollars?

If the customer returned the goods, what do you plan to do with them, etc. etc.

Would be great if you could provide us some more details.

Many thanks and best regards,

Ludwig

Reply

SBX - Two Col Forum

SBX - Migrated JS