on ‎2021 Feb 20 3:14 AM


Hi Experts!
I have tried to create a Supplier Charge via SDK using the existing ABSL sample in the repository explorer, however, I have been getting the error 'G/L Account information missing'.
According to the sample, the next line is the path to set this field
item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.GetFirst().GeneralLedgerAccountAliasCode.content = "Z-9000";
I have confirmed that the code Z-9000 (a code used in my country) exists in my repository so I do not understand why it is not working.
Besides, I have tried to find any other path so I can be sure that I am not leaving anything empty.
I found the next path in my item node, however, it is making backend errors so I do not think that this is the way.
//item.ItemAccountingCodingBlockDistribution.GeneralLedgerAccountAliasCode.content = "Z-9000";
I wonder if there is something incorrect in the code or this error has to do more with a matter of configuration in my Tenant.
Any help would be really appreciated
Thanks in advance for your attention and best regards!
Request clarification before answering.
| User | Count |
|---|---|
| 35 | |
| 18 | |
| 14 | |
| 13 | |
| 9 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.