I am getting a error in Porduction while Purchase Invoice /length of the string is 15, but it must be less than or equal to 10 characters/ and i have made same entries in Sandbox to debug the code but in Sandbox i am not getting the same error.
The system is trying to apply data from "Tax Insert Record Field" and if it is a predefined setup table then please check which field has value "07AABC...." as per the below screenshot.
"RecRef Handler"(CodeUnit 20131).SetFieldValue line 42 - Tax Engine by Microsoft
"Tax Posting Execution"(CodeUnit 20344).SetInsertRecordField line 34 - Tax Engine by Microsoft
"Tax Posting Execution"(CodeUnit 20344).ExecuteUseCaseOutput line 40 - Tax Engine by Microsoft
"Tax Posting Execution"(CodeUnit 20344).ExecutePosting line 19 - Tax Engine by Microsoft
"Tax Subledger Posting Handler"(CodeUnit 20347).OnAfterPrepareTaxTransaction line 69 - Tax Engine by Microsoft
"Tax Document GL Posting"(CodeUnit 20341).OnAfterPrepareTaxTransaction(Event) line 5 - Tax Engine by Microsoft
"Tax Document GL Posting"(CodeUnit 20341).UpdateUseCasePostingBuffer line 65 - Tax Engine by Microsoft
"Tax Document GL Posting"(CodeUnit 20341).UpdateTaxPostingBuffer line 23 - Tax Engine by Microsoft
"Purch.-Post Handler"(CodeUnit 20335).OnAfterPurchInvLineInsert line 20 - Tax Engine by Microsoft
"Purch.-Post"(CodeUnit 90).OnAfterPurchInvLineInsert(Event) line 2 - Base Application by Microsoft
"Purch.-Post"(CodeUnit 90).PostPurchLine line 135 - Base Application by Microsoft
"Purch.-Post"(CodeUnit 90).RunWithCheck line 89 - Base Application by Microsoft
"Purch.-Post"(CodeUnit 90).OnRun(Trigger) line 2 - Base Application by Microsoft
"Purch.-Post (Yes/No)"(CodeUnit 91).OnRunPreview line 19 - Base Application by Microsoft
"Gen. Jnl.-Post Preview"(CodeUnit 19).OnRunPreview(Event) line 2 - Base Application by Microsoft
"Gen. Jnl.-Post Preview"(CodeUnit 19).RunPreview line 4 - Base Application by Microsoft
"Gen. Jnl.-Post Preview"(CodeUnit 19).PreviewStart line 17 - Base Application by Microsoft
"Gen. Jnl.-Post Preview"(CodeUnit 19).Preview line 7 - Base Application by Microsoft
"Purch.-Post (Yes/No)"(CodeUnit 91).Preview line 6 - Base Application by Microsoft
"Purchase Invoice"(Page 51)."Preview - OnAction"(Trigger) line 4 - Base Application by Microsoft
Generally, the error message should show the field also.
The field length is 10 characters but you are trying to enter 15 character in that field.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.