@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.
Files changed (296) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
  3. package/dist/apiMethods/IGS_request.d.ts +0 -98
  4. package/dist/apiMethods/IGS_request.js +0 -161
  5. package/dist/apiMethods/IGS_response.d.ts +0 -47
  6. package/dist/apiMethods/IGS_response.js +0 -1
  7. package/dist/blueprints/GLO_addressPopup.d.ts +0 -45
  8. package/dist/blueprints/GLO_addressPopup.js +0 -96
  9. package/dist/blueprints/GLO_article.d.ts +0 -45
  10. package/dist/blueprints/GLO_article.js +0 -110
  11. package/dist/blueprints/GLO_articleLot.d.ts +0 -12
  12. package/dist/blueprints/GLO_articleLot.js +0 -23
  13. package/dist/blueprints/GLO_articleVersion.d.ts +0 -4
  14. package/dist/blueprints/GLO_articleVersion.js +0 -4
  15. package/dist/blueprints/GLO_attachmentPopup.d.ts +0 -9
  16. package/dist/blueprints/GLO_attachmentPopup.js +0 -10
  17. package/dist/blueprints/GLO_bankAccount.d.ts +0 -7
  18. package/dist/blueprints/GLO_bankAccount.js +0 -7
  19. package/dist/blueprints/GLO_billingProcess.d.ts +0 -4
  20. package/dist/blueprints/GLO_billingProcess.js +0 -4
  21. package/dist/blueprints/GLO_billingProposal.d.ts +0 -9
  22. package/dist/blueprints/GLO_billingProposal.js +0 -9
  23. package/dist/blueprints/GLO_cancel.d.ts +0 -7
  24. package/dist/blueprints/GLO_cancel.js +0 -7
  25. package/dist/blueprints/GLO_commandlist.d.ts +0 -10
  26. package/dist/blueprints/GLO_commandlist.js +0 -10
  27. package/dist/blueprints/GLO_complaint.d.ts +0 -27
  28. package/dist/blueprints/GLO_complaint.js +0 -51
  29. package/dist/blueprints/GLO_composition.d.ts +0 -14
  30. package/dist/blueprints/GLO_composition.js +0 -20
  31. package/dist/blueprints/GLO_consignment.d.ts +0 -61
  32. package/dist/blueprints/GLO_consignment.js +0 -104
  33. package/dist/blueprints/GLO_consignmentContainerGroup.d.ts +0 -6
  34. package/dist/blueprints/GLO_consignmentContainerGroup.js +0 -6
  35. package/dist/blueprints/GLO_consignmentGoods.d.ts +0 -40
  36. package/dist/blueprints/GLO_consignmentGoods.js +0 -62
  37. package/dist/blueprints/GLO_consignmentHandling.d.ts +0 -4
  38. package/dist/blueprints/GLO_consignmentHandling.js +0 -4
  39. package/dist/blueprints/GLO_consignmentOrder.d.ts +0 -31
  40. package/dist/blueprints/GLO_consignmentOrder.js +0 -37
  41. package/dist/blueprints/GLO_consignmentPart.d.ts +0 -13
  42. package/dist/blueprints/GLO_consignmentPart.js +0 -13
  43. package/dist/blueprints/GLO_consignmentParts.d.ts +0 -5
  44. package/dist/blueprints/GLO_consignmentParts.js +0 -12
  45. package/dist/blueprints/GLO_consignmentPrice.d.ts +0 -11
  46. package/dist/blueprints/GLO_consignmentPrice.js +0 -19
  47. package/dist/blueprints/GLO_consignmentSupplier.d.ts +0 -6
  48. package/dist/blueprints/GLO_consignmentSupplier.js +0 -11
  49. package/dist/blueprints/GLO_contacts.d.ts +0 -10
  50. package/dist/blueprints/GLO_contacts.js +0 -14
  51. package/dist/blueprints/GLO_container.d.ts +0 -6
  52. package/dist/blueprints/GLO_container.js +0 -4
  53. package/dist/blueprints/GLO_contract.d.ts +0 -22
  54. package/dist/blueprints/GLO_contract.js +0 -30
  55. package/dist/blueprints/GLO_contractArticle.d.ts +0 -17
  56. package/dist/blueprints/GLO_contractArticle.js +0 -35
  57. package/dist/blueprints/GLO_contractArticleCost.d.ts +0 -5
  58. package/dist/blueprints/GLO_contractArticleCost.js +0 -8
  59. package/dist/blueprints/GLO_countryVatZone.d.ts +0 -8
  60. package/dist/blueprints/GLO_countryVatZone.js +0 -9
  61. package/dist/blueprints/GLO_currencyDeviation.d.ts +0 -14
  62. package/dist/blueprints/GLO_currencyDeviation.js +0 -15
  63. package/dist/blueprints/GLO_customerArticle.d.ts +0 -12
  64. package/dist/blueprints/GLO_customerArticle.js +0 -15
  65. package/dist/blueprints/GLO_customsFlow.d.ts +0 -8
  66. package/dist/blueprints/GLO_customsFlow.js +0 -19
  67. package/dist/blueprints/GLO_customsFlowDefinition.d.ts +0 -15
  68. package/dist/blueprints/GLO_customsFlowDefinition.js +0 -14
  69. package/dist/blueprints/GLO_customsUnion.d.ts +0 -4
  70. package/dist/blueprints/GLO_customsUnion.js +0 -4
  71. package/dist/blueprints/GLO_deliveryReceipt.d.ts +0 -10
  72. package/dist/blueprints/GLO_deliveryReceipt.js +0 -22
  73. package/dist/blueprints/GLO_departureSchedule.d.ts +0 -27
  74. package/dist/blueprints/GLO_departureSchedule.js +0 -57
  75. package/dist/blueprints/GLO_departureScheduleTimes.d.ts +0 -49
  76. package/dist/blueprints/GLO_departureScheduleTimes.js +0 -61
  77. package/dist/blueprints/GLO_document.d.ts +0 -7
  78. package/dist/blueprints/GLO_document.js +0 -7
  79. package/dist/blueprints/GLO_documentAttachment.d.ts +0 -4
  80. package/dist/blueprints/GLO_documentAttachment.js +0 -4
  81. package/dist/blueprints/GLO_documentDefinitionEntity.d.ts +0 -5
  82. package/dist/blueprints/GLO_documentDefinitionEntity.js +0 -5
  83. package/dist/blueprints/GLO_documentGroup.d.ts +0 -4
  84. package/dist/blueprints/GLO_documentGroup.js +0 -4
  85. package/dist/blueprints/GLO_documentType.d.ts +0 -12
  86. package/dist/blueprints/GLO_documentType.js +0 -11
  87. package/dist/blueprints/GLO_enterCountry.d.ts +0 -21
  88. package/dist/blueprints/GLO_enterCountry.js +0 -47
  89. package/dist/blueprints/GLO_enterDiscount.d.ts +0 -8
  90. package/dist/blueprints/GLO_enterDiscount.js +0 -9
  91. package/dist/blueprints/GLO_equipment.d.ts +0 -34
  92. package/dist/blueprints/GLO_equipment.js +0 -55
  93. package/dist/blueprints/GLO_equipmentCategory.d.ts +0 -15
  94. package/dist/blueprints/GLO_equipmentCategory.js +0 -14
  95. package/dist/blueprints/GLO_equipmentEntity.d.ts +0 -5
  96. package/dist/blueprints/GLO_equipmentEntity.js +0 -5
  97. package/dist/blueprints/GLO_equipmentServiceCategory.d.ts +0 -13
  98. package/dist/blueprints/GLO_equipmentServiceCategory.js +0 -13
  99. package/dist/blueprints/GLO_equipmentType.d.ts +0 -21
  100. package/dist/blueprints/GLO_equipmentType.js +0 -20
  101. package/dist/blueprints/GLO_equipmentTypeServiceCategory.d.ts +0 -13
  102. package/dist/blueprints/GLO_equipmentTypeServiceCategory.js +0 -12
  103. package/dist/blueprints/GLO_fieldInputValidation.d.ts +0 -46
  104. package/dist/blueprints/GLO_fieldInputValidation.js +0 -73
  105. package/dist/blueprints/GLO_formula.d.ts +0 -9
  106. package/dist/blueprints/GLO_formula.js +0 -9
  107. package/dist/blueprints/GLO_gang.d.ts +0 -12
  108. package/dist/blueprints/GLO_gang.js +0 -12
  109. package/dist/blueprints/GLO_holiday.d.ts +0 -7
  110. package/dist/blueprints/GLO_holiday.js +0 -8
  111. package/dist/blueprints/GLO_journey.d.ts +0 -18
  112. package/dist/blueprints/GLO_journey.js +0 -24
  113. package/dist/blueprints/GLO_journeyStop.d.ts +0 -32
  114. package/dist/blueprints/GLO_journeyStop.js +0 -44
  115. package/dist/blueprints/GLO_layout.d.ts +0 -6
  116. package/dist/blueprints/GLO_layout.js +0 -6
  117. package/dist/blueprints/GLO_logging.d.ts +0 -9
  118. package/dist/blueprints/GLO_logging.js +0 -12
  119. package/dist/blueprints/GLO_logisticConnection.d.ts +0 -10
  120. package/dist/blueprints/GLO_logisticConnection.js +0 -11
  121. package/dist/blueprints/GLO_logisticConnectionType.d.ts +0 -5
  122. package/dist/blueprints/GLO_logisticConnectionType.js +0 -5
  123. package/dist/blueprints/GLO_logisticContract.d.ts +0 -28
  124. package/dist/blueprints/GLO_logisticContract.js +0 -80
  125. package/dist/blueprints/GLO_logisticContractDetail.d.ts +0 -42
  126. package/dist/blueprints/GLO_logisticContractDetail.js +0 -122
  127. package/dist/blueprints/GLO_logisticContractDetailHandling.d.ts +0 -11
  128. package/dist/blueprints/GLO_logisticContractDetailHandling.js +0 -14
  129. package/dist/blueprints/GLO_logisticContractDetailItem.d.ts +0 -5
  130. package/dist/blueprints/GLO_logisticContractDetailItem.js +0 -8
  131. package/dist/blueprints/GLO_logisticContractItem.d.ts +0 -14
  132. package/dist/blueprints/GLO_logisticContractItem.js +0 -40
  133. package/dist/blueprints/GLO_logisticContractItemActivity.d.ts +0 -4
  134. package/dist/blueprints/GLO_logisticContractItemActivity.js +0 -4
  135. package/dist/blueprints/GLO_logisticContractItemSurcharge.d.ts +0 -7
  136. package/dist/blueprints/GLO_logisticContractItemSurcharge.js +0 -7
  137. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.d.ts +0 -4
  138. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.js +0 -4
  139. package/dist/blueprints/GLO_logisticContractReference.d.ts +0 -4
  140. package/dist/blueprints/GLO_logisticContractReference.js +0 -4
  141. package/dist/blueprints/GLO_logisticContractVolumeConstraint.d.ts +0 -9
  142. package/dist/blueprints/GLO_logisticContractVolumeConstraint.js +0 -8
  143. package/dist/blueprints/GLO_logisticLocation.d.ts +0 -7
  144. package/dist/blueprints/GLO_logisticLocation.js +0 -7
  145. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.d.ts +0 -19
  146. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.js +0 -30
  147. package/dist/blueprints/GLO_logisticPurchaseOrder.d.ts +0 -4
  148. package/dist/blueprints/GLO_logisticPurchaseOrder.js +0 -4
  149. package/dist/blueprints/GLO_logistic_waiting_hours.d.ts +0 -6
  150. package/dist/blueprints/GLO_logistic_waiting_hours.js +0 -6
  151. package/dist/blueprints/GLO_operationalDefault.d.ts +0 -23
  152. package/dist/blueprints/GLO_operationalDefault.js +0 -25
  153. package/dist/blueprints/GLO_outputDetailMail.d.ts +0 -14
  154. package/dist/blueprints/GLO_outputDetailMail.js +0 -13
  155. package/dist/blueprints/GLO_postalcode.d.ts +0 -6
  156. package/dist/blueprints/GLO_postalcode.js +0 -6
  157. package/dist/blueprints/GLO_priceDependency.d.ts +0 -5
  158. package/dist/blueprints/GLO_priceDependency.js +0 -4
  159. package/dist/blueprints/GLO_priceEntry.d.ts +0 -17
  160. package/dist/blueprints/GLO_priceEntry.js +0 -17
  161. package/dist/blueprints/GLO_priceRequest.d.ts +0 -8
  162. package/dist/blueprints/GLO_priceRequest.js +0 -20
  163. package/dist/blueprints/GLO_priceRequestLine.d.ts +0 -12
  164. package/dist/blueprints/GLO_priceRequestLine.js +0 -17
  165. package/dist/blueprints/GLO_principal.d.ts +0 -9
  166. package/dist/blueprints/GLO_principal.js +0 -13
  167. package/dist/blueprints/GLO_printPopup.d.ts +0 -10
  168. package/dist/blueprints/GLO_printPopup.js +0 -62
  169. package/dist/blueprints/GLO_production.d.ts +0 -9
  170. package/dist/blueprints/GLO_production.js +0 -9
  171. package/dist/blueprints/GLO_productionLineMaterial.d.ts +0 -8
  172. package/dist/blueprints/GLO_productionLineMaterial.js +0 -13
  173. package/dist/blueprints/GLO_productionMaterial.d.ts +0 -5
  174. package/dist/blueprints/GLO_productionMaterial.js +0 -5
  175. package/dist/blueprints/GLO_purchaseCosts.d.ts +0 -6
  176. package/dist/blueprints/GLO_purchaseCosts.js +0 -9
  177. package/dist/blueprints/GLO_purchaseInvoice.d.ts +0 -12
  178. package/dist/blueprints/GLO_purchaseInvoice.js +0 -25
  179. package/dist/blueprints/GLO_purchaseInvoiceLine.d.ts +0 -8
  180. package/dist/blueprints/GLO_purchaseInvoiceLine.js +0 -13
  181. package/dist/blueprints/GLO_purchaseOrder.d.ts +0 -14
  182. package/dist/blueprints/GLO_purchaseOrder.js +0 -25
  183. package/dist/blueprints/GLO_purchaseOrderLine.d.ts +0 -10
  184. package/dist/blueprints/GLO_purchaseOrderLine.js +0 -24
  185. package/dist/blueprints/GLO_purchasePrices.d.ts +0 -10
  186. package/dist/blueprints/GLO_purchasePrices.js +0 -10
  187. package/dist/blueprints/GLO_quotation.d.ts +0 -12
  188. package/dist/blueprints/GLO_quotation.js +0 -32
  189. package/dist/blueprints/GLO_quotationLine.d.ts +0 -12
  190. package/dist/blueprints/GLO_quotationLine.js +0 -28
  191. package/dist/blueprints/GLO_receipt.d.ts +0 -13
  192. package/dist/blueprints/GLO_receipt.js +0 -17
  193. package/dist/blueprints/GLO_receiptFromTempReceipt.d.ts +0 -8
  194. package/dist/blueprints/GLO_receiptFromTempReceipt.js +0 -8
  195. package/dist/blueprints/GLO_receiptLine.d.ts +0 -22
  196. package/dist/blueprints/GLO_receiptLine.js +0 -28
  197. package/dist/blueprints/GLO_relationAddress.d.ts +0 -26
  198. package/dist/blueprints/GLO_relationAddress.js +0 -58
  199. package/dist/blueprints/GLO_relationBankAccount.d.ts +0 -9
  200. package/dist/blueprints/GLO_relationBankAccount.js +0 -9
  201. package/dist/blueprints/GLO_relationContact.d.ts +0 -23
  202. package/dist/blueprints/GLO_relationContact.js +0 -45
  203. package/dist/blueprints/GLO_relationGroupType.d.ts +0 -7
  204. package/dist/blueprints/GLO_relationGroupType.js +0 -6
  205. package/dist/blueprints/GLO_relations.d.ts +0 -67
  206. package/dist/blueprints/GLO_relations.js +0 -186
  207. package/dist/blueprints/GLO_relationtype.d.ts +0 -15
  208. package/dist/blueprints/GLO_relationtype.js +0 -31
  209. package/dist/blueprints/GLO_remarkType.d.ts +0 -10
  210. package/dist/blueprints/GLO_remarkType.js +0 -9
  211. package/dist/blueprints/GLO_remarkTypeDefaultValue.d.ts +0 -4
  212. package/dist/blueprints/GLO_remarkTypeDefaultValue.js +0 -14
  213. package/dist/blueprints/GLO_remarkTypeEntityType.d.ts +0 -10
  214. package/dist/blueprints/GLO_remarkTypeEntityType.js +0 -9
  215. package/dist/blueprints/GLO_representative.d.ts +0 -7
  216. package/dist/blueprints/GLO_representative.js +0 -6
  217. package/dist/blueprints/GLO_salesInvoice.d.ts +0 -9
  218. package/dist/blueprints/GLO_salesInvoice.js +0 -15
  219. package/dist/blueprints/GLO_salesInvoiceLine.d.ts +0 -9
  220. package/dist/blueprints/GLO_salesInvoiceLine.js +0 -13
  221. package/dist/blueprints/GLO_salesOrder.d.ts +0 -13
  222. package/dist/blueprints/GLO_salesOrder.js +0 -25
  223. package/dist/blueprints/GLO_salesOrderLine.d.ts +0 -13
  224. package/dist/blueprints/GLO_salesOrderLine.js +0 -34
  225. package/dist/blueprints/GLO_stockCorrection.d.ts +0 -14
  226. package/dist/blueprints/GLO_stockCorrection.js +0 -24
  227. package/dist/blueprints/GLO_stopSchedule.d.ts +0 -4
  228. package/dist/blueprints/GLO_stopSchedule.js +0 -4
  229. package/dist/blueprints/GLO_supplierArticle.d.ts +0 -8
  230. package/dist/blueprints/GLO_supplierArticle.js +0 -8
  231. package/dist/blueprints/GLO_tclSetting.d.ts +0 -6
  232. package/dist/blueprints/GLO_tclSetting.js +0 -6
  233. package/dist/blueprints/GLO_todo.d.ts +0 -10
  234. package/dist/blueprints/GLO_todo.js +0 -21
  235. package/dist/blueprints/GLO_todoSchedule.d.ts +0 -23
  236. package/dist/blueprints/GLO_todoSchedule.js +0 -79
  237. package/dist/blueprints/GLO_tractionDistance.d.ts +0 -6
  238. package/dist/blueprints/GLO_tractionDistance.js +0 -6
  239. package/dist/blueprints/GLO_transportOrder.d.ts +0 -4
  240. package/dist/blueprints/GLO_transportOrder.js +0 -4
  241. package/dist/blueprints/GLO_transportPrice.d.ts +0 -18
  242. package/dist/blueprints/GLO_transportPrice.js +0 -34
  243. package/dist/blueprints/GLO_transportRequirement.d.ts +0 -18
  244. package/dist/blueprints/GLO_transportRequirement.js +0 -32
  245. package/dist/blueprints/GLO_transportRequirementContainer.d.ts +0 -8
  246. package/dist/blueprints/GLO_transportRequirementContainer.js +0 -8
  247. package/dist/blueprints/GLO_transportRequirementGoods.d.ts +0 -33
  248. package/dist/blueprints/GLO_transportRequirementGoods.js +0 -51
  249. package/dist/blueprints/GLO_transportScenarioExecutionLeg.d.ts +0 -6
  250. package/dist/blueprints/GLO_transportScenarioExecutionLeg.js +0 -6
  251. package/dist/blueprints/GLO_transportStock.d.ts +0 -4
  252. package/dist/blueprints/GLO_transportStock.js +0 -4
  253. package/dist/blueprints/GLO_visit.d.ts +0 -9
  254. package/dist/blueprints/GLO_visit.js +0 -10
  255. package/dist/blueprints/GLO_warehouseMove.d.ts +0 -9
  256. package/dist/blueprints/GLO_warehouseMove.js +0 -9
  257. package/dist/blueprints/GLO_warehouseOrderSubline.d.ts +0 -6
  258. package/dist/blueprints/GLO_warehouseOrderSubline.js +0 -11
  259. package/dist/blueprints/GLO_workflowLoggingTable.d.ts +0 -20
  260. package/dist/blueprints/GLO_workflowLoggingTable.js +0 -20
  261. package/dist/blueprints/GLO_workflowVerification.d.ts +0 -10
  262. package/dist/blueprints/GLO_workflowVerification.js +0 -19
  263. package/dist/blueprints/GLO_zone.d.ts +0 -9
  264. package/dist/blueprints/GLO_zone.js +0 -9
  265. package/dist/blueprints/GLO_zone_postalcode.d.ts +0 -12
  266. package/dist/blueprints/GLO_zone_postalcode.js +0 -10
  267. package/dist/blueprints/GLO_zone_type.d.ts +0 -8
  268. package/dist/blueprints/GLO_zone_type.js +0 -7
  269. package/dist/blueprints/GLT_goods.d.ts +0 -2
  270. package/dist/blueprints/GLT_goods.js +0 -12
  271. package/dist/commands/FOB_commands.d.ts +0 -124
  272. package/dist/commands/FOB_commands.js +0 -211
  273. package/dist/commands/GLJ_commands.d.ts +0 -28
  274. package/dist/commands/GLJ_commands.js +0 -40
  275. package/dist/commands/GLO_commands.d.ts +0 -685
  276. package/dist/commands/GLO_commands.js +0 -2315
  277. package/dist/commands/GLS_commands.d.ts +0 -63
  278. package/dist/commands/GLS_commands.js +0 -103
  279. package/dist/commands/GLT_commands.d.ts +0 -78
  280. package/dist/commands/GLT_commands.js +0 -148
  281. package/dist/commands/POR_commands.d.ts +0 -85
  282. package/dist/commands/POR_commands.js +0 -122
  283. package/dist/config.d.ts +0 -9
  284. package/dist/config.js +0 -115
  285. package/dist/index.d.ts +0 -2
  286. package/dist/index.js +0 -15
  287. package/dist/plugins/prometheusWriter.d.ts +0 -15
  288. package/dist/plugins/prometheusWriter.js +0 -111
  289. package/dist/register.d.ts +0 -8
  290. package/dist/register.js +0 -23
  291. package/dist/tsHelper.d.ts +0 -161
  292. package/dist/tsHelper.js +0 -294
  293. package/dist/types.d.ts +0 -363
  294. package/dist/types.js +0 -4
  295. package/dist/websocketDetector.d.ts +0 -71
  296. package/dist/websocketDetector.js +0 -1593
@@ -1,12 +0,0 @@
1
- import { select } from '../tsHelper.js';
2
- export const GLO_createGang = (obj) => {
3
- cy.GLO_addInput(['gang_status'], obj.status);
4
- cy.GLO_addInput(['gang_type_code'], obj.type);
5
- cy.GLO_addInput(['terminal'], obj.terminal);
6
- cy.GLO_addInput(['warehouse'], obj.warehouse);
7
- cy.GLO_addInput(['foreman_user_id'], obj.foreman);
8
- cy.GLO_addInput(['description'], obj.description);
9
- cy.GLO_addInput(['tallyman_user_id'], obj.tallyman);
10
- cy.GLO_addDate(select, ['ng$gang_dtl', 'shift_date'], obj.shiftDate);
11
- cy.GLO_addInput(['calendarday_segment_id'], obj.calendarDay);
12
- };
@@ -1,7 +0,0 @@
1
- export type objHoliday = {
2
- country?: string;
3
- date?: string;
4
- description?: string;
5
- company?: string;
6
- };
7
- export declare const GLO_enterHoliday: (obj: objHoliday) => void;
@@ -1,8 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- export const GLO_enterHoliday = (obj) => {
3
- const formName = 'ng$holidays_dtl';
4
- cy.GLO_addInput([formName, 'country_id'], obj.country);
5
- cy.GLO_addDate(input, [formName, 'holiday_date'], obj.date);
6
- cy.GLO_addInput([formName, 'description'], obj.description);
7
- cy.GLO_addInput([formName, 'company_id'], obj.company);
8
- };
@@ -1,18 +0,0 @@
1
- export type objJourney = {
2
- journeyCode?: string;
3
- transportMethod?: string;
4
- equipment?: string;
5
- agentCode?: string;
6
- shippingAgentCode?: string;
7
- agentReference?: string;
8
- journeyNr?: string;
9
- activityType?: string;
10
- handlingStart?: string;
11
- handlingEnd?: string;
12
- volume?: number;
13
- volumeUnit?: string;
14
- grossWeight?: number;
15
- grossWeightUnit?: string;
16
- loadingMeters?: number;
17
- };
18
- export declare const GLO_enterJourney: (obj: objJourney) => void;
@@ -1,24 +0,0 @@
1
- import { close, input, open } from '../tsHelper.js';
2
- export const GLO_enterJourney = (obj) => {
3
- const formName = 'ng$journey_dtl';
4
- const quantitiesFormName = 'ng$journey_dtl_quantitites';
5
- cy.GLO_addInput([formName, 'journey_code'], obj.journeyCode);
6
- cy.GLO_addInput([formName, 'journey_nr'], obj.journeyNr);
7
- cy.GLO_addInput([formName, 'transport_method'], obj.transportMethod);
8
- cy.GLO_popupWindow([formName, 'equipment_id'], obj.equipment);
9
- cy.GLO_addInput([formName, 'agent'], obj.agentCode);
10
- cy.GLO_addInput([formName, 'shipping_agent'], obj.shippingAgentCode);
11
- cy.GLO_addInput([formName, 'agent_reference'], obj.agentReference);
12
- cy.GLO_addInput([formName, 'time_activity_type'], obj.activityType);
13
- cy.GLO_addDate(input, [formName, 'start_handling'], obj.handlingStart);
14
- cy.GLO_addDate(input, [formName, 'end_handling'], obj.handlingEnd);
15
- if (obj.volume || obj.volumeUnit || obj.grossWeight || obj.grossWeightUnit || obj.loadingMeters) {
16
- cy.GLO_selectTab([formName, 'tabs'], 'Quantities', open);
17
- cy.GLO_addInput([quantitiesFormName, 'capacity_volume'], obj.volume);
18
- cy.GLO_addInput([quantitiesFormName, 'capacity_volume_unit_id'], obj.volumeUnit);
19
- cy.GLO_addInput([quantitiesFormName, 'capcacity_gross_weight'], obj.grossWeight);
20
- cy.GLO_addInput([quantitiesFormName, 'capacity_gross_weight_unit_id'], obj.grossWeightUnit);
21
- cy.GLO_addInput([quantitiesFormName, 'capacity_loading_meters'], obj.loadingMeters);
22
- cy.GLO_selectTab([formName, 'tabs'], 'Quantities', close);
23
- }
24
- };
@@ -1,32 +0,0 @@
1
- export type objJourneyStop = {
2
- logisticLocationId?: string;
3
- departureStartBooked?: string;
4
- departureEndBooked?: string;
5
- departureStartActual?: string;
6
- closingBooked?: string;
7
- arrivalStartBooked?: string;
8
- arrivalStartPlanned?: string;
9
- arrivalStartActual?: string;
10
- arrivalStartBookedTime?: string;
11
- arrivalStartPlannedTime?: string;
12
- arrivalStartActualTime?: string;
13
- departureEndPlanned?: string;
14
- departureEndActual?: string;
15
- departureEndBookedTime?: string;
16
- departureEndPlannedTime?: string;
17
- departureEndActualTime?: string;
18
- quayCode?: string;
19
- nrOfConsignments?: number;
20
- stayNr?: number;
21
- grossWeightLoad?: number;
22
- grossWeightUnload?: number;
23
- colour?: string;
24
- goodsClosing?: string;
25
- vgmClosing?: string;
26
- dgnClosing?: string;
27
- stuffingReportClosing?: string;
28
- shippingInstructionClosing?: string;
29
- portTimePlanned?: string;
30
- stopTimezone?: string;
31
- };
32
- export declare const GLO_enterJourneyStop: (obj: objJourneyStop) => void;
@@ -1,44 +0,0 @@
1
- import { close, equalBool, input, open } from '../tsHelper.js';
2
- export const GLO_enterJourneyStop = (obj) => {
3
- const formName = 'ng$journey_stop_dtl';
4
- cy.GLO_popupWindow([formName, 'logistic_location_id'], obj.logisticLocationId, undefined, equalBool);
5
- cy.GLO_addInput([formName, 'quay_code_valuelist'], obj.quayCode);
6
- cy.GLO_addInput([formName, 'nr_of_consignments'], obj.nrOfConsignments);
7
- cy.GLO_addInput([formName, 'stay_nr'], obj.stayNr);
8
- cy.GLO_addInput([formName, 'gross_weight_load'], obj.grossWeightLoad);
9
- cy.GLO_addInput([formName, 'gross_weight_unload'], obj.grossWeightUnload);
10
- cy.GLO_addInput([formName, 'colour'], obj.colour);
11
- cy.GLO_addInput([formName, 'port_time_duration_planned'], obj.portTimePlanned);
12
- cy.GLO_addDate(input, [formName, 'goods_closing'], obj.goodsClosing);
13
- cy.GLO_addDate(input, [formName, 'vgm_closing'], obj.vgmClosing);
14
- cy.GLO_addDate(input, [formName, 'dgn_closing'], obj.dgnClosing);
15
- cy.GLO_addDate(input, [formName, 'stuffing_report_closing'], obj.stuffingReportClosing);
16
- cy.GLO_addDate(input, [formName, 'shipping_instructions_closing'], obj.shippingInstructionClosing);
17
- cy.GLO_selectTab([formName, 'tabs_70'], 'Timings', open);
18
- GLO_enterJourneyStopTabTimings(obj);
19
- cy.GLO_selectTab([formName, 'tabs_70'], 'Timings', close);
20
- if (obj.stopTimezone) {
21
- const scheduleFormName = 'ng$journey_stop_dtl_schedule';
22
- cy.GLO_selectTab([formName, 'tabs_70'], 'Schedule', open);
23
- cy.GLO_addInput([scheduleFormName, 'stop_timezone'], obj.stopTimezone);
24
- cy.GLO_selectTab([formName, 'tabs_70'], 'Schedule', close);
25
- }
26
- };
27
- const GLO_enterJourneyStopTabTimings = (obj) => {
28
- const formName = 'ng$journey_stop_dtl_timings';
29
- cy.GLO_addDate(input, [formName, 'arrival_start_booked'], obj.arrivalStartBooked);
30
- cy.GLO_addDate(input, [formName, 'arrival_start_planned'], obj.arrivalStartPlanned);
31
- cy.GLO_addDate(input, [formName, 'arrival_start_actual'], obj.arrivalStartActual);
32
- cy.GLO_addDate(input, [formName, 'arrival_start_booked_time'], obj.arrivalStartBookedTime);
33
- cy.GLO_addDate(input, [formName, 'arrival_start_planned_time'], obj.arrivalStartPlannedTime);
34
- cy.GLO_addDate(input, [formName, 'arrival_start_actual_time'], obj.arrivalStartActualTime);
35
- cy.GLO_addDate(input, [formName, 'departure_end_booked'], obj.departureEndBooked);
36
- cy.GLO_addDate(input, [formName, 'departure_end_planned'], obj.departureEndPlanned);
37
- cy.GLO_addDate(input, [formName, 'departure_end_actual'], obj.departureEndActual);
38
- cy.GLO_addDate(input, [formName, 'departure_end_booked_time'], obj.departureEndBookedTime);
39
- cy.GLO_addDate(input, [formName, 'departure_end_planned_time'], obj.departureEndPlannedTime);
40
- cy.GLO_addDate(input, [formName, 'departure_end_actual_time'], obj.departureEndActualTime);
41
- cy.GLO_addDate(input, [formName, 'departure_start_actual'], obj.departureStartActual);
42
- cy.GLO_addDate(input, [formName, 'departure_start_booked'], obj.departureStartBooked);
43
- cy.GLO_addDate(input, [formName, 'closing_booked'], obj.closingBooked);
44
- };
@@ -1,6 +0,0 @@
1
- export type objLayout = {
2
- documentType?: string;
3
- documentGroup?: string;
4
- predefinedQuery?: string;
5
- };
6
- export declare const GLO_enterLayout: (obj: objLayout) => void;
@@ -1,6 +0,0 @@
1
- export const GLO_enterLayout = (obj) => {
2
- const formName = 'ng$layout_dtl';
3
- cy.GLO_addInput([formName, 'document_group_id'], obj.documentGroup);
4
- cy.GLO_addInput([formName, 'document_type_id'], obj.documentType);
5
- cy.GLO_addInput([formName, 'predefined_query'], obj.predefinedQuery);
6
- };
@@ -1,9 +0,0 @@
1
- export type objLogging = {
2
- relationContactId?: string;
3
- loggingTypeId?: string;
4
- loggingSubtypeId?: string;
5
- subject?: string;
6
- description?: string;
7
- internalRemark?: string;
8
- };
9
- export declare const GLO_enterLogging: (obj: objLogging) => void;
@@ -1,12 +0,0 @@
1
- import { open } from '../tsHelper.js';
2
- export const GLO_enterLogging = (obj) => {
3
- const formName = 'ng$logging_dtl';
4
- const formNameGeneral = 'ng$logging_dtl_description';
5
- cy.GLO_addInput([formName, 'relation_contact_id'], obj.relationContactId);
6
- cy.GLO_addInput([formName, 'logging_type_id'], obj.loggingTypeId);
7
- cy.GLO_addInput([formName, 'logging_subtype_id'], obj.loggingSubtypeId);
8
- cy.GLO_selectTab([formName, 'tabs_340'], 'Description', open);
9
- cy.GLO_addInput([formNameGeneral, 'subject'], obj.subject);
10
- cy.GLO_addInput([formNameGeneral, 'description'], obj.description);
11
- cy.GLO_addInput([formNameGeneral, 'internal_remark'], obj.internalRemark);
12
- };
@@ -1,10 +0,0 @@
1
- export type objLogisticConnection = {
2
- connectionCode?: string;
3
- connectionType?: string;
4
- direction?: string;
5
- locationFrom?: string;
6
- locationTo?: string;
7
- validFrom?: string;
8
- validTill?: string;
9
- };
10
- export declare const GLO_enterLogisticConnection: (obj: objLogisticConnection) => void;
@@ -1,11 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- export const GLO_enterLogisticConnection = (obj) => {
3
- const formName = 'ng$logistic_conn_dtl';
4
- cy.GLO_addInput([formName, 'connection_code'], obj.connectionCode);
5
- cy.GLO_addInput([formName, 'connection_type_id'], obj.connectionType);
6
- cy.GLO_addInput([formName, 'direction'], obj.direction);
7
- cy.GLO_popupWindow([formName, 'local_logistic_loc_from'], obj.locationFrom);
8
- cy.GLO_popupWindow([formName, 'local_logistic_loc_to'], obj.locationTo);
9
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
10
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
11
- };
@@ -1,5 +0,0 @@
1
- export type objLogisticConnectionType = {
2
- connectionType?: string;
3
- transportMethod?: string;
4
- };
5
- export declare const GLO_enterLogisticConnectionType: (obj: objLogisticConnectionType) => void;
@@ -1,5 +0,0 @@
1
- export const GLO_enterLogisticConnectionType = (obj) => {
2
- const formName = 'ng$logistic_conn_type_dtl';
3
- cy.GLO_addInput([formName, 'logistic_conn_type_code'], obj.connectionType);
4
- cy.GLO_addInput([formName, 'transport_method'], obj.transportMethod);
5
- };
@@ -1,28 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objLogisticContract = {
3
- type?: string;
4
- subType?: string;
5
- subTypeColmun?: string;
6
- validFrom?: string;
7
- validTill?: string;
8
- description?: string;
9
- supplierCode?: string;
10
- keyAccountManager?: string;
11
- accountManager?: string;
12
- currency?: string;
13
- flagDirectInvoice?: CheckState;
14
- flagAutomatedInvoice?: CheckState;
15
- flagMergeInvoiceAndPOD?: CheckState;
16
- flagElectronicInvoice?: CheckState;
17
- generalContractType?: string;
18
- flagSpotContract?: CheckState;
19
- flagGeneralContract?: CheckState;
20
- flagSummaryInvoice?: CheckState;
21
- branch?: string;
22
- department?: string;
23
- businessUnit?: string;
24
- dayForAutomaticInvoicing?: number;
25
- flagDefWaitingHoursProofRequired?: CheckState;
26
- defWaitingHoursThreshold?: string;
27
- };
28
- export declare const GLO_enterLogisticContract: (obj: objLogisticContract) => void;
@@ -1,80 +0,0 @@
1
- import { close, input, open } from '../tsHelper.js';
2
- export const GLO_enterLogisticContract = (obj) => {
3
- const formName = 'ng$logistic_contract_dtl';
4
- const tabs = 'tabs_70';
5
- cy.GLO_addInput([formName, 'logistic_contract_type_code'], obj.type);
6
- cy.GLO_popupWindow([formName, 'logistic_contract_subtype_code'], obj.subType, 'logistic_contract_subtype_code');
7
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
8
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
9
- cy.GLO_addInput([formName, 'description'], obj.description);
10
- cy.GLO_addInput([formName, 'currency_id'], obj.currency);
11
- cy.GLO_addInput([formName, 'general_contract_type'], obj.generalContractType);
12
- cy.GLO_checkbox([formName, 'flag_spot_contract'], obj.flagSpotContract);
13
- cy.GLO_checkbox([formName, 'flag_general_contract'], obj.flagGeneralContract);
14
- if (obj.branch) {
15
- cy.GLO_addInput([formName, 'sec_branch_id'], obj.branch);
16
- cy.GLO_checkLoadingIndicator();
17
- }
18
- if (obj.department) {
19
- cy.GLO_addInput([formName, 'sec_department_id'], obj.department);
20
- cy.GLO_checkLoadingIndicator();
21
- }
22
- if (obj.businessUnit) {
23
- cy.GLO_addInput([formName, 'business_unit_id'], obj.businessUnit);
24
- cy.GLO_checkLoadingIndicator();
25
- }
26
- // General Tab
27
- if (obj.supplierCode) {
28
- cy.GLO_selectTab([formName, tabs], 'General', open);
29
- generalTab(obj);
30
- cy.GLO_selectTab([formName, tabs], 'General', close);
31
- }
32
- // Pricing tab
33
- if (obj.flagDefWaitingHoursProofRequired !== undefined || obj.defWaitingHoursThreshold) {
34
- cy.GLO_selectTab([formName, tabs], 'Pricing', open);
35
- pricingTab(obj);
36
- cy.GLO_selectTab([formName, tabs], 'Pricing', close);
37
- }
38
- // User role tab
39
- if (obj.keyAccountManager || obj.accountManager) {
40
- cy.GLO_selectTab([formName, tabs], 'User role', open);
41
- userRoleTab(obj);
42
- cy.GLO_selectTab([formName, tabs], 'User role', close);
43
- }
44
- // Billing (turnover)
45
- if (obj.flagAutomatedInvoice || obj.flagDirectInvoice || obj.flagElectronicInvoice || obj.flagMergeInvoiceAndPOD || obj.flagSummaryInvoice || obj.dayForAutomaticInvoicing) {
46
- cy.GLO_selectTab([formName, 'tabs_70'], 'Billing (turnover)', open);
47
- billingTurnoverTab(obj);
48
- cy.GLO_selectTab([formName, tabs], 'Billing (turnover)', close);
49
- }
50
- };
51
- // Billing tab
52
- const billingTurnoverTab = (obj) => {
53
- const formNameBilingTurnover = 'ng$logistic_contract_dtl_invoicing_turnover';
54
- cy.GLO_checkbox([formNameBilingTurnover, 'flag_direct_invoice'], obj.flagDirectInvoice);
55
- cy.GLO_checkbox([formNameBilingTurnover, 'flag_automated_invoice'], obj.flagAutomatedInvoice);
56
- cy.GLO_checkbox([formNameBilingTurnover, 'flag_merge_inv_pod'], obj.flagMergeInvoiceAndPOD);
57
- cy.GLO_checkbox([formNameBilingTurnover, 'flag_electronic_invoice'], obj.flagElectronicInvoice);
58
- cy.GLO_checkbox([formNameBilingTurnover, 'flag_summary_invoice'], obj.flagSummaryInvoice);
59
- cy.GLO_addInput([formNameBilingTurnover, 'def_automated_invoice_days'], obj.dayForAutomaticInvoicing);
60
- };
61
- // User role tab
62
- const userRoleTab = (obj) => {
63
- const formNameUserRoles = 'ng$logistic_contract_dtl_user_roles';
64
- cy.GLO_addInput([formNameUserRoles, 'key_account_manager_id'], obj.keyAccountManager);
65
- cy.GLO_addInput([formNameUserRoles, 'account_manager'], obj.accountManager);
66
- };
67
- // General tab
68
- const generalTab = (obj) => {
69
- const formNameGeneral = 'ng$logistic_contract_dtl_general';
70
- if (obj.supplierCode) {
71
- cy.GLO_popupWindow([formNameGeneral, 'relation_code'], obj.supplierCode);
72
- cy.GLO_checkLoadingIndicator();
73
- }
74
- };
75
- // Pricing tab
76
- const pricingTab = (obj) => {
77
- const formNamePricing = 'ng$logistic_contract_dtl_billing';
78
- cy.GLO_checkbox([formNamePricing, 'flag_def_waiting_hours_proof_required'], obj.flagDefWaitingHoursProofRequired);
79
- cy.GLO_addInput([formNamePricing, 'def_waiting_hours_threshold'], obj.defWaitingHoursThreshold);
80
- };
@@ -1,42 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- import { type objTclSettings } from './GLO_tclSetting.js';
3
- export type objLogisticContractDetail = {
4
- detailType?: string;
5
- from?: string | JQuery;
6
- to?: string | JQuery;
7
- fromCountry?: string;
8
- toCountry?: string;
9
- fromZone?: string;
10
- toZone?: string;
11
- fromAddressCode?: string;
12
- toAddressCode?: string;
13
- leadTime?: string;
14
- laneType?: string;
15
- truckLoad?: string;
16
- equipmentType?: string;
17
- preferreRequired?: string;
18
- transportMethod?: string;
19
- group1?: string;
20
- flagDirectInvoice?: CheckState;
21
- flagElectronicInvoice?: CheckState;
22
- flagPaperInvoice?: CheckState;
23
- priceBreakUnit?: string;
24
- logisticConnection?: string;
25
- leadTimePrefReq?: string;
26
- priceBreakOptimization?: string;
27
- priceRule?: string;
28
- fromAddressType?: string;
29
- toAddressType?: string;
30
- branch?: string;
31
- department?: string;
32
- planBloc?: string;
33
- businessUnit?: string;
34
- tcl?: CheckState;
35
- theftSensitive?: CheckState;
36
- flagLoadSecuringEquipment?: CheckState;
37
- tclSettings?: [objTclSettings];
38
- collectionSupplier?: string;
39
- equipmentCategory?: string;
40
- article?: string;
41
- };
42
- export declare const GLO_enterLogisticContractDetail: (obj: objLogisticContractDetail) => void;
@@ -1,122 +0,0 @@
1
- import { check, close, open } from '../tsHelper.js';
2
- import { GLO_enterTclSettings } from './GLO_tclSetting.js';
3
- const formName = 'ng$logistic_contract_detail_dtl';
4
- const formNameAddress = 'ng$logistic_contract_detail_dtl_address';
5
- const formNameBilling = 'ng$logistic_contract_detail_dtl_invoicing';
6
- const formNameOperational = 'ng$logistic_contract_detail_dtl_operational';
7
- const formNameLaneConditions = 'ng$logistic_contract_detail_dtl_lane_conditions';
8
- const formNamePricing = 'ng$logistic_contract_detail_dtl_billing';
9
- const tabs = 'tabs_70';
10
- export const GLO_enterLogisticContractDetail = (obj) => {
11
- cy.GLO_addInput([formName, 'logistic_contract_detail_type'], obj.detailType);
12
- cy.GLO_popupWindow([formName, 'local_logistic_conn_code'], obj.logisticConnection);
13
- cy.GLO_addInput([formName, 'price_rule_logistic_contract_detail_id'], obj.priceRule);
14
- cy.GLO_addInput([formName, 'sec_branch_id'], obj.branch);
15
- if (obj.branch)
16
- cy.GLO_checkLoadingIndicator();
17
- cy.GLO_addInput([formName, 'sec_department_id'], obj.department);
18
- if (obj.department)
19
- cy.GLO_checkLoadingIndicator();
20
- cy.GLO_addInput([formName, 'plan_bloc'], obj.planBloc);
21
- cy.GLO_addInput([formName, 'business_unit_id'], obj.businessUnit);
22
- if (obj.businessUnit)
23
- cy.GLO_checkLoadingIndicator();
24
- cy.GLO_checkbox([formName, 'flag_tcl_required'], obj.tcl);
25
- // Tab Address data
26
- GLO_enterLogisticContractDetailAddressData(obj);
27
- // Tab Address
28
- GLO_enterLogisticContractDetailAddresses(obj);
29
- // Tab billing
30
- GLO_enterLogisticContractDetailBilling(obj);
31
- // Tab Operational
32
- GLO_enterLogisticContractDetailOperational(obj);
33
- // Tab Pricing
34
- GLO_enterLogisticContractDetailPricing(obj);
35
- // Tab Lane conditions
36
- GLO_enterLogisticContractDetailLaneCondition(obj);
37
- // Tab TCL settings
38
- GLO_enterTclSettingsTab(obj);
39
- };
40
- const GLO_enterLogisticContractDetailAddresses = (obj) => {
41
- if (obj.fromZone || obj.toZone || obj.fromAddressType || obj.toAddressType) {
42
- cy.GLO_selectTab([formName, tabs], 'Address', open);
43
- if (obj.from === 'Country')
44
- cy.GLO_checkbox([formNameBilling, 'flag_direct_invoice'], check);
45
- if (obj.to === 'Country')
46
- cy.GLO_checkbox([formNameBilling, 'flag_direct_invoice'], check);
47
- cy.GLO_radioButton([formNameAddress, 'from_address_data_type'], obj.fromAddressType);
48
- cy.GLO_radioButton([formNameAddress, 'to_address_data_type'], obj.toAddressType);
49
- cy.GLO_addInput([formNameAddress, 'from_country_code'], obj.fromCountry);
50
- cy.GLO_addInput([formNameAddress, 'to_country_code'], obj.toCountry);
51
- cy.GLO_addInput([formNameAddress, 'from_zone_id'], obj.fromZone);
52
- cy.GLO_addInput([formNameAddress, 'to_zone_id'], obj.toZone);
53
- cy.GLO_addInput([formNameAddress, 'from_address'], obj.fromAddressCode);
54
- cy.GLO_addInput([formNameAddress, 'to_address'], obj.toAddressCode);
55
- cy.GLO_selectTab([formName, tabs], 'Address', close);
56
- }
57
- };
58
- const GLO_enterLogisticContractDetailAddressData = (obj) => {
59
- if (obj.from || obj.to) {
60
- cy.GLO_selectTab([formName, tabs], 'Address data', open);
61
- cy.GLO_radioListCData([formNameAddress, 'from_address_data_type'], obj.from);
62
- cy.GLO_radioListCData([formNameAddress, 'to_address_data_type'], obj.to);
63
- cy.GLO_addInput([formNameAddress, 'from_country_code'], obj.fromCountry);
64
- cy.GLO_addInput([formNameAddress, 'to_country_code'], obj.toCountry);
65
- cy.GLO_selectTab([formName, tabs], 'Address data', close);
66
- }
67
- };
68
- const GLO_enterLogisticContractDetailBilling = (obj) => {
69
- if (obj.flagDirectInvoice || obj.flagElectronicInvoice || obj.flagPaperInvoice) {
70
- cy.GLO_selectTab([formName, tabs], 'Billing', open);
71
- cy.GLO_checkbox([formNameBilling, 'flag_direct_invoice'], obj.flagDirectInvoice);
72
- cy.GLO_checkbox([formNameBilling, 'flag_paper_invoice'], obj.flagPaperInvoice);
73
- cy.GLO_checkbox([formNameBilling, 'flag_electronic_invoice'], obj.flagElectronicInvoice);
74
- cy.GLO_selectTab([formName, tabs], 'Billing', close);
75
- }
76
- };
77
- const GLO_enterLogisticContractDetailOperational = (obj) => {
78
- if (obj.leadTime || obj.leadTimePrefReq || obj.collectionSupplier || obj.flagLoadSecuringEquipment) {
79
- cy.GLO_selectTab([formName, tabs], 'Operational', open);
80
- cy.GLO_addInput([formNameOperational, 'leadtime_id'], obj.leadTime);
81
- cy.GLO_addInput([formNameOperational, 'lead_time_pref_req'], obj.leadTimePrefReq);
82
- cy.GLO_popupWindow([formNameOperational, 'collection_supplier_id'], obj.collectionSupplier);
83
- cy.GLO_checkbox([formNameOperational, 'flag_load_securing_equipment'], obj.flagLoadSecuringEquipment);
84
- cy.GLO_selectTab([formName, tabs], 'Operational', close);
85
- }
86
- };
87
- const GLO_enterLogisticContractDetailPricing = (obj) => {
88
- if (obj.group1 || obj.priceBreakUnit || obj.priceBreakOptimization) {
89
- cy.GLO_selectTab([formName, tabs], 'Pricing', open);
90
- cy.GLO_addInput([formNamePricing, 'pricing_group_1'], obj.group1);
91
- cy.GLO_addInput([formNamePricing, 'price_articleunit_id'], obj.priceBreakUnit);
92
- cy.GLO_addInput([formNamePricing, 'price_break_optimization'], obj.priceBreakOptimization);
93
- cy.GLO_selectTab([formName, tabs], 'Pricing', close);
94
- }
95
- };
96
- const GLO_enterLogisticContractDetailLaneCondition = (obj) => {
97
- if (obj.laneType || obj.truckLoad || obj.equipmentType || obj.preferreRequired || obj.transportMethod || obj.theftSensitive || obj.equipmentCategory || obj.article) {
98
- cy.GLO_selectTab([formName, tabs], 'Lane conditions', open);
99
- cy.GLO_addInput([formNameLaneConditions, 'lane_type'], obj.laneType);
100
- cy.GLO_addInput([formNameLaneConditions, 'truck_load'], obj.truckLoad);
101
- cy.GLO_addInput([formNameLaneConditions, 'equipment_type'], obj.equipmentType);
102
- cy.GLO_addInput([formNameLaneConditions, 'equipment_type_pref_req'], obj.preferreRequired);
103
- cy.GLO_addInput([formNameLaneConditions, 'transport_method'], obj.transportMethod);
104
- cy.GLO_checkbox([formNameLaneConditions, 'flag_theft_sensitive'], obj.theftSensitive);
105
- cy.GLO_addInput([formNameLaneConditions, 'equipment_category'], obj.equipmentCategory);
106
- cy.GLO_popupWindow([formNameLaneConditions, 'article'], obj.article);
107
- cy.GLO_selectTab([formName, tabs], 'Lane conditions', close);
108
- }
109
- };
110
- const GLO_enterTclSettingsTab = (obj) => {
111
- const formNameTclSettingTab = 'ng$logistic_contract_detail_dtl_tcl_settings';
112
- const formNameTclSettingDlg = 'ng$logistic_contract_detail_transport_method_tcl_dlg';
113
- if (obj.tclSettings) {
114
- cy.GLO_selectTab([formName, tabs], 'TCL settings', open);
115
- obj.tclSettings.forEach((tclSetting) => {
116
- cy.GLO_clickButton([formNameTclSettingTab, 'btn_add'], 'fa-plus');
117
- GLO_enterTclSettings(tclSetting);
118
- cy.GLO_clickButton([formNameTclSettingDlg, 'btn_ok']);
119
- });
120
- cy.GLO_selectTab([formName, tabs], 'TCL settings', close);
121
- }
122
- };
@@ -1,11 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- import { type objAddressPopup } from './GLO_addressPopup.js';
3
- export type objLogisticContractDetailHandling = {
4
- addressDataType?: 'Country' | 'Zones' | 'Postalcode range' | 'Single postalcode/town' | 'Single address' | 'Logistic location';
5
- countryCode?: string;
6
- singleAddress?: objAddressPopup;
7
- timeActivity?: string;
8
- flagCollection?: CheckState;
9
- flagDelivery?: CheckState;
10
- };
11
- export declare const GLO_enterLogisticContractDetailHandling: (obj: objLogisticContractDetailHandling) => void;
@@ -1,14 +0,0 @@
1
- import { GLO_enterAddressPopup } from './GLO_addressPopup.js';
2
- export const GLO_enterLogisticContractDetailHandling = (obj) => {
3
- const formName = 'ng$logistic_contract_detail_handling_dtl';
4
- const formNameAddress = 'ng$logistic_contract_detail_handling_dtl_address';
5
- cy.GLO_addInput([formName, 'time_activity_id'], obj.timeActivity);
6
- cy.GLO_checkbox([formNameAddress, 'flag_collection'], obj.flagCollection);
7
- cy.GLO_checkbox([formNameAddress, 'flag_delivery'], obj.flagDelivery);
8
- cy.GLO_radioListCData([formNameAddress, 'address_data_type'], obj.addressDataType);
9
- cy.GLO_addInput([formNameAddress, 'country_code'], obj.countryCode);
10
- if (obj.singleAddress) {
11
- cy.GLO_clickButton([formNameAddress, 'address_id'], 'fa-search-plus');
12
- GLO_enterAddressPopup(obj.singleAddress);
13
- }
14
- };
@@ -1,5 +0,0 @@
1
- export type objLogisticContractDetailItem = {
2
- logisticContractItemCode?: string;
3
- invoiceRelation?: string;
4
- };
5
- export declare const GLO_enterLogisticContractDetailItem: (obj: objLogisticContractDetailItem) => void;
@@ -1,8 +0,0 @@
1
- export const GLO_enterLogisticContractDetailItem = (obj) => {
2
- const formName = 'ng$logistic_contract_detail_item_dtl';
3
- cy.GLO_popupWindow([formName, 'logistic_contract_item_id'], obj.logisticContractItemCode);
4
- cy.GLO_addInput([formName, 'invoice_relation_id'], obj.invoiceRelation);
5
- if (obj.invoiceRelation) {
6
- cy.GLO_checkLoadingIndicator();
7
- }
8
- };
@@ -1,14 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objLogisticContractItem = {
3
- articleCode?: string;
4
- branch?: string;
5
- department?: string;
6
- businessUnit?: string;
7
- flagProformaInvoice?: CheckState;
8
- priceRule?: string;
9
- invoiceRelation?: string;
10
- priceLogisticContract?: string;
11
- indexLogisticContract?: string;
12
- invoiceLogisticContractItem?: string;
13
- };
14
- export declare const GLO_enterLogisticContractItem: (obj: objLogisticContractItem) => void;
@@ -1,40 +0,0 @@
1
- import { open } from '../tsHelper.js';
2
- export const GLO_enterLogisticContractItem = (obj) => {
3
- const formName = 'ng$logistic_contract_item_dtl';
4
- const generalFormName = 'ng$logistic_contract_item_dtl_general';
5
- cy.GLO_addInput([formName, 'article_code'], obj.articleCode);
6
- if (obj.articleCode)
7
- cy.GLO_checkLoadingIndicator();
8
- cy.GLO_addInput([formName, 'sec_branch_id'], obj.branch);
9
- if (obj.branch)
10
- cy.GLO_checkLoadingIndicator();
11
- cy.GLO_addInput([formName, 'sec_department_id'], obj.department);
12
- if (obj.department)
13
- cy.GLO_checkLoadingIndicator();
14
- cy.GLO_addInput([formName, 'business_unit_id'], obj.businessUnit);
15
- if (obj.businessUnit)
16
- cy.GLO_checkLoadingIndicator();
17
- cy.GLO_addInput([formName, 'price_rule_id'], obj.priceRule);
18
- cy.GLO_addInput([formName, 'price_logistic_contract_id'], obj.priceLogisticContract);
19
- if (obj.priceLogisticContract)
20
- cy.GLO_checkLoadingIndicator();
21
- cy.GLO_addInput([formName, 'index_logistic_contract_id'], obj.indexLogisticContract);
22
- if (obj.indexLogisticContract)
23
- cy.GLO_checkLoadingIndicator();
24
- // General tab - invoice relation and invoice logistic contract reference
25
- if (obj.invoiceRelation || obj.invoiceLogisticContractItem) {
26
- cy.GLO_selectTab([formName, 'tabs_70'], 'General', open);
27
- cy.GLO_addInput([generalFormName, 'invoice_relation_code'], obj.invoiceRelation);
28
- if (obj.invoiceRelation) {
29
- cy.GLO_checkLoadingIndicator();
30
- }
31
- cy.GLO_addInput([generalFormName, 'invoice_logistic_contract_item_id'], obj.invoiceLogisticContractItem);
32
- if (obj.invoiceLogisticContractItem) {
33
- cy.GLO_checkLoadingIndicator();
34
- }
35
- }
36
- if (obj.flagProformaInvoice) {
37
- cy.GLO_selectTab([formName, 'tabs_70'], 'Billing', open);
38
- cy.GLO_checkbox(['ng$logistic_contract_item_dtl_invoicing', 'flag_proforma_invoice'], obj.flagProformaInvoice);
39
- }
40
- };
@@ -1,4 +0,0 @@
1
- export type objLogisticContractItemActivity = {
2
- activityCode?: string;
3
- };
4
- export declare const GLO_enterLogisticContractItemActivity: (obj: objLogisticContractItemActivity) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterLogisticContractItemActivity = (obj) => {
2
- const formName = 'ng$logistic_contract_item_activity_dtl';
3
- cy.GLO_addInput([formName, 'time_activity_code'], obj.activityCode);
4
- };
@@ -1,7 +0,0 @@
1
- export type objLogisticContractItemSurcharge = {
2
- articleCode?: string;
3
- priceType?: string;
4
- surchargeBase?: string;
5
- value?: number;
6
- };
7
- export declare const GLO_enterLogisticContractItemSurcharge: (obj: objLogisticContractItemSurcharge) => void;
@@ -1,7 +0,0 @@
1
- export const GLO_enterLogisticContractItemSurcharge = (obj) => {
2
- const formName = 'ng$logistic_contract_item_surcharge_dtl';
3
- cy.GLO_addInput([formName, 'article_code'], obj.articleCode);
4
- cy.GLO_addInput([formName, 'price_type'], obj.priceType);
5
- cy.GLO_addInput([formName, 'index_base_value'], obj.surchargeBase);
6
- cy.GLO_addInput([formName, 'value'], obj.value);
7
- };