Skip to content

Purchasing Transactions

The Purchasing imports create Sage Intacct purchasing transactions: requisitions, purchase orders, receivers, vendor invoices, returns and any other definition your company has set up. They can also convert one transaction into another, such as a vendor invoice from a receiver.

On an Intacct writer, select PODOCUMENT[definition] as the Intacct Import Type. The list holds one entry for each Purchasing transaction definition in the company, read from Intacct when you select the System Connector. On MPP-DEV, for example, it offers PODOCUMENT[Purchase Order], PODOCUMENT[PO Receiver-Inventory] and PODOCUMENT[Vendor Invoice]. The definition decides the transaction's numbering, its workflow and the subtotals the import offers.

Creating

The import offers one Update Operation, Insert. Every record creates a transaction.

The record's transaction definition is the one in transactiontype. Leave transactiontype empty to use the definition in the Intacct Import Type.

Creating One Transaction from Another

To convert a transaction, such as a receiver into a vendor invoice, create the new transaction with createdfrom set to the source transaction's document ID: the definition name, a dash and the document number, such as Purchase Order-PO0213. That is the value IMan writes back into RECORDNO when it creates the source transaction.

On each line, set sourcelinekey to the RECORDNO of the line it converts. Read it from PODOCUMENTENTRY with an Intacct Lookup.

Fields

The header carries the transaction's fields, and potransitems holds its lines. Each line can hold itemdetails for tracked stock.

Field Rule
transactiontype The transaction definition. Empty uses the one in the Intacct Import Type
RECORDNO IMan writes the document ID into it after each create
documentno The document number. Empty lets the definition number the transaction, if it numbers automatically
vendorid The vendor. Required
datecreated The transaction date. Required
createdfrom The document ID of the transaction this one converts. See Creating One Transaction from Another
referenceno, vendordocno, message The reference, the vendor's document number and the transaction's message
SYS.SYSCONNECTID Sends the record to another entity. See Dynamically Targeting Location/Entity

The potransitems line fields:

Field Rule
itemid The item. Required
quantity, unit, price The quantity, unit of measure and price
warehouseid The warehouse, for an inventory item
locationid, departmentid and the other dimension fields The line's dimensions
sourcelinekey The RECORDNO of the source line this line converts

Custom fields on the header and the lines appear in the field list too. See Custom Fields.

Item details and subtotals work as they do on Order Entry transactions. itemdetails is a child record of the line, with one row for each serial number, lot or bin, and the definition's subtotals appear as header fields named after the subtotal. See Item Details and Subtotals.

Writeback

After each create, IMan writes the transaction's document ID, such as Purchase Order-PO0213, into RECORDNO. Use it as the createdfrom of the transaction that converts it. See Writeback.

Intacct Reference

Create Purchasing Transaction (Legacy) in Intacct's API reference.