Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 R2. CustPackingSlipTrans.InvoiceTransRefRecId is empty.

(0) ShareShare
ReportReport
Posted on by 2,987

I'm looking for a relation between InvoiceTrans and PackingSlipTrans. 

I found CustPackingSlipTrans.InvoiceTransRefRecId, but however I try to post the Invoices, this field remains emtpy. 

Any ideas on when this field is populated?

*This post is locked for comments

  • Ghetz Profile Picture
    Ghetz 2,987 on at
    RE: AX 2012 R2. CustPackingSlipTrans.InvoiceTransRefRecId is empty.

    Thanks for the answer,

    Indeed we specify Quantity type as Packing, but this field is not populated anyway. My guess is that this is a funcionality made regionally for India, as I've seen this in the SalesInvoiceJournalCreate.endCreate() method.

     if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoIN]))
        {
            isMatchedPackingSlipInquiryEnabled = TaxParameters::checkTaxParameters_IN()
                                                 && isConfigurationkeyEnabled(configurationKeyNum(LedgerBasic))
                                                 && CustParameters::find().MatchedPackingSlipsInquiry;
    
            if (isMatchedPackingSlipInquiryEnabled)
            {
                ttsbegin;
    
                update_recordset custPackingSlipTransLoc
                    setting InvoiceTransRefRecId = custInvoiceTransLoc.RecId
    
    ...

    Anyway we will get the relation through the InventTransID.

  • Suggested answer
    RE: AX 2012 R2. CustPackingSlipTrans.InvoiceTransRefRecId is empty.

    Please review if Customer Invoice is created against Packing slip

    This is specified, when you create Customer Invoice specify the Quantity type as Packing slip and then select the appropriate packing slip

    Please verify and update us your findings

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans