CINCH Customer Documentation
Chapter 6_Fertilizer Invoicing Integration
This chapter describes the changes made for the Fertilizer Invoicing Integration. Cresco Ag's OptiGro records the shipment transaction, calls their web service and writes the transaction to a SQL Invoice interface table. On a timed basis, Cinch reads the OptiGro Invoice Interface table and creates Cinch Sales Shipments.
This chapter contains the following sections:
SQL Job
A SQL Job will run the proc that will import the shipments from Import tables into the Cinch Shipment Invoicing tables.
User will set up a SQL timed job that will run the IRASImportFertilizerInvoices sql proc at the desired interval.
Only shipments where the CinchShipmentNumber field is blank will be imported.
The shipments will be imported using the following field mapping:
Shipment Number, the system will get the next available Shipment Number.
The following fields will be read from the Invoice table:
Customer Number is the AccountNumber in the table.
Ship Date is the ShipDate in the table.
Customer PO Number is the PONumber in the table.
Location Code (Site) is the ShippingLocationKey in the table.
Branch ID is the SalesLocationKey in the table.
Comment Text is the Note in the table.
Cresco Invoice ID is the InvoiceID in the table.
The following fields will be read from the Invoice Item table:
Item Number is the Number in the table.
Item Description is the Name in the table.
Quantity is the Quantity in the table.
Quantity UOM is the QuantityUOM field in the table.
Price is the Price in the table.
Price UOM is the PriceUOM in the table.
Short Blend Component Sequence is set based on the BlendComponent field in the table.
Short Blend Extension is set based on the BlendComponent field in the table.
Price Doc Type is the DocumentType in the table. This is informational only passed in from Cresco.
Price Doc Number is the DocumentNumber in the table. This is informational only passed in from Cresco.
During the Import the system will set the Processing field in the Invoice table to 1. This will lock the record so Cresco can't update or delete it will the import is taking place.
After a successful import the system will do the following in the Invoice table:
Set the Processing field back to 0.
Write the System Date back to the ProcessDate in the table.
Write the Shipment Number back to the CinchShipmentNumber in the table.
Changes to Integration Error Log
Integration Error Log has been updated with the addition of the Fertilizer Process checkbox.
Open Integration Error Log
(Microsoft Dynamics GP>Tools>Routines>Cinch Sales>Integration Log)
When the Process, Fertilizer checkbox is marked, any Exception Errors that occurred during the Fertilizer Import process that were logged in the IRASIntegrationExcMSTR table in Cinch can be viewed in the Integration Error Log screen.
The following fields will be validated against the information in the Cinch and GP tables and any errors will be logged as Exceptions:
Customer Number
Branch Number
Location Code
Item Number
Item Location
Quantity UOM
Price UOM
Errors will need to be deleted from the error log and fixed before they will be imported back into Shipment Invoicing.
Changes to Sales Shipment Invoicing
Sales Shipment Invoicing has been modified with the addition of the Cresco ID, Price Doc Type and Price Doc Number fields to the scrolling window.
Open Sales Shipment Invoicing
(Transactions>Cinch Sales>Shipment Invoicing)
Data populated on the Cresco shipment:
Information defaulted from the Customer Extension Maintenance.
Bill To Address ID
Ship To Address ID
Payment Terms ID
Ship Method
Salesperson ID
Short Blend checkbox determines if the blend should be shown as long or short blend.
If the Short Blend checkbox is marked the blend component lines will NOT be displayed on the invoice.
If the Short Blend checkbox is NOT marked the blend component lines will be displayed on the invoice.
Created User, Date and Time, are the System User, Date and Time in SQL.
Last Modified User, Date and Time, are the System User, Date and Time in SQL
Long Blend/Short Blends
Blend Item – Cresco will set the BlendSummary field to indicate the custom Blend item on the invoice.
The Number on the line that is flagged as a BlendSummary will be a valid Dynamics GP Non-Inventory item.
Blend Item Description, is the description to be used for the Blend Item and will display on the invoice for the Blend Item. Cresco will write that description to the Name field.
Each component that makes up the Blend Item will be listed as an invoice line. These lines are actual inventory items and when the invoice is posted the inventory will be affected. Cresco will write the BlendComponent as true to the invoice line table for each line that is a component.
Cresco ID is the Cresco Invoice ID that was imported.
Region comes from the Branch imported from the table.
The user may know the Cinch Document number that is used to drive pricing in the case the following fields will be populated.
Price Doc Type is an informational field from Cresco displaying the document type used Price this shipment.
Price Doc Number is an informational field from Cresco displaying the document number used to Price this shipment.
Even though the pricing document may be specified in the shipment, it will be the user's responsibility to apply the Prepay or the Sales Contract to the Counter Sale or Invoice line.
The From Source and To Source dropdown list restriction has been updated with the addition of CRESCO.
Delete Shipments, if transaction came from Cresco, the user will have the option to re-open the shipment for re-import or not.
Deleted shipments will be tracked for audit purposes.
Deleted shipment numbers will NOT be reused.
Changes to Additional Line Information Inquiry
Additional Line Information has been modified with the addition of the Cresco Invoice ID, Price Doc Type and Price Doc Number fields.
Open Additional Line Information
(Transactions>Cinch Sales>Invoices or Transactions>Cinch Sales>Counter Sales)
3820 Mansell Road, Suite 350 ✦ Alpharetta, GA 30022 ✦ www.GreenstoneSystems.com
© 2013 - 2024 Cultura Technologies, LLC. All Rights Reserved Worldwide. Products and company names mentioned herein may be trademarks or registered trademarks of their respective owners.