Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Error when releasing product to company

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I'm getting an error when i want to release a product to another company.

If i open the view log in the open product releases, i get this error: 'Empty primary key value encountered in table InventTable"

This is the code:

private void checkAutoCreateDimFinTag(FINDimAttributeSetup _attrSetup)
{
    DimensionFinancialTag           financialTag;
    DimensionValue                  dimValue;
    DimensionAttribute              dimensionAttribute;
    DimensionAttributeDirCategory   dirCategory;
    ;

    if(_attrSetup.AutoCreate)
    {
        dimValue = callerRecord.(_attrSetup.RefFieldId);

        if(!dimValue)
        {
            throw error(strFmt("@DNR1723", tableId2name(callerRecord.TableId)));
        }

He doesn't find any dimvalue.

Anyone an idea how to solve it?

  • Allen Dejoux Profile Picture
    Allen Dejoux on at
    RE: Error when releasing product to company

    I have not see this error before. However have you taken a trace or tried to debug what value is being passed. Did this issue occur after a recent dev change?

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans