Jump to content

Recommended Posts

Posted

Hello, I am very new to Sage Intacct so I apologise for my lack of knowledge and thank you in advance for any help.

I am trying to create a smart rule that will pull the "ITEM.PRIMARYCOUNTRYOFORIGIN" and update a custom field on the line detail "ENTRIES_COF" on "Order Entry Transaction Detail". The below is the API arguments I've tried amongst others...

<update>
    <object>SODOCUMENTENTRY</object>
    <select>
        <field>DOCHDRNO</field>
        <field>ITEMID</field>
<ENTRIES_COF>{!SODOCUMENTENTRY.ITEM.PRIMARYCOUNTRYOFORIGIN!}</ENTRIES_COF>
    </select>
</update>

I have searched the forum, checked examples, and tried and tried but just can't get it to work.

Thanks
Andy

  • Members
Posted

Try this:
<update>
<SODOCUMENTENTRY>
<RECORDNO>{!SODOCUMENTENTRY.RECORDNO!}</RECORDNO>
<ENTRIES_COF>{!SODOCUMENTENTRY.ITEM.PRIMARYCOUNTRYOFORIGIN!}</ENTRIES_COF>
</SODOCUMENTENTRY>
</update>

×
×
  • Create New...