@globisnv/cypress-core 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +7 -7
- package/dist/apiMethods/IGS_request.d.ts +0 -98
- package/dist/apiMethods/IGS_request.js +0 -161
- package/dist/apiMethods/IGS_response.d.ts +0 -47
- package/dist/apiMethods/IGS_response.js +0 -1
- package/dist/blueprints/GLO_addressPopup.d.ts +0 -45
- package/dist/blueprints/GLO_addressPopup.js +0 -96
- package/dist/blueprints/GLO_article.d.ts +0 -45
- package/dist/blueprints/GLO_article.js +0 -110
- package/dist/blueprints/GLO_articleLot.d.ts +0 -12
- package/dist/blueprints/GLO_articleLot.js +0 -23
- package/dist/blueprints/GLO_articleVersion.d.ts +0 -4
- package/dist/blueprints/GLO_articleVersion.js +0 -4
- package/dist/blueprints/GLO_attachmentPopup.d.ts +0 -9
- package/dist/blueprints/GLO_attachmentPopup.js +0 -10
- package/dist/blueprints/GLO_bankAccount.d.ts +0 -7
- package/dist/blueprints/GLO_bankAccount.js +0 -7
- package/dist/blueprints/GLO_billingProcess.d.ts +0 -4
- package/dist/blueprints/GLO_billingProcess.js +0 -4
- package/dist/blueprints/GLO_billingProposal.d.ts +0 -9
- package/dist/blueprints/GLO_billingProposal.js +0 -9
- package/dist/blueprints/GLO_cancel.d.ts +0 -7
- package/dist/blueprints/GLO_cancel.js +0 -7
- package/dist/blueprints/GLO_commandlist.d.ts +0 -10
- package/dist/blueprints/GLO_commandlist.js +0 -10
- package/dist/blueprints/GLO_complaint.d.ts +0 -27
- package/dist/blueprints/GLO_complaint.js +0 -51
- package/dist/blueprints/GLO_composition.d.ts +0 -14
- package/dist/blueprints/GLO_composition.js +0 -20
- package/dist/blueprints/GLO_consignment.d.ts +0 -61
- package/dist/blueprints/GLO_consignment.js +0 -104
- package/dist/blueprints/GLO_consignmentContainerGroup.d.ts +0 -6
- package/dist/blueprints/GLO_consignmentContainerGroup.js +0 -6
- package/dist/blueprints/GLO_consignmentGoods.d.ts +0 -40
- package/dist/blueprints/GLO_consignmentGoods.js +0 -62
- package/dist/blueprints/GLO_consignmentHandling.d.ts +0 -4
- package/dist/blueprints/GLO_consignmentHandling.js +0 -4
- package/dist/blueprints/GLO_consignmentOrder.d.ts +0 -31
- package/dist/blueprints/GLO_consignmentOrder.js +0 -37
- package/dist/blueprints/GLO_consignmentPart.d.ts +0 -13
- package/dist/blueprints/GLO_consignmentPart.js +0 -13
- package/dist/blueprints/GLO_consignmentParts.d.ts +0 -5
- package/dist/blueprints/GLO_consignmentParts.js +0 -12
- package/dist/blueprints/GLO_consignmentPrice.d.ts +0 -11
- package/dist/blueprints/GLO_consignmentPrice.js +0 -19
- package/dist/blueprints/GLO_consignmentSupplier.d.ts +0 -6
- package/dist/blueprints/GLO_consignmentSupplier.js +0 -11
- package/dist/blueprints/GLO_contacts.d.ts +0 -10
- package/dist/blueprints/GLO_contacts.js +0 -14
- package/dist/blueprints/GLO_container.d.ts +0 -6
- package/dist/blueprints/GLO_container.js +0 -4
- package/dist/blueprints/GLO_contract.d.ts +0 -22
- package/dist/blueprints/GLO_contract.js +0 -30
- package/dist/blueprints/GLO_contractArticle.d.ts +0 -17
- package/dist/blueprints/GLO_contractArticle.js +0 -35
- package/dist/blueprints/GLO_contractArticleCost.d.ts +0 -5
- package/dist/blueprints/GLO_contractArticleCost.js +0 -8
- package/dist/blueprints/GLO_countryVatZone.d.ts +0 -8
- package/dist/blueprints/GLO_countryVatZone.js +0 -9
- package/dist/blueprints/GLO_currencyDeviation.d.ts +0 -14
- package/dist/blueprints/GLO_currencyDeviation.js +0 -15
- package/dist/blueprints/GLO_customerArticle.d.ts +0 -12
- package/dist/blueprints/GLO_customerArticle.js +0 -15
- package/dist/blueprints/GLO_customsFlow.d.ts +0 -8
- package/dist/blueprints/GLO_customsFlow.js +0 -19
- package/dist/blueprints/GLO_customsFlowDefinition.d.ts +0 -15
- package/dist/blueprints/GLO_customsFlowDefinition.js +0 -14
- package/dist/blueprints/GLO_customsUnion.d.ts +0 -4
- package/dist/blueprints/GLO_customsUnion.js +0 -4
- package/dist/blueprints/GLO_deliveryReceipt.d.ts +0 -10
- package/dist/blueprints/GLO_deliveryReceipt.js +0 -22
- package/dist/blueprints/GLO_departureSchedule.d.ts +0 -27
- package/dist/blueprints/GLO_departureSchedule.js +0 -57
- package/dist/blueprints/GLO_departureScheduleTimes.d.ts +0 -49
- package/dist/blueprints/GLO_departureScheduleTimes.js +0 -61
- package/dist/blueprints/GLO_document.d.ts +0 -7
- package/dist/blueprints/GLO_document.js +0 -7
- package/dist/blueprints/GLO_documentAttachment.d.ts +0 -4
- package/dist/blueprints/GLO_documentAttachment.js +0 -4
- package/dist/blueprints/GLO_documentDefinitionEntity.d.ts +0 -5
- package/dist/blueprints/GLO_documentDefinitionEntity.js +0 -5
- package/dist/blueprints/GLO_documentGroup.d.ts +0 -4
- package/dist/blueprints/GLO_documentGroup.js +0 -4
- package/dist/blueprints/GLO_documentType.d.ts +0 -12
- package/dist/blueprints/GLO_documentType.js +0 -11
- package/dist/blueprints/GLO_enterCountry.d.ts +0 -21
- package/dist/blueprints/GLO_enterCountry.js +0 -47
- package/dist/blueprints/GLO_enterDiscount.d.ts +0 -8
- package/dist/blueprints/GLO_enterDiscount.js +0 -9
- package/dist/blueprints/GLO_equipment.d.ts +0 -34
- package/dist/blueprints/GLO_equipment.js +0 -55
- package/dist/blueprints/GLO_equipmentCategory.d.ts +0 -15
- package/dist/blueprints/GLO_equipmentCategory.js +0 -14
- package/dist/blueprints/GLO_equipmentEntity.d.ts +0 -5
- package/dist/blueprints/GLO_equipmentEntity.js +0 -5
- package/dist/blueprints/GLO_equipmentServiceCategory.d.ts +0 -13
- package/dist/blueprints/GLO_equipmentServiceCategory.js +0 -13
- package/dist/blueprints/GLO_equipmentType.d.ts +0 -21
- package/dist/blueprints/GLO_equipmentType.js +0 -20
- package/dist/blueprints/GLO_equipmentTypeServiceCategory.d.ts +0 -13
- package/dist/blueprints/GLO_equipmentTypeServiceCategory.js +0 -12
- package/dist/blueprints/GLO_fieldInputValidation.d.ts +0 -46
- package/dist/blueprints/GLO_fieldInputValidation.js +0 -73
- package/dist/blueprints/GLO_formula.d.ts +0 -9
- package/dist/blueprints/GLO_formula.js +0 -9
- package/dist/blueprints/GLO_gang.d.ts +0 -12
- package/dist/blueprints/GLO_gang.js +0 -12
- package/dist/blueprints/GLO_holiday.d.ts +0 -7
- package/dist/blueprints/GLO_holiday.js +0 -8
- package/dist/blueprints/GLO_journey.d.ts +0 -18
- package/dist/blueprints/GLO_journey.js +0 -24
- package/dist/blueprints/GLO_journeyStop.d.ts +0 -32
- package/dist/blueprints/GLO_journeyStop.js +0 -44
- package/dist/blueprints/GLO_layout.d.ts +0 -6
- package/dist/blueprints/GLO_layout.js +0 -6
- package/dist/blueprints/GLO_logging.d.ts +0 -9
- package/dist/blueprints/GLO_logging.js +0 -12
- package/dist/blueprints/GLO_logisticConnection.d.ts +0 -10
- package/dist/blueprints/GLO_logisticConnection.js +0 -11
- package/dist/blueprints/GLO_logisticConnectionType.d.ts +0 -5
- package/dist/blueprints/GLO_logisticConnectionType.js +0 -5
- package/dist/blueprints/GLO_logisticContract.d.ts +0 -28
- package/dist/blueprints/GLO_logisticContract.js +0 -80
- package/dist/blueprints/GLO_logisticContractDetail.d.ts +0 -42
- package/dist/blueprints/GLO_logisticContractDetail.js +0 -122
- package/dist/blueprints/GLO_logisticContractDetailHandling.d.ts +0 -11
- package/dist/blueprints/GLO_logisticContractDetailHandling.js +0 -14
- package/dist/blueprints/GLO_logisticContractDetailItem.d.ts +0 -5
- package/dist/blueprints/GLO_logisticContractDetailItem.js +0 -8
- package/dist/blueprints/GLO_logisticContractItem.d.ts +0 -14
- package/dist/blueprints/GLO_logisticContractItem.js +0 -40
- package/dist/blueprints/GLO_logisticContractItemActivity.d.ts +0 -4
- package/dist/blueprints/GLO_logisticContractItemActivity.js +0 -4
- package/dist/blueprints/GLO_logisticContractItemSurcharge.d.ts +0 -7
- package/dist/blueprints/GLO_logisticContractItemSurcharge.js +0 -7
- package/dist/blueprints/GLO_logisticContractItemSurchargeItem.d.ts +0 -4
- package/dist/blueprints/GLO_logisticContractItemSurchargeItem.js +0 -4
- package/dist/blueprints/GLO_logisticContractReference.d.ts +0 -4
- package/dist/blueprints/GLO_logisticContractReference.js +0 -4
- package/dist/blueprints/GLO_logisticContractVolumeConstraint.d.ts +0 -9
- package/dist/blueprints/GLO_logisticContractVolumeConstraint.js +0 -8
- package/dist/blueprints/GLO_logisticLocation.d.ts +0 -7
- package/dist/blueprints/GLO_logisticLocation.js +0 -7
- package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.d.ts +0 -19
- package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.js +0 -30
- package/dist/blueprints/GLO_logisticPurchaseOrder.d.ts +0 -4
- package/dist/blueprints/GLO_logisticPurchaseOrder.js +0 -4
- package/dist/blueprints/GLO_logistic_waiting_hours.d.ts +0 -6
- package/dist/blueprints/GLO_logistic_waiting_hours.js +0 -6
- package/dist/blueprints/GLO_operationalDefault.d.ts +0 -23
- package/dist/blueprints/GLO_operationalDefault.js +0 -25
- package/dist/blueprints/GLO_outputDetailMail.d.ts +0 -14
- package/dist/blueprints/GLO_outputDetailMail.js +0 -13
- package/dist/blueprints/GLO_postalcode.d.ts +0 -6
- package/dist/blueprints/GLO_postalcode.js +0 -6
- package/dist/blueprints/GLO_priceDependency.d.ts +0 -5
- package/dist/blueprints/GLO_priceDependency.js +0 -4
- package/dist/blueprints/GLO_priceEntry.d.ts +0 -17
- package/dist/blueprints/GLO_priceEntry.js +0 -17
- package/dist/blueprints/GLO_priceRequest.d.ts +0 -8
- package/dist/blueprints/GLO_priceRequest.js +0 -20
- package/dist/blueprints/GLO_priceRequestLine.d.ts +0 -12
- package/dist/blueprints/GLO_priceRequestLine.js +0 -17
- package/dist/blueprints/GLO_principal.d.ts +0 -9
- package/dist/blueprints/GLO_principal.js +0 -13
- package/dist/blueprints/GLO_printPopup.d.ts +0 -10
- package/dist/blueprints/GLO_printPopup.js +0 -62
- package/dist/blueprints/GLO_production.d.ts +0 -9
- package/dist/blueprints/GLO_production.js +0 -9
- package/dist/blueprints/GLO_productionLineMaterial.d.ts +0 -8
- package/dist/blueprints/GLO_productionLineMaterial.js +0 -13
- package/dist/blueprints/GLO_productionMaterial.d.ts +0 -5
- package/dist/blueprints/GLO_productionMaterial.js +0 -5
- package/dist/blueprints/GLO_purchaseCosts.d.ts +0 -6
- package/dist/blueprints/GLO_purchaseCosts.js +0 -9
- package/dist/blueprints/GLO_purchaseInvoice.d.ts +0 -12
- package/dist/blueprints/GLO_purchaseInvoice.js +0 -25
- package/dist/blueprints/GLO_purchaseInvoiceLine.d.ts +0 -8
- package/dist/blueprints/GLO_purchaseInvoiceLine.js +0 -13
- package/dist/blueprints/GLO_purchaseOrder.d.ts +0 -14
- package/dist/blueprints/GLO_purchaseOrder.js +0 -25
- package/dist/blueprints/GLO_purchaseOrderLine.d.ts +0 -10
- package/dist/blueprints/GLO_purchaseOrderLine.js +0 -24
- package/dist/blueprints/GLO_purchasePrices.d.ts +0 -10
- package/dist/blueprints/GLO_purchasePrices.js +0 -10
- package/dist/blueprints/GLO_quotation.d.ts +0 -12
- package/dist/blueprints/GLO_quotation.js +0 -32
- package/dist/blueprints/GLO_quotationLine.d.ts +0 -12
- package/dist/blueprints/GLO_quotationLine.js +0 -28
- package/dist/blueprints/GLO_receipt.d.ts +0 -13
- package/dist/blueprints/GLO_receipt.js +0 -17
- package/dist/blueprints/GLO_receiptFromTempReceipt.d.ts +0 -8
- package/dist/blueprints/GLO_receiptFromTempReceipt.js +0 -8
- package/dist/blueprints/GLO_receiptLine.d.ts +0 -22
- package/dist/blueprints/GLO_receiptLine.js +0 -28
- package/dist/blueprints/GLO_relationAddress.d.ts +0 -26
- package/dist/blueprints/GLO_relationAddress.js +0 -58
- package/dist/blueprints/GLO_relationBankAccount.d.ts +0 -9
- package/dist/blueprints/GLO_relationBankAccount.js +0 -9
- package/dist/blueprints/GLO_relationContact.d.ts +0 -23
- package/dist/blueprints/GLO_relationContact.js +0 -45
- package/dist/blueprints/GLO_relationGroupType.d.ts +0 -7
- package/dist/blueprints/GLO_relationGroupType.js +0 -6
- package/dist/blueprints/GLO_relations.d.ts +0 -67
- package/dist/blueprints/GLO_relations.js +0 -186
- package/dist/blueprints/GLO_relationtype.d.ts +0 -15
- package/dist/blueprints/GLO_relationtype.js +0 -31
- package/dist/blueprints/GLO_remarkType.d.ts +0 -10
- package/dist/blueprints/GLO_remarkType.js +0 -9
- package/dist/blueprints/GLO_remarkTypeDefaultValue.d.ts +0 -4
- package/dist/blueprints/GLO_remarkTypeDefaultValue.js +0 -14
- package/dist/blueprints/GLO_remarkTypeEntityType.d.ts +0 -10
- package/dist/blueprints/GLO_remarkTypeEntityType.js +0 -9
- package/dist/blueprints/GLO_representative.d.ts +0 -7
- package/dist/blueprints/GLO_representative.js +0 -6
- package/dist/blueprints/GLO_salesInvoice.d.ts +0 -9
- package/dist/blueprints/GLO_salesInvoice.js +0 -15
- package/dist/blueprints/GLO_salesInvoiceLine.d.ts +0 -9
- package/dist/blueprints/GLO_salesInvoiceLine.js +0 -13
- package/dist/blueprints/GLO_salesOrder.d.ts +0 -13
- package/dist/blueprints/GLO_salesOrder.js +0 -25
- package/dist/blueprints/GLO_salesOrderLine.d.ts +0 -13
- package/dist/blueprints/GLO_salesOrderLine.js +0 -34
- package/dist/blueprints/GLO_stockCorrection.d.ts +0 -14
- package/dist/blueprints/GLO_stockCorrection.js +0 -24
- package/dist/blueprints/GLO_stopSchedule.d.ts +0 -4
- package/dist/blueprints/GLO_stopSchedule.js +0 -4
- package/dist/blueprints/GLO_supplierArticle.d.ts +0 -8
- package/dist/blueprints/GLO_supplierArticle.js +0 -8
- package/dist/blueprints/GLO_tclSetting.d.ts +0 -6
- package/dist/blueprints/GLO_tclSetting.js +0 -6
- package/dist/blueprints/GLO_todo.d.ts +0 -10
- package/dist/blueprints/GLO_todo.js +0 -21
- package/dist/blueprints/GLO_todoSchedule.d.ts +0 -23
- package/dist/blueprints/GLO_todoSchedule.js +0 -79
- package/dist/blueprints/GLO_tractionDistance.d.ts +0 -6
- package/dist/blueprints/GLO_tractionDistance.js +0 -6
- package/dist/blueprints/GLO_transportOrder.d.ts +0 -4
- package/dist/blueprints/GLO_transportOrder.js +0 -4
- package/dist/blueprints/GLO_transportPrice.d.ts +0 -18
- package/dist/blueprints/GLO_transportPrice.js +0 -34
- package/dist/blueprints/GLO_transportRequirement.d.ts +0 -18
- package/dist/blueprints/GLO_transportRequirement.js +0 -32
- package/dist/blueprints/GLO_transportRequirementContainer.d.ts +0 -8
- package/dist/blueprints/GLO_transportRequirementContainer.js +0 -8
- package/dist/blueprints/GLO_transportRequirementGoods.d.ts +0 -33
- package/dist/blueprints/GLO_transportRequirementGoods.js +0 -51
- package/dist/blueprints/GLO_transportScenarioExecutionLeg.d.ts +0 -6
- package/dist/blueprints/GLO_transportScenarioExecutionLeg.js +0 -6
- package/dist/blueprints/GLO_transportStock.d.ts +0 -4
- package/dist/blueprints/GLO_transportStock.js +0 -4
- package/dist/blueprints/GLO_visit.d.ts +0 -9
- package/dist/blueprints/GLO_visit.js +0 -10
- package/dist/blueprints/GLO_warehouseMove.d.ts +0 -9
- package/dist/blueprints/GLO_warehouseMove.js +0 -9
- package/dist/blueprints/GLO_warehouseOrderSubline.d.ts +0 -6
- package/dist/blueprints/GLO_warehouseOrderSubline.js +0 -11
- package/dist/blueprints/GLO_workflowLoggingTable.d.ts +0 -20
- package/dist/blueprints/GLO_workflowLoggingTable.js +0 -20
- package/dist/blueprints/GLO_workflowVerification.d.ts +0 -10
- package/dist/blueprints/GLO_workflowVerification.js +0 -19
- package/dist/blueprints/GLO_zone.d.ts +0 -9
- package/dist/blueprints/GLO_zone.js +0 -9
- package/dist/blueprints/GLO_zone_postalcode.d.ts +0 -12
- package/dist/blueprints/GLO_zone_postalcode.js +0 -10
- package/dist/blueprints/GLO_zone_type.d.ts +0 -8
- package/dist/blueprints/GLO_zone_type.js +0 -7
- package/dist/blueprints/GLT_goods.d.ts +0 -2
- package/dist/blueprints/GLT_goods.js +0 -12
- package/dist/commands/FOB_commands.d.ts +0 -124
- package/dist/commands/FOB_commands.js +0 -211
- package/dist/commands/GLJ_commands.d.ts +0 -28
- package/dist/commands/GLJ_commands.js +0 -40
- package/dist/commands/GLO_commands.d.ts +0 -685
- package/dist/commands/GLO_commands.js +0 -2315
- package/dist/commands/GLS_commands.d.ts +0 -63
- package/dist/commands/GLS_commands.js +0 -103
- package/dist/commands/GLT_commands.d.ts +0 -78
- package/dist/commands/GLT_commands.js +0 -148
- package/dist/commands/POR_commands.d.ts +0 -85
- package/dist/commands/POR_commands.js +0 -122
- package/dist/config.d.ts +0 -9
- package/dist/config.js +0 -115
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -15
- package/dist/plugins/prometheusWriter.d.ts +0 -15
- package/dist/plugins/prometheusWriter.js +0 -111
- package/dist/register.d.ts +0 -8
- package/dist/register.js +0 -23
- package/dist/tsHelper.d.ts +0 -161
- package/dist/tsHelper.js +0 -294
- package/dist/types.d.ts +0 -363
- package/dist/types.js +0 -4
- package/dist/websocketDetector.d.ts +0 -71
- package/dist/websocketDetector.js +0 -1593
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type objConsignmentPart = {
|
|
2
|
-
externalLotNr?: string;
|
|
3
|
-
productionSite?: string;
|
|
4
|
-
selectLot?: string;
|
|
5
|
-
quantity?: number;
|
|
6
|
-
packagingQuantity?: number;
|
|
7
|
-
lengthBooked?: number;
|
|
8
|
-
widthBooked?: number;
|
|
9
|
-
heightBooked?: number;
|
|
10
|
-
netWeight?: number;
|
|
11
|
-
grossWeight?: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const GLO_enterConsignmentPart: (obj: objConsignmentPart) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const GLO_enterConsignmentPart = (obj) => {
|
|
2
|
-
const formName = 'ng$consignment_parts_dtl';
|
|
3
|
-
cy.GLO_addInput([formName, 'external_lot_nr'], obj.externalLotNr);
|
|
4
|
-
cy.GLO_addInput([formName, 'production_site'], obj.productionSite);
|
|
5
|
-
cy.GLO_addInput([formName, 'lot_id'], obj.selectLot);
|
|
6
|
-
cy.GLO_addInput([formName, 'quantity'], obj.quantity);
|
|
7
|
-
cy.GLO_addInput([formName, 'packaging_quantity'], obj.packagingQuantity);
|
|
8
|
-
cy.GLO_addInput([formName, 'length_booked'], obj.lengthBooked);
|
|
9
|
-
cy.GLO_addInput([formName, 'width_booked'], obj.widthBooked);
|
|
10
|
-
cy.GLO_addInput([formName, 'height_booked'], obj.heightBooked);
|
|
11
|
-
cy.GLO_addInput([formName, 'net_weight'], obj.netWeight);
|
|
12
|
-
cy.GLO_addInput([formName, 'gross_weight'], obj.grossWeight);
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { close, open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterConsignmentParts = (obj) => {
|
|
3
|
-
const formName = 'ng$consignment_parts_dtl';
|
|
4
|
-
const stockRefsTabName = 'ng$consignment_parts_dtl_stock_refs';
|
|
5
|
-
const detailTabsName = 'tabs_70';
|
|
6
|
-
if (obj.stockRef1 || obj.stockRef2) {
|
|
7
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Stock references', open);
|
|
8
|
-
cy.GLO_addInput([stockRefsTabName, 'stock_ref_1'], obj.stockRef1);
|
|
9
|
-
cy.GLO_addInput([stockRefsTabName, 'stock_ref_2'], obj.stockRef2);
|
|
10
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Stock references', close);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type objConsignmentPrice = {
|
|
2
|
-
articleCode?: string;
|
|
3
|
-
salesPriceToInvoice?: number;
|
|
4
|
-
relationSelector?: string;
|
|
5
|
-
extraInvoiceSplit?: string;
|
|
6
|
-
salesCurrency?: string;
|
|
7
|
-
manualPrice?: number;
|
|
8
|
-
financialCorrectionReasonCode?: string;
|
|
9
|
-
quantityToInvoice?: number;
|
|
10
|
-
};
|
|
11
|
-
export declare const GLO_enterConsignmentPrice: (obj: objConsignmentPrice) => void;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { close, open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterConsignmentPrice = (obj) => {
|
|
3
|
-
const formName = 'ng$consignment_price_dtl';
|
|
4
|
-
const formNameGeneral = 'ng$consignment_price_dtl_general';
|
|
5
|
-
cy.GLO_addInput([formName, 'article_code'], obj.articleCode);
|
|
6
|
-
if (obj.articleCode)
|
|
7
|
-
cy.GLO_checkLoadingIndicator();
|
|
8
|
-
if (obj.salesPriceToInvoice || obj.relationSelector || obj.extraInvoiceSplit || obj.manualPrice || obj.financialCorrectionReasonCode || obj.quantityToInvoice) {
|
|
9
|
-
cy.GLO_selectTab(['ng$consignment_price_dtl', 'tabs_70'], 'General', open);
|
|
10
|
-
cy.GLO_addInput([formNameGeneral, 'quantity_to_invoice'], obj.quantityToInvoice);
|
|
11
|
-
cy.GLO_addInput([formNameGeneral, 'sales_price_to_invoice'], obj.salesPriceToInvoice);
|
|
12
|
-
cy.GLO_addInput([formNameGeneral, 'sales_price_price_currency_id'], obj.salesCurrency);
|
|
13
|
-
cy.GLO_popupWindow([formNameGeneral, 'relation_selector'], obj.relationSelector);
|
|
14
|
-
cy.GLO_addInput([formNameGeneral, 'extra_invoice_split'], obj.extraInvoiceSplit);
|
|
15
|
-
cy.GLO_addInput([formNameGeneral, 'sales_price_in_price_currency'], obj.manualPrice);
|
|
16
|
-
cy.GLO_addInput([formNameGeneral, 'financial_correction_reason_code_id'], obj.financialCorrectionReasonCode);
|
|
17
|
-
cy.GLO_selectTab(['ng$consignment_price_dtl', 'tabs_70'], 'General', close);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const GLO_enterConsignmentSupplier = (obj) => {
|
|
2
|
-
const formName = 'ng$consignment_supplier_dtl';
|
|
3
|
-
if (obj.logisticContractItemCode) {
|
|
4
|
-
cy.GLO_clearField([formName, 'logistic_contract_item']);
|
|
5
|
-
cy.GLO_addInput([formName, 'logistic_contract_item'], obj.logisticContractItemCode);
|
|
6
|
-
}
|
|
7
|
-
if (obj.logisticContractDetailCode && obj.logisticContractCode) {
|
|
8
|
-
cy.GLO_clearField([formName, 'logistic_contract_detail']);
|
|
9
|
-
cy.GLO_popupWindow([formName, 'logistic_contract_detail'], obj.logisticContractDetailCode);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type CheckState } from '../tsHelper.js';
|
|
2
|
-
export type objContacts = {
|
|
3
|
-
firstname?: string;
|
|
4
|
-
lastname?: string;
|
|
5
|
-
flagSalesorder?: CheckState;
|
|
6
|
-
flagSalesInvoice?: CheckState;
|
|
7
|
-
flagSalesDelivery?: CheckState;
|
|
8
|
-
emailaddressContact?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const GLO_enterContacts: (obj: objContacts) => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterContacts = (obj) => {
|
|
3
|
-
const formName = 'ng$relation_contact_dtl_general';
|
|
4
|
-
const formNameGeneral = 'ng$relations_relation_contact_dtl';
|
|
5
|
-
const formNameRelation = 'ng$relations_relation_contact_dtl_relation';
|
|
6
|
-
const formNameCommunication = 'ng$relation_contact_dtl_communication';
|
|
7
|
-
cy.GLO_addInput([formName, 'firstname'], obj.firstname);
|
|
8
|
-
cy.GLO_addInput([formName, 'lastname'], obj.lastname);
|
|
9
|
-
cy.GLO_checkbox([formNameRelation, 'flag_salesorder'], obj.flagSalesorder);
|
|
10
|
-
cy.GLO_checkbox([formNameRelation, 'flag_sales_invoice'], obj.flagSalesInvoice);
|
|
11
|
-
cy.GLO_checkbox([formNameRelation, 'flag_sales_delivery'], obj.flagSalesDelivery);
|
|
12
|
-
cy.GLO_selectTab([formNameGeneral, 'tabs_relation_contact_dtl_relation'], 'Communication', open);
|
|
13
|
-
cy.GLO_addInput([formNameCommunication, 'emailaddress'], obj.emailaddressContact);
|
|
14
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type CheckState } from '../tsHelper.js';
|
|
2
|
-
export type objContract = {
|
|
3
|
-
contractTypeId?: string;
|
|
4
|
-
contractSubtypeId?: string;
|
|
5
|
-
extraSearchCode?: string;
|
|
6
|
-
contractStartDate?: string;
|
|
7
|
-
contractEndDate?: string;
|
|
8
|
-
salesorderStartDate?: string;
|
|
9
|
-
customsStatus?: string;
|
|
10
|
-
warehouseId?: string;
|
|
11
|
-
customer?: string | number;
|
|
12
|
-
paymentConditionId?: string;
|
|
13
|
-
deliveryConditionId?: string;
|
|
14
|
-
yourReference?: string;
|
|
15
|
-
ourReference?: string;
|
|
16
|
-
validityTimespan?: string;
|
|
17
|
-
availabilityWeek?: string;
|
|
18
|
-
availabilityYear?: string;
|
|
19
|
-
flagInvoiceStock?: CheckState;
|
|
20
|
-
flagAutoRenew?: CheckState;
|
|
21
|
-
};
|
|
22
|
-
export declare const GLO_enterContract: (obj: objContract) => void;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { close, input, notEqual, open } from '../tsHelper.js';
|
|
2
|
-
const formName = 'ng$contract_dtl';
|
|
3
|
-
const formNameGeneral = 'ng$contract_dtl_general';
|
|
4
|
-
export const GLO_enterContract = (obj) => {
|
|
5
|
-
cy.GLO_addInput([formName, 'contract_type_id'], obj.contractTypeId);
|
|
6
|
-
if (obj.contractTypeId && obj.contractSubtypeId)
|
|
7
|
-
cy.GLO_checkLoadingIndicator();
|
|
8
|
-
cy.GLO_addInput([formName, 'contract_subtype_id'], obj.contractSubtypeId);
|
|
9
|
-
cy.GLO_checkbox([formName, 'flag_invoice_stock'], obj.flagInvoiceStock);
|
|
10
|
-
cy.GLO_checkbox([formName, 'flag_auto_renew'], obj.flagAutoRenew);
|
|
11
|
-
cy.GLO_addInput([formName, 'extra_search_code'], obj.extraSearchCode);
|
|
12
|
-
cy.GLO_addDate(input, [formName, 'salesorder_entry_start_date'], obj.salesorderStartDate);
|
|
13
|
-
cy.GLO_addDate(input, [formName, 'contract_date'], obj.contractStartDate);
|
|
14
|
-
cy.GLO_addDate(input, [formName, 'contract_enddate'], obj.contractEndDate);
|
|
15
|
-
cy.GLO_addInput([formName, 'customs_status'], obj.customsStatus);
|
|
16
|
-
cy.GLO_addInput([formName, 'warehouse_id'], obj.warehouseId);
|
|
17
|
-
if (obj.customer || obj.paymentConditionId || obj.deliveryConditionId || obj.yourReference || obj.ourReference) {
|
|
18
|
-
GLO_addContractGeneral(obj);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
const GLO_addContractGeneral = (obj) => {
|
|
22
|
-
cy.GLO_selectTab([formName, 'tabs_70'], 'General', open);
|
|
23
|
-
cy.GLO_popupWindow([formNameGeneral, 'btn_select_relation'], obj.customer);
|
|
24
|
-
cy.GLO_checkField([formNameGeneral, 'general_address'], '', notEqual, 10000);
|
|
25
|
-
cy.GLO_addInput([formNameGeneral, 'paymentcondition_id'], obj.paymentConditionId);
|
|
26
|
-
cy.GLO_addInput([formNameGeneral, 'deliverycondition_id'], obj.deliveryConditionId);
|
|
27
|
-
cy.GLO_addInput([formNameGeneral, 'your_reference'], obj.yourReference);
|
|
28
|
-
cy.GLO_addInput([formNameGeneral, 'our_reference'], obj.ourReference);
|
|
29
|
-
cy.GLO_selectTab([formName, 'tabs_70'], 'General', close);
|
|
30
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type objContractArticle = {
|
|
2
|
-
articleStatus?: string;
|
|
3
|
-
articleCode?: string;
|
|
4
|
-
articleCodeCustomer?: string;
|
|
5
|
-
minOrderQuantity?: number;
|
|
6
|
-
quantity?: number;
|
|
7
|
-
articlePrice?: string | number;
|
|
8
|
-
articleVersion?: string;
|
|
9
|
-
dialogOverrideMaintain?: string;
|
|
10
|
-
addressPortOfDeparture?: string;
|
|
11
|
-
containerType1?: string;
|
|
12
|
-
deliveryAddress?: string;
|
|
13
|
-
endCustomer?: string;
|
|
14
|
-
totalVolume?: number;
|
|
15
|
-
otherChanges?: number;
|
|
16
|
-
};
|
|
17
|
-
export declare const GLO_enterContractArticle: (obj: objContractArticle) => void;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { close, notEqual, open, skipCheck, span } from '../tsHelper.js';
|
|
2
|
-
const formName = 'ng$contract_article_dtl';
|
|
3
|
-
export const GLO_enterContractArticle = (obj) => {
|
|
4
|
-
const formName = 'ng$contract_article_dtl';
|
|
5
|
-
cy.GLO_addInput([formName, 'contract_article_status'], obj.articleStatus);
|
|
6
|
-
cy.GLO_popupWindow([formName, 'btn_select_article'], obj.articleCode);
|
|
7
|
-
if (obj.articleCode !== undefined)
|
|
8
|
-
cy.GLO_checkField([formName, 'description'], '', notEqual, 30000);
|
|
9
|
-
if (obj.articleVersion)
|
|
10
|
-
cy.GLO_dblClickRowInGrid(span, ['ng$articleversion_sel', 'grid'], obj.articleVersion, 'alternate_article_code', skipCheck);
|
|
11
|
-
// If the Customs status is different from the contract article, a dialog will be shown.
|
|
12
|
-
if (obj.dialogOverrideMaintain)
|
|
13
|
-
cy.GLO_dialogChoice(obj.dialogOverrideMaintain);
|
|
14
|
-
if (obj.minOrderQuantity) {
|
|
15
|
-
cy.GLO_addInput([formName, 'minimum_orderquantity'], obj.minOrderQuantity);
|
|
16
|
-
cy.GLO_checkLoadingIndicator();
|
|
17
|
-
}
|
|
18
|
-
cy.GLO_addInput([formName, 'quantity'], obj.quantity);
|
|
19
|
-
cy.GLO_addInput([formName, 'price'], obj.articlePrice);
|
|
20
|
-
cy.GLO_addInput([formName, 'customer_article_code'], obj.articleCodeCustomer);
|
|
21
|
-
if (obj.addressPortOfDeparture || obj.containerType1 || obj.deliveryAddress || obj.endCustomer) {
|
|
22
|
-
GLO_addContractArticleAttributes(obj);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const GLO_addContractArticleAttributes = (obj) => {
|
|
26
|
-
// Tab 'Attributes'
|
|
27
|
-
cy.GLO_selectTab([formName, 'tabs_70'], 'Attributes', open);
|
|
28
|
-
cy.GLO_addInput([formName, 'attribute_value_8916fdae_dc34_4545_8e1e_fd6fd55419ac'], obj.addressPortOfDeparture);
|
|
29
|
-
cy.GLO_addInput([formName, 'attribute_value_358f0da6_1da6_40a7_9764_269498d6ccad'], obj.containerType1);
|
|
30
|
-
cy.GLO_addInput([formName, 'attribute_value_aac51ccd_cbdd_460c_949e_57acbd201231'], obj.deliveryAddress);
|
|
31
|
-
cy.GLO_addInput([formName, 'attribute_value_4988f241_e64c_45e9_bef6_58f448a39806'], obj.endCustomer);
|
|
32
|
-
cy.GLO_addInput([formName, 'attribute_value_d849de33_7566_4dc7_8207_d1f6afa7de5e'], obj.totalVolume);
|
|
33
|
-
cy.GLO_addInput([formName, 'attribute_value_b28e6a8d_78ae_4679_b5c2_ce922ba66fb6'], obj.otherChanges);
|
|
34
|
-
cy.GLO_selectTab([formName, 'tabs_70'], 'Attributes', close);
|
|
35
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export const GLO_enterContractArticleCost = (obj) => {
|
|
2
|
-
const formName = 'ng$contract_article_cost_dtl';
|
|
3
|
-
// Update this to GLO_popupwindow if this program ever gets updated to the new version
|
|
4
|
-
cy.GLO_addInput([formName, 'local_article_code'], obj.articleCode);
|
|
5
|
-
if (obj.articleCode)
|
|
6
|
-
cy.GLO_checkLoadingIndicator();
|
|
7
|
-
cy.GLO_addInput([formName, 'price'], obj.price);
|
|
8
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { input } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterCountryVatZone = (obj) => {
|
|
3
|
-
const formName = 'ng$country_vat_zone_dtl';
|
|
4
|
-
cy.GLO_addInput([formName, 'company_id'], obj.company);
|
|
5
|
-
cy.GLO_addInput([formName, 'country_state'], obj.countryState);
|
|
6
|
-
cy.GLO_addInput([formName, 'vat_zone_id'], obj.vatZone);
|
|
7
|
-
cy.GLO_addInput([formName, 'customs_union_id'], obj.customsUnion);
|
|
8
|
-
cy.GLO_addDate(input, [formName, 'startdate'], obj.validFrom);
|
|
9
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type objCurrencyDeviation = {
|
|
2
|
-
currencyCode?: string;
|
|
3
|
-
relationCode?: string;
|
|
4
|
-
dateFrom?: string;
|
|
5
|
-
percentagePurchaseInvoiceNegativeAllowed?: number;
|
|
6
|
-
amountPurchaseInvoiceNegativeAllowed?: number;
|
|
7
|
-
percentagePurchaseInvoicePositiveAllowed?: number;
|
|
8
|
-
amountPurchaseInvoicePositiveAllowed?: number;
|
|
9
|
-
percentagePurchaseInvoicelineNegativeAllowed?: number;
|
|
10
|
-
amountPurchaseInvoicelineNegativeAllowed?: number;
|
|
11
|
-
percentagePurchaseInvoicelinePositiveAllowed?: number;
|
|
12
|
-
amountPurchaseInvoicelinePositiveAllowed?: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const GLO_enterCurrencyDeviation: (obj: objCurrencyDeviation) => void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { input } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterCurrencyDeviation = (obj) => {
|
|
3
|
-
const formName = 'ng$currency_deviation_dtl';
|
|
4
|
-
cy.GLO_addInput([formName, 'currency_id'], obj.currencyCode);
|
|
5
|
-
cy.GLO_addInput([formName, 'relation_id'], obj.relationCode);
|
|
6
|
-
cy.GLO_addDate(input, [formName, 'date_from'], obj.dateFrom);
|
|
7
|
-
cy.GLO_addInput([formName, 'purchase_invoice_neg_allowed_diff_perc'], obj.percentagePurchaseInvoiceNegativeAllowed);
|
|
8
|
-
cy.GLO_addInput([formName, 'purchase_invoice_neg_allowed_diff_amount'], obj.amountPurchaseInvoiceNegativeAllowed);
|
|
9
|
-
cy.GLO_addInput([formName, 'purchase_invoice_pos_allowed_diff_perc'], obj.percentagePurchaseInvoicePositiveAllowed);
|
|
10
|
-
cy.GLO_addInput([formName, 'purchase_invoice_pos_allowed_diff_amount'], obj.amountPurchaseInvoicePositiveAllowed);
|
|
11
|
-
cy.GLO_addInput([formName, 'purchase_invoiceline_neg_allowed_diff_perc'], obj.percentagePurchaseInvoicelineNegativeAllowed);
|
|
12
|
-
cy.GLO_addInput([formName, 'purchase_invoiceline_neg_allowed_diff_amount'], obj.amountPurchaseInvoicelineNegativeAllowed);
|
|
13
|
-
cy.GLO_addInput([formName, 'purchase_invoiceline_pos_allowed_diff_perc'], obj.percentagePurchaseInvoicelinePositiveAllowed);
|
|
14
|
-
cy.GLO_addInput([formName, 'purchase_invoiceline_pos_allowed_diff_amount'], obj.amountPurchaseInvoicelinePositiveAllowed);
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type objCustomerArticle = {
|
|
2
|
-
customerCode?: string;
|
|
3
|
-
customerArticleCode?: string;
|
|
4
|
-
customerArticleCustomerArticleCode?: string;
|
|
5
|
-
customerArticleMinimumQuantityToOrder?: number;
|
|
6
|
-
customerArticleContractQuantity?: number;
|
|
7
|
-
customerArticlePrice?: string;
|
|
8
|
-
customerArticleVersion?: string;
|
|
9
|
-
customerDefaultCustomsStatus?: string;
|
|
10
|
-
containerSubtype?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const GLO_addCustomerArticle: (obj: objCustomerArticle) => void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const customerArticleMainForm = 'ng$customer_article_dtl';
|
|
2
|
-
export const GLO_addCustomerArticle = (obj) => {
|
|
3
|
-
cy.GLO_popupWindow([customerArticleMainForm, 'relation_code'], obj.customerCode);
|
|
4
|
-
if (obj.customerArticleCode) {
|
|
5
|
-
cy.GLO_addInput([customerArticleMainForm, 'article_code'], obj.customerArticleCode);
|
|
6
|
-
cy.GLO_checkLoadingIndicator();
|
|
7
|
-
}
|
|
8
|
-
cy.GLO_addInput([customerArticleMainForm, 'customer_article_code'], obj.customerArticleCustomerArticleCode);
|
|
9
|
-
cy.GLO_addInput([customerArticleMainForm, 'minimum_orderquantity'], obj.customerArticleMinimumQuantityToOrder);
|
|
10
|
-
cy.GLO_addInput([customerArticleMainForm, 'quantity'], obj.customerArticleContractQuantity);
|
|
11
|
-
cy.GLO_addInput([customerArticleMainForm, 'price'], obj.customerArticlePrice);
|
|
12
|
-
cy.GLO_addInput([customerArticleMainForm, 'articleversion_code'], obj.customerArticleVersion);
|
|
13
|
-
cy.GLO_addInput([customerArticleMainForm, 'default_customs_status'], obj.customerDefaultCustomsStatus);
|
|
14
|
-
cy.GLO_addInput([customerArticleMainForm, 'container_subtype'], obj.containerSubtype);
|
|
15
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { close, open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterCustomsFlow = (obj) => {
|
|
3
|
-
const formName = 'ng$customs_flow_dtl';
|
|
4
|
-
const tabs = 'tabs_70';
|
|
5
|
-
const translationGrid = 'ng$basetabletranslation_uuid_lst_tab';
|
|
6
|
-
cy.GLO_addInput([formName, 'customs_flow_code'], obj.customsFlowCode);
|
|
7
|
-
cy.GLO_addInput([formName, 'sequence_nr'], obj.sequenceNr);
|
|
8
|
-
cy.GLO_checkbox([formName, 'flag_active'], obj.flagActive);
|
|
9
|
-
if (obj.translation) {
|
|
10
|
-
const translation = obj.translation;
|
|
11
|
-
cy.GLO_selectTab([formName, tabs], 'Translations', open);
|
|
12
|
-
cy.GLO_getElement([translationGrid, 'grid']).within(() => {
|
|
13
|
-
cy.get('.editable-field').each((field) => {
|
|
14
|
-
cy.wrap(field).dblclick().type(translation);
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
cy.GLO_selectTab([formName, tabs], 'Translations', close);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { CheckState } from '../tsHelper.js';
|
|
2
|
-
export type objCustomsFlowDefinition = {
|
|
3
|
-
sequenceNr?: number;
|
|
4
|
-
definitionCode?: string;
|
|
5
|
-
customsType?: string;
|
|
6
|
-
customsResponsibility?: string;
|
|
7
|
-
customsOfficeDefinition?: string;
|
|
8
|
-
outboundStopDefinition?: string;
|
|
9
|
-
outboundDocumentType?: string;
|
|
10
|
-
inboundStopDefinition?: string;
|
|
11
|
-
inboundDocumentType?: string;
|
|
12
|
-
remarks?: string;
|
|
13
|
-
flagActive?: CheckState;
|
|
14
|
-
};
|
|
15
|
-
export declare const GLO_enterCustomsFlowDefinition: (obj: objCustomsFlowDefinition) => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const GLO_enterCustomsFlowDefinition = (obj) => {
|
|
2
|
-
const formName = 'ng$customs_flow_definition_dtl';
|
|
3
|
-
cy.GLO_addInput([formName, 'sequence_nr'], obj.sequenceNr);
|
|
4
|
-
cy.GLO_addInput([formName, 'customs_flow_definition_code'], obj.definitionCode);
|
|
5
|
-
cy.GLO_addInput([formName, 'customs_type'], obj.customsType);
|
|
6
|
-
cy.GLO_addInput([formName, 'customs_responsibility'], obj.customsResponsibility);
|
|
7
|
-
cy.GLO_addInput([formName, 'customs_office_definition'], obj.customsOfficeDefinition);
|
|
8
|
-
cy.GLO_addInput([formName, 'outbound_stop_definition'], obj.outboundStopDefinition);
|
|
9
|
-
cy.GLO_addInput([formName, 'outbound_document_type_id'], obj.outboundDocumentType);
|
|
10
|
-
cy.GLO_addInput([formName, 'inbound_stop_definition'], obj.inboundStopDefinition);
|
|
11
|
-
cy.GLO_addInput([formName, 'inbound_document_type_id'], obj.inboundDocumentType);
|
|
12
|
-
cy.GLO_addInput([formName, 'remarks'], obj.remarks);
|
|
13
|
-
cy.GLO_checkbox([formName, 'flag_active'], obj.flagActive);
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type objDeliveryReceipt = {
|
|
2
|
-
relationCode?: number | string;
|
|
3
|
-
deliveredEuroPallets?: number;
|
|
4
|
-
deliveredMeloPallets?: number;
|
|
5
|
-
deliveredSinglePallets?: number;
|
|
6
|
-
retourEuroPallets?: number;
|
|
7
|
-
retourMeloPallets?: number;
|
|
8
|
-
retourSinglePallets?: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const GLO_enterDeliveryReceipt: (obj: objDeliveryReceipt) => void;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { close, open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterDeliveryReceipt = (obj) => {
|
|
3
|
-
const formName = 'ng$delivery_dtl';
|
|
4
|
-
const detailTabsName = 'tabs_70';
|
|
5
|
-
if (obj.relationCode) {
|
|
6
|
-
cy.GLO_selectTab([formName, detailTabsName], 'General', open);
|
|
7
|
-
cy.GLO_addInput(['ng$delivery_dtl_general', 'relation_code'], obj.relationCode);
|
|
8
|
-
cy.GLO_checkLoadingIndicator(); // Loading data
|
|
9
|
-
cy.GLO_dialogChoice('Yes');
|
|
10
|
-
cy.GLO_selectTab([formName, detailTabsName], 'General', close);
|
|
11
|
-
}
|
|
12
|
-
if (obj.deliveredEuroPallets || obj.deliveredMeloPallets || obj.deliveredSinglePallets || obj.retourEuroPallets || obj.retourMeloPallets || obj.deliveredSinglePallets) {
|
|
13
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Attributes', open);
|
|
14
|
-
cy.GLO_addInput(['attribute_value_b1fe5ae8_7bd6_4e1d_932e_4fbc94ee5aac'], obj.deliveredEuroPallets);
|
|
15
|
-
cy.GLO_addInput(['attribute_value_af15d164_55d2_4824_a9c3_38e1b7bdd731'], obj.deliveredMeloPallets);
|
|
16
|
-
cy.GLO_addInput(['attribute_value_122511ba_516a_4f39_8359_bc47e9b6cd6d'], obj.deliveredSinglePallets);
|
|
17
|
-
cy.GLO_addInput(['attribute_value_b8efaae0_2890_424d_9bf1_e774cd0334e1'], obj.retourEuroPallets);
|
|
18
|
-
cy.GLO_addInput(['attribute_value_7a21c397_9223_4af6_b961_05478a1c4341'], obj.retourMeloPallets);
|
|
19
|
-
cy.GLO_addInput(['attribute_value_11f832aa_c149_4036_815f_b650918413c9'], obj.retourSinglePallets);
|
|
20
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Attributes', close);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type CheckState } from '../tsHelper.js';
|
|
2
|
-
export type objDepartureSchedule = {
|
|
3
|
-
logisticConnection?: string;
|
|
4
|
-
supplier?: string;
|
|
5
|
-
validFrom?: string;
|
|
6
|
-
validTill?: string;
|
|
7
|
-
logisticContractDetail?: string;
|
|
8
|
-
operationalActive?: CheckState;
|
|
9
|
-
dgnAllowed?: CheckState;
|
|
10
|
-
comment?: string;
|
|
11
|
-
scheduleComment?: string;
|
|
12
|
-
userInSimulation?: CheckState;
|
|
13
|
-
useInPriceCalculation?: CheckState;
|
|
14
|
-
automaticCreation?: CheckState;
|
|
15
|
-
automaticCreationWeeks?: string;
|
|
16
|
-
departureAddress?: string;
|
|
17
|
-
arrivalAddress?: string;
|
|
18
|
-
distance?: number;
|
|
19
|
-
bookingOpeningRelativeDays?: string;
|
|
20
|
-
bookingOpeningTime?: string;
|
|
21
|
-
bookingClosingRelativeDays?: string;
|
|
22
|
-
bookingClosingTime?: string;
|
|
23
|
-
flagDgnAllowed?: CheckState;
|
|
24
|
-
flagDgnLimitedQuantityAllowed?: CheckState;
|
|
25
|
-
flagWasteAllowed?: CheckState;
|
|
26
|
-
};
|
|
27
|
-
export declare const GLO_enterDepartureSchedule: (obj: objDepartureSchedule) => void;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { close, input, open } from '../tsHelper.js';
|
|
2
|
-
export const GLO_enterDepartureSchedule = (obj) => {
|
|
3
|
-
const formName = 'ng$logistic_conn_schedule_dtl';
|
|
4
|
-
const addressFormName = 'ng$logistic_conn_schedule_dtl_address_time';
|
|
5
|
-
const defaultsFormName = 'ng$logistic_conn_schedule_dtl_defaults';
|
|
6
|
-
const remarkFormName = 'ng$remark_dtl_logistic_conn_schedule';
|
|
7
|
-
const detailTabsName = 'tabs_70';
|
|
8
|
-
cy.GLO_popupWindow([formName, 'local_logistic_conn_code'], obj.logisticConnection);
|
|
9
|
-
cy.GLO_popupWindow([formName, 'local_supplier_code'], obj.supplier);
|
|
10
|
-
cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
|
|
11
|
-
cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
|
|
12
|
-
cy.GLO_popupWindow([formName, 'local_logistic_contract_detail_code'], obj.logisticContractDetail);
|
|
13
|
-
cy.GLO_checkbox([formName, 'flag_operational_active'], obj.operationalActive);
|
|
14
|
-
cy.GLO_checkbox([formName, 'flag_dgn_allowed'], obj.dgnAllowed);
|
|
15
|
-
cy.GLO_addInput([formName, 'comment1'], obj.comment);
|
|
16
|
-
cy.GLO_checkbox([formName, 'flag_sim'], obj.userInSimulation);
|
|
17
|
-
cy.GLO_checkbox([formName, 'flag_calc'], obj.useInPriceCalculation);
|
|
18
|
-
cy.GLO_checkbox([formName, 'flag_automatic_creation'], obj.automaticCreation);
|
|
19
|
-
cy.GLO_addInput([formName, 'automatic_creation_weeks'], obj.automaticCreationWeeks);
|
|
20
|
-
if (obj.departureAddress || obj.arrivalAddress || obj.distance) {
|
|
21
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Address and duration', open);
|
|
22
|
-
cy.GLO_popupWindow([addressFormName, 'relation_address_from'], obj.departureAddress);
|
|
23
|
-
cy.GLO_popupWindow([addressFormName, 'relation_address_to'], obj.arrivalAddress);
|
|
24
|
-
cy.GLO_addInput([addressFormName, 'distance_in_km'], obj.distance);
|
|
25
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Address and duration', close);
|
|
26
|
-
}
|
|
27
|
-
if (obj.bookingOpeningRelativeDays ||
|
|
28
|
-
obj.bookingOpeningTime ||
|
|
29
|
-
obj.bookingClosingRelativeDays ||
|
|
30
|
-
obj.bookingClosingTime ||
|
|
31
|
-
obj.flagDgnAllowed ||
|
|
32
|
-
obj.flagDgnLimitedQuantityAllowed ||
|
|
33
|
-
obj.flagWasteAllowed) {
|
|
34
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Defaults', open);
|
|
35
|
-
if (obj.bookingOpeningRelativeDays) {
|
|
36
|
-
cy.GLO_getElement([defaultsFormName, 'booking_opening_relative_days']).find('.dx-texteditor-input').type(obj.bookingOpeningRelativeDays);
|
|
37
|
-
}
|
|
38
|
-
if (obj.bookingOpeningTime) {
|
|
39
|
-
cy.GLO_getElement([defaultsFormName, 'booking_opening_time']).find('.dx-texteditor-input').type(obj.bookingOpeningTime);
|
|
40
|
-
}
|
|
41
|
-
if (obj.bookingClosingRelativeDays) {
|
|
42
|
-
cy.GLO_getElement([defaultsFormName, 'booking_closing_relative_days']).find('.dx-texteditor-input').type(obj.bookingClosingRelativeDays);
|
|
43
|
-
}
|
|
44
|
-
if (obj.bookingClosingTime) {
|
|
45
|
-
cy.GLO_getElement([defaultsFormName, 'booking_closing_time']).find('.dx-texteditor-input').type(obj.bookingClosingTime);
|
|
46
|
-
}
|
|
47
|
-
cy.GLO_checkbox([defaultsFormName, 'flag_dgn_allowed'], obj.flagDgnAllowed);
|
|
48
|
-
cy.GLO_checkbox([defaultsFormName, 'flag_dgn_limited_quantity_allowed'], obj.flagDgnLimitedQuantityAllowed);
|
|
49
|
-
cy.GLO_checkbox([defaultsFormName, 'flag_waste_allowed'], obj.flagWasteAllowed);
|
|
50
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Defaults', close);
|
|
51
|
-
}
|
|
52
|
-
if (obj.scheduleComment) {
|
|
53
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Remarks', open);
|
|
54
|
-
cy.GLO_addInput([remarkFormName, 'local_LOG_CONN_SCHED_REMARK'], obj.scheduleComment);
|
|
55
|
-
cy.GLO_selectTab([formName, detailTabsName], 'Remarks', close);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { type CheckState } from '../tsHelper.js';
|
|
2
|
-
export type objDepartureScheduleTimes = {
|
|
3
|
-
departureTime?: string;
|
|
4
|
-
departureTimezone?: string;
|
|
5
|
-
arrivalTime?: string;
|
|
6
|
-
arrivalTimezone?: string;
|
|
7
|
-
remark?: string;
|
|
8
|
-
bookingOpeningRelativeDays?: string;
|
|
9
|
-
bookingOpeningTime?: string;
|
|
10
|
-
bookingClosingRelativeDays?: string;
|
|
11
|
-
bookingClosingTime?: string;
|
|
12
|
-
flagOperationalActive?: CheckState;
|
|
13
|
-
flagDgnAllowed?: CheckState;
|
|
14
|
-
flagDgnLimitedQuantityAllowed?: CheckState;
|
|
15
|
-
flagWasteAllowed?: CheckState;
|
|
16
|
-
arrivalRelativeDays?: string;
|
|
17
|
-
embarkDuration?: string;
|
|
18
|
-
disembarkDuration?: string;
|
|
19
|
-
firstDropRelativeDays?: string;
|
|
20
|
-
firstDropTime?: string;
|
|
21
|
-
firstDropDgnRelativeDays?: string;
|
|
22
|
-
firstDropDgnTime?: string;
|
|
23
|
-
lastDropRelativeDays?: string;
|
|
24
|
-
lastDropTime?: string;
|
|
25
|
-
lastDropDgnRelativeDays?: string;
|
|
26
|
-
lastDropDgnTime?: string;
|
|
27
|
-
lastDropContainerRelativeDays?: string;
|
|
28
|
-
lastDropContainerTime?: string;
|
|
29
|
-
lastDropTrailerRelativeDays?: string;
|
|
30
|
-
lastDropTrailerTime?: string;
|
|
31
|
-
availableAfterArrivalTimeRelativeDays?: string;
|
|
32
|
-
availableLofoAfterArrivalTimeRelativeDays?: string;
|
|
33
|
-
minNrOfContainers?: number;
|
|
34
|
-
maxNrOfContainers?: number;
|
|
35
|
-
minNrOfTrailers?: number;
|
|
36
|
-
maxNrOfTrailers?: number;
|
|
37
|
-
maxAntiTheftCapacity?: number;
|
|
38
|
-
capacityGrossWeight?: number;
|
|
39
|
-
capacityGrossWeightUnitId?: string;
|
|
40
|
-
flagMonday?: CheckState;
|
|
41
|
-
flagTuesday?: CheckState;
|
|
42
|
-
flagWednesday?: CheckState;
|
|
43
|
-
flagThursday?: CheckState;
|
|
44
|
-
flagFriday?: CheckState;
|
|
45
|
-
flagSaturday?: CheckState;
|
|
46
|
-
flagSunday?: CheckState;
|
|
47
|
-
pricingGroup?: string;
|
|
48
|
-
};
|
|
49
|
-
export declare const GLO_enterDepartureScheduleTimes: (obj: objDepartureScheduleTimes) => void;
|