Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B 20654 m25 int #13886

Merged
merged 11 commits into from
Oct 14, 2024
4 changes: 4 additions & 0 deletions cmd/generate-payment-request-edi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,8 @@ func main() {
}

fmt.Print(edi858String)
err = models.CreatePaymentRequestEdiFile(appCtx.DB(), "858."+paymentRequest.PaymentRequestNumber, edi858String, paymentRequestNumber)
if err != nil {
logger.Fatal(err.Error())
}
}
1 change: 1 addition & 0 deletions migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1008,3 +1008,4 @@
20241002151527_add_transportation_offices_AK_HI.up.sql
20241002164836_add_re_country_table_and_refactor.up.sql
20241002170242_add_ub_shipment_type.up.sql
20241007162933_addPaymentRequestEdiFiles.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CREATE TABLE
IF NOT EXISTS payment_request_edi_files (
id UUID PRIMARY KEY,
payment_request_number TEXT NOT NULL,
traskowskycaci marked this conversation as resolved.
Show resolved Hide resolved
edi_string TEXT NOT NULL,
file_name TEXT NOT NULL,
created_at TIMESTAMP
WITH
TIME ZONE DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP
WITH
TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
26 changes: 26 additions & 0 deletions pkg/gen/adminapi/adminoperations/mymove_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading