web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

CDX Pull job

(3) ShareShare
ReportReport
Posted on by 102

Hi All,

 

How can I transfer the value of EXT_INVENTBATCHID from the EXT_RETAILTRANSACTIONSALESTRANS extension table to the INVENTBATCHID field in the RETAILTRANSACTIONSALESTRANS table during a CDX Pull job?

 

This is the CDX XML that I wrote

 

<RetailCdxSeedData ChannelDBMajorVersion="7" ChannelDBSchema="ext" Name="AX7">
  <Subjobs>
    <Subjob Id="RetailTransactionSalesTrans" OverrideTarget="false" TargetTableName="EXT_RetailTransactionSalesTrans" AxTableName="RetailTransactionSalesTrans" ReplicationCounterFieldName="ReplicationCounterFromOrigin" TargetTableSchema="ext" IsUpload="true">
      <ScheduledByJobs>
        <ScheduledByJob>P-0001</ScheduledByJob>
      </ScheduledByJobs>  
      <AxFields>
        <Field Name="EXT_InventBatchId"  ToName="InventBatchId"/>
        <Field Name="ReplicationCounterFromOrigin" />
      </AxFields>
    </Subjob>
  </Subjobs>
</RetailCdxSeedData>

 

If anyone could kindly offer some guidance or assistance, it would be greatly appreciated.

 

Thank You 😇

I have the same question (0)
  • Suggested answer
    Muhammad Khurram Profile Picture
    57 on at
    Please follow the XML format provided below for the resource file. Ensure that the channel database table EXT_RetailTransactionSalesTrans has the same primary key as the ax.RetailTransactionSalesTrans table. Create the DataAreaId column in the EXT_RetailTransactionSalesTrans table and remove the ReplicationCounterFromOrigin field from the EXT_RetailTransactionSalesTrans table.

    Note : The ax.RETAILTRANSACTIONSALESTRANS table has the following primary key columns:
    - [CHANNEL]
    - [STORE]
    - [TERMINALID]
    - [TRANSACTIONID]
    - [LINENUM]

    <RetailCdxSeedData ChannelDBMajorVersion="7" ChannelDBSchema="ext" Name="AX7">
      <Subjobs>
        <Subjob Id="RetailTransactionSalesTrans" TargetTableName="EXT_RetailTransactionSalesTrans" TargetTableSchema="ext" OverrideTarget="false" > 
          <AxFields>
            <Field Name="EXT_InventBatchId"  ToName="InventBatchId"/>
          </AxFields>
        </Subjob>
      </Subjobs>
    </RetailCdxSeedData>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 307 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 123 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans