Invoice object
The MXINVOICE object structure allows for bidirectional synchronization of exporting invoice information and supports status changes.
Outbound integration processing
The following table shows the predefined values used in outbound integration processing.
| Predefined integration components | Value and description |
|---|---|
| Object structure definition class functionality | None |
| Publish channel | MXINVOICEInterface - Uses processing rules, the complete invoice document is sent only for status changes. |
| Processing rules |
|
| Integration controls | IVSEND |
Inbound integration processing
The following table shows the preconfigured values used in inbound integration processing.
| Predefined integration components | Value and description |
|---|---|
| Object structure processing class functionality |
The inbound processing creates and updates INVOICECOST lines only if one of the following conditions is met:
In all other cases, the inbound processing ignores INVOICECOST information when creating or updating the invoice. If the inbound message provides INVOICETERMS, the inbound processing deletes the old terms and adds the new ones. Users can optionally specify a price variance in the PRICEVAR field on each invoice line, if invoice matching is done in the external system and price variances determined in the external system are sent to create variance transactions to update work orders and storerooms. In order to process these variances, a value must exist for OWNERSYSID in the inbound invoice, and it cannot be the same as the value of MAXVARS.MXSYSID. Users can optionally specify a price variance in the PRICEVAR field on each invoice line, if invoice matching is done in the external system and price variances determined in the external system are sent to create variance transactions to update work orders and storerooms. In order to process these variances, a value must exist for OWNERSYSID in the inbound invoice, and it cannot be the same as the value of MAXVARS.MXSYSID. The IVMATCH collaboration switch requires the following values:
If the evaluation is false, line level invoice variances are ignored in the invoice processing. The following are the typical scenarios for using the invoice interface:
The primary intent of this interface is to provide the system with any variance information necessary for updating the work order costs. |
| Publish channel | MXINVOICEInterface |
| Processing rules | None |
| Integration controls | None |
The following table shows an example of possible INVOICE.OWNERSYSID values, the evaluation that is generated, and the default result of the evaluation.
| Value of INVOICE.OWNERSYSID | Evaluation | Result (default) |
|---|---|---|
| Null | OWNER1SYSID=”THISMX” and OWNER2SYSID=”THISMX” | False |
| MXSYSID | OWNER1SYSID=”THISMX” and OWNER2SYSID=”THISMX” | False |
| EXTSYSID | OWNER1SYSID=”THISMX” and OWNER2SYSID=”EXT” | True |
| Any other value | OWNER1SYSID=”THISMX” and OWNER2SYSID=”EXT” | True |