Commit 9a8ac4d
Vendor information was never sent in the G/L accounts' LLM call (#6614)
#### Summary
See CreateUserMessage in EDocGLAccountMatching.Codeunit.al, it attempts
to get the vendor from the header of the line.
However, at this point that line is empty, it only has the filters set,
it comes all the way from PreparePurchaseEDocDraft.Codeunit.al, where
the record is never loaded.
So the header is not found, and the vendor is not found, and it's not
added. This results in the vendor info not being sent for G/L account
assignment, which was the original intention
#### Work Item(s)
Fixes
[AB#621525](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/621525)
Co-authored-by: Joshua Martínez Pineda <diegojoshuam@microsoft.com>1 parent f8a4c71 commit 9a8ac4d
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments