P2P - Status Codes


INVOICE

​Invoice Status ​Invoice Secondary Status

​Received = 0

Matching = 1

Workflow = 2

Transfer = 3

Completed = 4

Cancelled = 5

Archive = 6

AnyERP = 7

Closed = 8

Historical = 9

AutomaticHandling=10



​Draft = 0
Process Started = 1
In Validation = 2
Valid = 3
Not Valid = 4
OM Automatic Matching = 5
OM Manual Matching = 6
Waiting For GR = 7
Review = 8
Row Approve = 9
Header Approve = 10
Admin Approve = 11
Ready For Transfer = 12
Waiting For Transfer = 13
Transferred = 14
Transfer Failed = 15
Unclear = 16
No Status = 17
Waiting For Archiving = 18
Archived = 19
Ready For AnyErp Processing = 20
Waiting For AnyErp Processing = 21
AnyErp Processing Done = 22
AnyErp Processing Failed = 23
Returned = 24
PP Automatic Matching = 25
PP Manual Matching = 26
Completed = 27
Cancelled = 28
Personal Draft = 29
Row Review = 30
AutomaticCoding = 31
Closed = 32
CancelledStatusUpdateFailed = 33
Historical = 34
WaitingForERP = 35
DifferenceHandling = 36


Invoice Prebook Status

NotPrebooked = 0
PrebookInProgress = 1
Prebooked = 2
PrebookFailed = 3



Invoice Validation Failed Codes

0 = None
1 = ImageMissing
2 = Duplicate
3 = MandatoryDataMissing
4 = MultipleErrors
5 = SupplierCheckFailed
6 = InvalidReferenceNumber
7 = InvalidValue
8 = AdditionalCostImbalanced



Invoice Origin Basware ​Invoice Origin
​Unknown = 0
​Manually created = 1
​E-Invoices = 2 ​EmailLite, VP
​Basware Supplier Portal = 3 ​BP, SupplierPortal
​Basware Scan = 4 ​ScanningService, ScannedEmail, CloudScan, CloudScanSelfValidation
​Other Scanned Invoices = 5 ​InHouseScanning

​Selfbilling = 6

Migrated = 7


IA Coding Row Origin

InvoiceAutomation = 0
AutomaticMatchingOrder = 1
ManualMatchingOrder = 2
AutomaticMatchingPaymentPlan = 3
ManualMatchingPaymentPlan = 4
AdditionalCostRowAddedByUser = 5
InvoiceAutomaticCoding = 6



MATCHING

​Matching Status ​Matching Secondary Status

​Unmatched = 0
Matched = 1
Partially Matched = 2
Matched With Errors = 3
Unmatched With Credit Note = 4
Partially Matched With Credit Note = 5

​New = 0
CategoryNotFound = 1
CategoryFound = 2
Associated = 3
AssociationFailed = 4
Validated = 5
ValidationFailed = 6
EndProcess = 7
RematchByUser = 8
ForceMatchByUser = 9
CancelMatchByUser = 10
PartiallyAssociated = 11
CopyCoding = 12
Adjustment = 13
ValidationFailedMatchManually = 14
WaitingGoodsReceipts = 15
WaitingErpUpdate = 16
OMConfigrationNotFound = 17
InvoiceSaveFailed = 18
RequestManualInvoiceApproval = 19
WaitingGoodsReceiptsFailed = 20
MatchingFailedUnexpectedly = 21
LicenseCheckFailed = 22
CalculationMethodNotFound = 23
CreditInvoiceFound = 27
SupplierValidationFailed = 28
CurrencyValidationFailed = 29
UnitOfMeasureValidationFailed = 30
OrganizationUnitValidationFailed = 31
ProductCodeValidationFailed = 32
TaxCodeValidationFailed = 33
PriceValidationFailed = 34
CodingValidationFailed = 35
ToleranceValidationFailed = 36
QuantityValidationFailed = 37
MultipleValidationsFailed = 38
Validity Period Validation Failed = 39
AbsoluteFrameworkOvermatchError = 53
PercentualFrameworkOverMatchError = 54
PercentualAutomaticFrameworkMatchError = 55
FrameworkValidityPeriodError = 56
ReturnPOWithPositiveInvoiceSum = 57
Association Failed Send To Workflow = 58
SelfApprove = 59
RequireManualActivity = 60
InQueueForAssociation = 61
LimitViolation = 61
TwoWayAssociationError = 62
MultiplePOTypes = 63
ExchangeRateNotFound = 64
InQueueForBestFit = 65
WaitingForPO = 66
PaymentTermCodeValidationFailed = 67



Order side Status[Order, Row, GR]

NotMatched = 0
Unmatched = 1
FullyMatched = 2
PartiallyMatched = 3
Overmatched = 4
Cancelled = 5​


 

​Matching Error Status ​Payment Plan Matching Error Status

​NoError = 0
ConfigurationError = 1
CategoryError = 2
MissingGRsError = 3
ValidationError = 4
ExpressionError = 5
MultipleErrors = 6
InvoiceLineNotFoundError = 7
CalculationMethodNotFoundError = 8
Warning = 9
NoOrderRowAssociated = 10
AdditionalCostError = 11
SupplierValidationError = 12
CurrencyValidationError = 13
PriceValidationError = 14
QuantityValidationError = 15
CodingValidationError = 16
ToleranceValidationError = 17
OrganizationUnitValidationError = 18
ProductCodeValidationError = 19
TaxCodeValidationError = 20
UnitOfMeasureValidationError = 21 AbsoluteFrameworkOvermatchError = 36
PercentualFrameworkOverMatchError = 37
PercentualAutomaticFrameworkMatchError = 38
FrameworkValidityPeriodError = 39
SubsequentInvoiceQuanityValidationError = 40
InvoiceRowSumAndQuantityValidationError = 41
SubsequentCreditInvoiceSumValidationError = 42
CannotAssociateServicePOIfGRsAreNotInUse = 43
ServiceEntrySheetNotAccepted = 44
Error=255

​No Error = 0
Payment Schedule Sum Tolerance Error = 1
Payment Schedule Date Tolerance Error = 2
Multiple Errors = 3 Error = 255



Payment Plan Status ​Payment Plan Secondary Status

​Received = 0
Workflow = 10
Approved = 20
Archived = 30
Removal = 40

​Imported = 0
Draft = 10
Process Started = 11
In Validation = 12
Valid = 13
Header Approve = 50
Deactivated = 60
Active = 70
Expired = 80
No Status = 90
Invalid = 120
Review = 130
Waiting For Activation = 140



PURCHASE

​Purchase Requisition Status ​Purchase Order Status

​Draft = 0
Returned To Owner = 1
In Workflow = 2
Approved = 6
Ordered = 9
Partially Received = 13
Received = 14
Canceled = 16
Rejected = 17
Order Created = 19

​Ready for Order = 8
Ordered = 9
Supplier Rejected = 10
Supplier Confirmed = 11
Modified by Supplier = 12
Partially Received = 13
Received = 14
Canceled = 16
Order Created = 19
Closed = 21


​Order Sub Status ​Purchase Line Status

​Supplier Confirmed = 0
Supplier Rejected = 1
Supplier Confirmed Changes = 2
Supplier Sending Failed = 3

Draft = 0
ReturnedToOwner = 1
InWorkflow = 2
Reviewed = 3
Recommended = 4
Opposed = 5
Approved = 6
Confirmed = 7
ReadyForOrder = 8
Ordered = 9
SupplierRejected = 10
SupplierConfirmed = 11
ModifiedBySupplier = 12
PartiallyReceived = 13
Received = 14
CostLine = 15
Canceled = 16
Rejected = 17
Deleted = 18
OrderCreated = 19
AttachedToOrder = 20
Closed = 21
SelfApproved = 22



TASKS


Task State
Initialized = 0
Pending = 1
Forwarded = 2
Failed = 3
Cancelled = 4
Completed = 5
Rejected = 6
Hold/Reserved = 7
Duplicate Task = 8
Suspended = 9
Error = 10

Process Instance State
None = 0
Active = 1
Completed = 2
Canceled =3
Suspended = 4
In Error = 5

Activity Instance State
None = 0
Initiallized = 1
Executing = 2
Completed =3
Skipped = 4

Received

Draft
In Validation
Valid
Not Valid


Matching

Automatic
Manual
Waiting for GR

Workflow

Review
Row Approve
Header Approve

Processed

Ready For Transfer
Waiting For Transfer
Transferred
Transfer Failed
Unclear

Completed

Cancelled