DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
charles 5/13/2010 10:57:36 AM

Problem with VarianceAccount on taPopEnterMatchEnvLine

 I am attempting to match an invoice against a PO and posted shipment.   It's working fine except for the VarianceAccount.  The UNITCOST does not match the original UNITCOST on the shipment and I have defined a VarianceAccount but the variance is not getting populated in the distributions, so I am left with an unequal credit/debit.

When I do an invoice and change the unit cost through the UI, the Variance Account is populated perfectly.  Whether or not the VarianceAccount is present, doing it through eConnect doesn't seem to work quite right.

Any idea what I might be doing wrong?  My POPEnterMatchInvoiceType is shown below.

 

<?xml version="1.0" encoding="UTF-8"?>
<eConnect>
  <POPEnterMatchInvoiceType>
    <taPopEnterMatchInvLine_Items>
      <taPopEnterMatchInvLine>
        <POPRCTNM>INV18</POPRCTNM>
        <POPMtchShpRcpt>RCPT15</POPMtchShpRcpt>
        <PONUMBER>PO15</PONUMBER>
        <QTYINVCD>1</QTYINVCD>
        <ITEMNMBR>INSTALLATION</ITEMNMBR>
        <VENDORID>JERRY</VENDORID>
        <UNITCOST>55</UNITCOST>
        <EXTDCOST>55</EXTDCOST>
        <NONINVEN>1</NONINVEN>
        <AUTOCOST>0</AUTOCOST>
        <POLNENUM>1</POLNENUM>
        <VarianceAccount>TEST-ACT2</VarianceAccount>
        <Purchase_IV_Item_Taxable>1</Purchase_IV_Item_Taxable>
        <TAXAMNT>0</TAXAMNT>
        <AutoInvoice>0</AutoInvoice>
      </taPopEnterMatchInvLine>
    </taPopEnterMatchInvLine_Items>
    <taPopEnterMatchInvHdr>
      <POPRCTNM>INV18</POPRCTNM>
      <VNDDOCNM>JERRYINVOICE</VNDDOCNM>
      <receiptdate>2010-05-13</receiptdate>
      <BACHNUMB>BATCH</BACHNUMB>
      <VENDORID>JERRY</VENDORID>
      <SUBTOTAL>55</SUBTOTAL>
      <FRTAMNT>100</FRTAMNT>
      <MISCAMNT>0</MISCAMNT>
      <TAXAMNT>0</TAXAMNT>
      <PYMTRMID>Net 45</PYMTRMID>
      <AUTOCOST>0</AUTOCOST>
      <USINGHEADERLEVELTAXES>1</USINGHEADERLEVELTAXES>
      <CREATEDIST>1</CREATEDIST>
    </taPopEnterMatchInvHdr>
  </POPEnterMatchInvoiceType>
</eConnect>
 

Version: Unknown or N/A
Section: eConnect