Skip to content

Consume sqs messages. Update completions table with work order completion internalid. rm completed for client subscriptions.

License

Notifications You must be signed in to change notification settings

Shaun-York/goUpdateCompletion

Repository files navigation

goUpdateCompletion AWS Lambda 3 of 3

Consume sqs messages. Update completions table with work order completion internalid. rm completed

AWSAPI Gateway -> SQS -> goUpdateTaskQty -> SQS -> goUpdateNetSuite -> SQS -> goUpdateCompletion

Payload - Completion table columns

{
    "workordercompletion_id": "to be filled workorder completion internailid",
    "operation_sequence": "NetSuite operation sequence",
    "last_completion": "boolean this completion completes build",
    "remaining_qty": "input qty - completed",
    "mfgoptask_id": "NetSuite mfg operation task internalid",
    "completedQty": "Qty completed",
    "workorder_id": "NetSuite workorder internalid",
    "operator_id": "Operators",
    "worktime_id": "Worktime table pk",
    "location_id": "Location completed at internalid",
    "machine_id": "Machine completed on pk",
    "updated_at": "updated at",
    "created_at": "created at",
    "workcenter": "NetSuite entity group",
    "scrapQty": "Qty scrapped in completion",
    "item_id": "NetSuite item internalid",
    "action": "mk or rm",
    "id": "table pk",
}

About

Consume sqs messages. Update completions table with work order completion internalid. rm completed for client subscriptions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published