cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error "G/L Account information missing" when creating Supplier Charge

AaronMendieta
Participant
0 Likes
471

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!

Accepted Solutions (0)

Answers (0)